feat: add desktop2

This commit is contained in:
2024-02-11 09:30:18 +07:00
parent 35c5b5fb78
commit c809ab6b4e
18 changed files with 697 additions and 2927 deletions

View File

@@ -0,0 +1,16 @@
import {
Outlet,
ScrollRestoration,
createRootRoute,
} from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
export const Route = createRootRoute({
component: () => (
<>
<ScrollRestoration />
<Outlet />
<TanStackRouterDevtools />
</>
),
});

View File

@@ -0,0 +1,13 @@
import { createLazyFileRoute } from "@tanstack/react-router";
export const Route = createLazyFileRoute("/")({
component: Index,
});
function Index() {
return (
<div className="p-2">
<h3>Welcome Home!</h3>
</div>
);
}