import type { Role } from "@/lib/auth/roles";
import { navigationFuer, PROFIL_ZIEL, type NavZiel } from "@/lib/navigation";
import { AktiverLink } from "@/components/navigation/AktiverLink";
import { VerwaltungMenue } from "@/components/navigation/VerwaltungMenue";
const LINK =
"flex min-h-11 items-center text-asphalt-grey hover:text-performance-blue focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-performance-blue";
const AKTIV = "font-semibold text-performance-blue";
function Links({ ziele }: { ziele: NavZiel[] }) {
return ziele.map((ziel) => (
{ziel.label}
));
}
export function NavLinks({
role,
orientation = "vertical",
}: {
role: Role;
orientation?: "vertical" | "horizontal";
}) {
const { haupt, verwaltung } = navigationFuer(role);
if (orientation === "horizontal") {
return (
);
}
return (
);
}