Commit Graph

18 Commits

Author SHA1 Message Date
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
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 1a6e489f9a Improved UI styles and updated community section content
Added styling updates to map title and container padding for better visual consistency. Updated the community section text to acknowledge player contributions and invite suggestions for featured builds.
2025-04-06 09:19:06 +02:00
Teriuihi 849f09d10a Update carousel to include opacity animation
Refactored slide navigation to integrate smooth fade animations using opacity changes. Introduced `carouselOpacity` and `triggerAnimation` to manage animation state, and replaced direct slide index changes with the `setSlide` method for improved modularity. Updated HTML and SCSS to support the new animation behavior.
2025-04-06 00:03:35 +02:00
Teriuihi 6f3445dc01 Move <app-footer> to the root app component
The <app-footer> component is now included only in app.component.html to avoid duplication across pages. This simplifies maintenance and ensures consistent behavior throughout the application.
2025-04-05 23:19:50 +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
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 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 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