This commit is contained in:
2025-12-25 23:58:53 +01:00
parent fb793e0cb6
commit 6888cd107a
9 changed files with 277 additions and 19 deletions

View File

@@ -12,33 +12,33 @@ $isLoggedIn = isset($_SESSION['user_id']);
</div>
</div>
<nav class="nav-links" aria-label="Hauptmenü">
<a href="#events">Events</a>
<a href="#profil">Profil</a>
<a href="#sicherheit">Sicherheit</a>
<a href="#faq">FAQ</a>
<a href="/">Start</a>
<a href="/#events">Events</a>
<a href="/#profil">Profil</a>
<a href="/#faq">FAQ</a>
</nav>
<div class="nav-actions">
<?php if ($isLoggedIn): ?>
<button class="btn ghost" type="button">Dashboard</button>
<button class="btn" type="button">Neues Event</button>
<a class="btn ghost" href="/dashboard">Dashboard</a>
<a class="btn" href="/dashboard#events">Neues Event</a>
<?php else: ?>
<button class="btn ghost" type="button">Anmelden</button>
<button class="btn" type="button">Kostenlos registrieren</button>
<a class="btn ghost" href="/login">Anmelden</a>
<a class="btn" href="/register">Kostenlos registrieren</a>
<?php endif; ?>
<button class="menu-toggle" aria-label="Menü öffnen">☰</button>
</div>
</div>
<div class="mobile-menu" id="mobileMenu">
<a href="#events">Events</a>
<a href="#profil">Profil</a>
<a href="#sicherheit">Sicherheit</a>
<a href="#faq">FAQ</a>
<a href="/">Start</a>
<a href="/#events">Events</a>
<a href="/#profil">Profil</a>
<a href="/#faq">FAQ</a>
<?php if ($isLoggedIn): ?>
<button class="btn ghost" type="button">Dashboard</button>
<button class="btn block" type="button">Neues Event</button>
<a class="btn ghost" href="/dashboard">Dashboard</a>
<a class="btn block" href="/dashboard#events">Neues Event</a>
<?php else: ?>
<button class="btn ghost" type="button">Anmelden</button>
<button class="btn block" type="button">Kostenlos registrieren</button>
<a class="btn ghost" href="/login">Anmelden</a>
<a class="btn block" href="/register">Kostenlos registrieren</a>
<?php endif; ?>
</div>
</header>