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