16 lines
700 B
TypeScript
16 lines
700 B
TypeScript
import NavItem from "./NavItem";
|
|
|
|
export default function Header() {
|
|
return (
|
|
<header className="fixed top-0 left-0 w-full min-w-80 z-50 p-3 sm:p-4 flex flex-wrap gap-2 justify-between items-center backdrop-blur-md border-b-2 border-slate-500">
|
|
<div className="font-bold text-xl">PsalmTafel</div>
|
|
<nav className="flex flex-wrap gap-1 sm:gap-4 border-2 rounded-full text-sm">
|
|
<NavItem path="/dashboard">Dashboard</NavItem>
|
|
<NavItem path="/sender">Sender</NavItem>
|
|
<NavItem path="/receiver">Empfänger</NavItem>
|
|
<NavItem path="/admin">Verwaltung</NavItem>
|
|
</nav>
|
|
</header>
|
|
);
|
|
}
|