feat: kamp page

This commit is contained in:
2026-04-01 14:18:07 +02:00
parent 56942275b8
commit 7b3d5461ef
5 changed files with 632 additions and 329 deletions

View File

@@ -8,7 +8,10 @@ import { Header } from "./Header";
export function SiteHeader() {
const { data: session } = authClient.useSession();
const routerState = useRouterState();
const isHomepage = routerState.location.pathname === "/";
const pathname = routerState.location.pathname;
const isHomepage = pathname === "/";
if (pathname === "/kamp") return null;
const [isVisible, setIsVisible] = useState(false);