Something went wrong. Try again.
an appview-less Bluesky client using Constellation and PDS Queries - https://reddwarf.app/ forked from whey.party/red-dwarf
Something went wrong. Try again.
712 B · 34 lines
TSX
1234567891011121314151617181920212223242526272829303132333435import { Link, Outlet, createFileRoute } from "@tanstack/react-router";
export const Route = createFileRoute("/_pathlessLayout/_nested-layout")({ component: LayoutComponent,});
function LayoutComponent() { return ( <div> <div>I'm a nested layout</div> <div className="flex gap-2 border-b"> <Link to="/route-a" activeProps={{ className: "font-bold", }} > Go to route A </Link> <Link to="/route-b" activeProps={{ className: "font-bold", }} > Go to route B </Link> </div> <div> <Outlet /> </div> </div> );}