update
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user