Initial commit

This commit is contained in:
kevisual
2026-02-05 19:09:51 +08:00
commit 300da513c1
26 changed files with 4259 additions and 0 deletions

27
src/routes/__root.tsx Normal file
View File

@@ -0,0 +1,27 @@
import { Link, Outlet, createRootRoute } from '@tanstack/react-router'
import { TanStackRouterDevtools } from '@tanstack/react-router-devtools'
export const Route = createRootRoute({
component: RootComponent,
})
function RootComponent() {
return (
<>
<div className="p-2 flex gap-2 text-lg">
<Link
to="/"
activeProps={{
className: 'font-bold',
}}
activeOptions={{ exact: true }}
>
Home
</Link>
</div>
<hr />
<Outlet />
<TanStackRouterDevtools position="bottom-right" />
</>
)
}