Commit Graph

23 Commits

Author SHA1 Message Date
Peter 97e5d202bb Renamed and added Bans nav links 2025-04-11 21:25:18 +02:00
Teriuihi 21496baab5 Remove AppModule and enhance Team and Header components
Deleted unused `AppModule` to streamline the project structure. Enhanced the `TeamComponent` by integrating team member data from the API and updating its template. Improved the `HeaderComponent` by adding `priority` to the logo image for better performance.
2025-04-08 22:23:37 +02:00
Teriuihi c2c81de9d0 Convert components to standalone and implement route-based loading
Refactored Angular components to standalone modules, enhancing modularity and reducing dependency on `AppModule`. Updated routes to facilitate lazy loading for improved performance and maintainability. Replaced `platformBrowserDynamic` with `bootstrapApplication` for modern bootstrapping.
2025-04-08 21:45:44 +02:00
Teriuihi ab3abe7f6b Refactor background-position logic in header component 2025-04-06 20:50:49 +02:00
Peter b1f2a89a2e Added voting page & header styling fix
Implemented VoteComponent to allow users to vote for the server on multiple platforms. Updated routes, styles, and headers for consistency.
2025-04-06 20:45:43 +02:00
Peter 85c73c22c8 Update "Contact Us" link to use routerLink
Replaced the external Typeform link with an internal [routerLink] to route to the "/contact" page. This ensures consistency and improves navigation within the application.
2025-04-06 14:38:40 +02:00
Teriuihi 1af614323e Fix header background position logic on scroll
Updated the header's background position calculation to use string concatenation for `inverseYPos` and introduced dynamic adjustment of `inverseYPos` on scroll. This ensures smoother and more accurate background position updates.
2025-04-05 23:18:37 +02:00
Peter 04c5a3e846 Stuff for index background scroll 2025-04-05 23:11: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 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
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 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 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
Teriuihi 0063e1012b Not fully styled/finished version of header and home page + all images 2025-04-02 22:52:15 +02:00