About page for tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Outlet, createRootRoute } from "@tanstack/react-router"
|
||||
import { Link, Outlet, createRootRoute } from "@tanstack/react-router"
|
||||
import { Suspense, lazy } from "react"
|
||||
|
||||
|
||||
@@ -12,6 +12,16 @@ const TanStackRouterDevtools = process.env.NODE_ENV === "production"
|
||||
export function Root() {
|
||||
return <>
|
||||
<div className="container mx-auto mt-8">
|
||||
<div className="flex flex-row gap-2 justify-center content-center">
|
||||
<Link to="/">
|
||||
Home
|
||||
</Link>
|
||||
|
||||
<Link to="/about">
|
||||
About
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<Outlet />
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user