Anmelden ein Header entfernt
This commit is contained in:
@@ -78,21 +78,12 @@ function Header() {
|
||||
</button>
|
||||
</div>
|
||||
<div className="flex items-center justify-end w-full space-x-2">
|
||||
{!isAdminLoggedIn ? (
|
||||
<button
|
||||
onClick={handleLogin}
|
||||
className="bg-littwin-blue text-white px-4 py-2 rounded"
|
||||
>
|
||||
Anmelden
|
||||
</button>
|
||||
) : (
|
||||
<button
|
||||
onClick={handleLogout}
|
||||
className="bg-littwin-blue text-white px-4 py-2 rounded"
|
||||
>
|
||||
Abmelden
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
onClick={handleLogout}
|
||||
className="bg-littwin-blue text-white px-4 py-2 rounded"
|
||||
>
|
||||
Abmelden
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user