Commit Graph

130 Commits

Author SHA1 Message Date
Peter 04c5a3e846 Stuff for index background scroll 2025-04-05 23:11:44 +02:00
Peter 4f2118a83a Finished the footer 2025-04-05 23:05:45 +02:00
Teriuihi e158c30bf1 Standardize hex color codes in map component HTML
Updated hex color codes to use uppercase letters for consistency. This change improves code readability and adheres to common hex formatting practices.
2025-04-05 23:03:44 +02:00
Teriuihi 18cc111b26 Adjust overlay_gradient to accept numeric transparency values.
Replaced the boolean `overlay_gradient` property with a numeric input to allow for more granular control over the overlay transparency. Updated both the map component and the header logic to handle this change dynamically.
2025-04-05 23:01:27 +02:00
Teriuihi a2f1a079cf Enhance header and map components with new features
Refactor header background styling to use a method supporting optional gradient overlays. Update map component to include detailed server map links and adjust styling for better layout and clarity.
2025-04-05 23:00:03 +02:00
Teriuihi 9761923190 Add getCurrentYear method to FooterComponent
This method retrieves the current year dynamically. It can be used to ensure the footer displays up-to-date information without manual updates.
2025-04-05 22:31:32 +02:00
Peter 46c755040d Added FooterComponent and updated various UI elements
Introduced a new FooterComponent and integrated it into the application. Adjusted home page layout and refined styles for better consistency, including minor restructuring of CSS rules and HTML elements.
2025-04-05 22:24:38 +02:00
Teriuihi 297bd473a6 Refactor IP copy functionality into a reusable component
Extracted the "Copy IP" button to a new `CopyIpComponent` to improve reusability and modularity. Updated `HomeComponent` to use this new component and removed redundant methods for copying text to the clipboard. Added tests and styles for the new component.
2025-04-05 22:07:53 +02:00
Teriuihi dee84cc1a9 Refactor scrolling and enhance UI accessibility.
Replaced inline JavaScript for scrolling and copy functionality with Angular methods. Introduced `ScrollService` for smooth scroll-to-top functionality and added associated styles. Removed unused `isHomePage` method and cleaned up components for better maintainability.
2025-04-05 21:50:54 +02:00
Teriuihi c628f1e05b Refactor randomize slide images on init 2025-04-05 21:30:55 +02:00
Teriuihi de989ad5a0 Add rules page and enhance home slider functionality
Introduced a new "Rules" component with its routing, templates, and styles, outlining server rules. Enhanced the home slider with navigation dots, updated click events, and improved styling for active/inactive indicators. Also modified the header component to support dynamic height styling.
2025-04-05 21:22:59 +02:00
Peter 44a7a2140e Added darkmode styles and optimized class structure
Introduced dark mode styling across sections and improved CSS for better readability and maintainability. Replaced generic class names with more descriptive ones and reorganized structure for consistency. Adjusted responsive design to ensure better display on various screen sizes.
2025-04-05 21:10:36 +02:00
Teriuihi 42dd1a184c Refactor header structure
Reorganized header component to use content projection for titles and simplified input properties.
2025-04-05 20:02:51 +02:00
Teriuihi 5aec42320a Add background image support to header components
Updated header components to accept and render background images via a new `[background_image]` input property. Modified relevant templates to apply the background image dynamically and updated usage in `home` and `map` components.
2025-04-05 18:52:29 +02:00
Peter 8d0da93c99 Added map page. Fixed navbar coloring when on a page. 2025-04-05 18:32:55 +02:00
Teriuihi a5ef610a09 Add instructions for creating a new Angular component
Expanded setup guidelines with steps to generate a new component in Angular. Detailed instructions include modifications to the component, app module, and routes for proper integration.
2025-04-05 18:29:42 +02:00
Teriuihi a993c1cc3e Standardize coding style and formatting across the project
Updated codebase to follow consistent styling for spacing, braces, and indentation. Changes improve readability and align with standardized conventions throughout SCSS, TypeScript, and HTML files.
2025-04-05 18:19:10 +02:00
Peter 5bf9c725f4 Fixed darkmode working in the navbar 2025-04-05 18:17:57 +02:00
Teriuihi 50d28e62d9 Update header image styles and comment out width property
The `width` property for `#header-img` was commented out due to layout issues impacting the logo display.
2025-04-05 03:45:50 +02:00
Peter ba258fbf30 Fixed anchorpoint, tiny-ing and centering of navbar 2025-04-05 00:55:37 +02:00
Peter ca96b36246 Fixed anchorpoint and tiny-ing of navbar 2025-04-05 00:20:07 +02:00
Teriuihi 8b76a729b8 Add Angular-based carousel and improve clipboard functionality
Replaced JavaScript-powered carousel and clipboard copying with Angular implementations for better integration and code maintainability. Introduced slide navigation and display using Angular bindings and streamlined the "Copy IP" functionality to utilize the new Angular method.
2025-04-04 22:29:42 +02:00
Teriuihi 5ac5b139c8 Remove redundant home page container
Simplified the HTML structure by removing the unnecessary conditional wrapper for the home page component. The home page rendering logic is now handled directly by the router outlet.
2025-04-04 21:55:09 +02:00
Teriuihi 5737de3cfc Remove unused OnInit lifecycle and theme toggle logic from incorrect component
Removed the duplicate OnInit lifecycle and associated theme toggling methods from the HeaderComponent.
2025-04-04 20:31:20 +02:00
Teriuihi dbfe5b38ab Add theme switcher component with dark and light mode support
Extracted theme toggle functionality into a new `app-theme` component to improve modularity and reusability. Integrated theme settings with a service using cookies for persistence and introduced the `THEME_MODE` enum. Updated header component to utilize the new theme switcher and removed inline implementation.
2025-04-03 22:21:21 +02:00
Teriuihi e3c9fa2165 Refactor homepage and header components.
Moved header content logic based on `current_page` input for reusability. Updated styling and layout structure to improve maintainability and accommodate dynamic titles and subtitles.
2025-04-03 21:37:48 +02:00
Peter 1d0f1d3896 Removed comment in scss and fixed 0px 2025-04-03 21:35:32 +02:00
Teriuihi 0063e1012b Not fully styled/finished version of header and home page + all images 2025-04-02 22:52:15 +02:00
Teriuihi 6ff99ffb5f Remove SSR support and associated server-side code.
This change eliminates Angular server-side rendering (SSR) features, including related files, dependencies, and configurations, simplifying the codebase. The update also adjusts routing and references to support client-side rendering exclusively.
2025-04-02 19:48:07 +02:00
Teriuihi eb1cb1076d Initial setup 2025-04-02 19:18:39 +02:00