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.
This commit is contained in:
2025-04-05 21:22:59 +02:00
parent 44a7a2140e
commit de989ad5a0
11 changed files with 408 additions and 8 deletions
@@ -1,5 +1,5 @@
<ng-container>
<header id="top" [ngStyle]="{ 'background-image': 'url(' + background_image + ')'}">
<header id="top" [ngStyle]="{ 'background-image': 'url(' + background_image + ')', 'height': height }">
<nav id="nav" [ngClass]="active">
<div class="container">
<div id="mobile_nav">
@@ -9,6 +9,7 @@ import {Component, HostListener, Input} from '@angular/core';
export class HeaderComponent {
@Input() current_page: string = '';
@Input() background_image: string = '';
@Input() height: string = '';
public active: string = '';