import { createFileRoute, Link, Outlet } from "@tanstack/react-router"; import { getDocs } from "~/docs"; import "~/styles.css"; export const Route = createFileRoute("/docs")({ component: DocsLayout, }); const ACTIVE_OPTIONS_EXACT = { exact: true }; const MOBILE_ACTIVE_PROPS = { className: "text-foreground" }; const DESKTOP_ACTIVE_PROPS = { className: "bg-muted text-foreground" }; function DocsLayout() { const navigation = getDocs().map((doc) => ({ name: doc.frontmatter.nav, href: doc.href, })); return (
{/* Mobile header */}
Paseo Paseo
{/* Desktop sidebar */}
); }