Fehler Hamburger Menu, Backend requests

This commit is contained in:
2025-12-08 00:55:01 +01:00
parent 30ecc292cd
commit 0ac17ef155
9 changed files with 87 additions and 19 deletions

View File

@@ -1,6 +1,13 @@
<div class="container mx-auto px-4 py-8 max-w-4xl">
<div class="bg-white rounded-lg drop-shadow-custom-bg p-6 md:p-8">
<h1 class="text-3xl font-bold text-neutral-900 mb-6">Privacy Statement</h1>
<div class="bg-white rounded-lg drop-shadow-custom-bg p-6 md:p-8 relative">
<button
(click)="goBack()"
class="absolute top-4 right-4 md:top-6 md:right-6 w-10 h-10 flex items-center justify-center rounded-full bg-red-600 hover:bg-red-700 text-white transition-colors duration-200"
aria-label="Go back"
>
<i class="fas fa-arrow-left text-lg"></i>
</button>
<h1 class="text-3xl font-bold text-neutral-900 mb-6 pr-14">Privacy Statement</h1>
<section id="content" role="main">
<article class="post page">

View File

@@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CommonModule, Location } from '@angular/common';
import { SeoService } from '../../services/seo.service';
@Component({
@@ -10,7 +10,10 @@ import { SeoService } from '../../services/seo.service';
styleUrls: ['./privacy-statement.component.scss']
})
export class PrivacyStatementComponent implements OnInit {
constructor(private seoService: SeoService) {}
constructor(
private seoService: SeoService,
private location: Location
) {}
ngOnInit(): void {
// Set SEO meta tags for Privacy Statement page
@@ -20,4 +23,8 @@ export class PrivacyStatementComponent implements OnInit {
type: 'website'
});
}
goBack(): void {
this.location.back();
}
}

View File

@@ -1,6 +1,13 @@
<div class="container mx-auto px-4 py-8 max-w-4xl">
<div class="bg-white rounded-lg drop-shadow-custom-bg p-6 md:p-8">
<h1 class="text-3xl font-bold text-neutral-900 mb-6">Terms of Use</h1>
<div class="bg-white rounded-lg drop-shadow-custom-bg p-6 md:p-8 relative">
<button
(click)="goBack()"
class="absolute top-4 right-4 md:top-6 md:right-6 w-10 h-10 flex items-center justify-center rounded-full bg-red-600 hover:bg-red-700 text-white transition-colors duration-200"
aria-label="Go back"
>
<i class="fas fa-arrow-left text-lg"></i>
</button>
<h1 class="text-3xl font-bold text-neutral-900 mb-6 pr-14">Terms of Use</h1>
<section id="content" role="main">
<article class="post page">

View File

@@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CommonModule, Location } from '@angular/common';
import { SeoService } from '../../services/seo.service';
@Component({
@@ -10,7 +10,10 @@ import { SeoService } from '../../services/seo.service';
styleUrls: ['./terms-of-use.component.scss']
})
export class TermsOfUseComponent implements OnInit {
constructor(private seoService: SeoService) {}
constructor(
private seoService: SeoService,
private location: Location
) {}
ngOnInit(): void {
// Set SEO meta tags for Terms of Use page
@@ -20,4 +23,8 @@ export class TermsOfUseComponent implements OnInit {
type: 'website'
});
}
goBack(): void {
this.location.back();
}
}