09-22-2025 (#7)
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
22
packages/webapp/src/routes/__root.tsx
Normal file
22
packages/webapp/src/routes/__root.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import { Card, CardContent } from "@/components/ui/card"
|
||||
import { Outlet, createRootRoute } from "@tanstack/react-router"
|
||||
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools"
|
||||
|
||||
|
||||
export const Route = createRootRoute({
|
||||
component: RootComponent,
|
||||
})
|
||||
|
||||
function RootComponent() {
|
||||
return <>
|
||||
<div className="text-foreground mx-auto w-[750px] max-w-full px-5 pt-28 pb-10">
|
||||
<Card>
|
||||
<CardContent>
|
||||
<Outlet />
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
<TanStackRouterDevtools />
|
||||
</>
|
||||
}
|
||||
Reference in New Issue
Block a user