28 lines
752 B
TypeScript
28 lines
752 B
TypeScript
import { createRootRoute, Link, Outlet } from "@tanstack/react-router";
|
|
|
|
export const Route = createRootRoute({
|
|
component: () => (
|
|
<div className="flex min-h-screen flex-col bg-background text-foreground">
|
|
<main className="mx-auto w-full max-w-2xl flex-1 px-4 py-6">
|
|
<Outlet />
|
|
</main>
|
|
<nav className="border-t bg-background">
|
|
<div className="mx-auto flex max-w-2xl">
|
|
<Link
|
|
to="/prozess"
|
|
className="flex-1 py-3 text-center text-sm [&.active]:font-bold [&.active]:text-primary"
|
|
>
|
|
Fortschritt
|
|
</Link>
|
|
<Link
|
|
to="/kontakte"
|
|
className="flex-1 py-3 text-center text-sm [&.active]:font-bold [&.active]:text-primary"
|
|
>
|
|
Kontakte
|
|
</Link>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
),
|
|
});
|