Update template
This commit is contained in:
parent
6116f21a96
commit
b19cd750a3
7 changed files with 2475 additions and 563 deletions
|
|
@ -9,20 +9,20 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@methanium/template-mtp": "workspace:*",
|
||||
"@methanium/ui": "*",
|
||||
"@tanstack/react-router": "^1.131.35",
|
||||
"lucide-react": "^1.21.0",
|
||||
"mtp": "*",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0"
|
||||
"@methanium/ui": "https://git.methanium.net/methanium/ui/releases/download/0.0.28/methanium-ui.tgz",
|
||||
"@tanstack/react-router": "^1.170.25",
|
||||
"lucide-react": "^1.31.0",
|
||||
"mtp": "https://git.methanium.net/methanium/mtp/releases/download/0.2.0-dev-a692bed/mtp-0.2.0.tgz",
|
||||
"react": "^19.2.8",
|
||||
"react-dom": "^19.2.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.1",
|
||||
"@tanstack/router-plugin": "^1.131.35",
|
||||
"@types/react": "^19.2.0",
|
||||
"@types/react-dom": "^19.2.0",
|
||||
"@vitejs/plugin-react": "^5.0.4",
|
||||
"tailwindcss": "^4.3.1",
|
||||
"vite": "^8.0.0"
|
||||
"@tailwindcss/vite": "^4.3.3",
|
||||
"@tanstack/router-plugin": "^1.168.29",
|
||||
"@types/react": "^19.2.18",
|
||||
"@types/react-dom": "^19.2.4",
|
||||
"@vitejs/plugin-react": "^6.0.5",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"vite": "^8.2.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,15 @@ export const Route = createRootRoute({
|
|||
<div className="min-h-screen bg-background text-foreground">
|
||||
<Header />
|
||||
<Outlet />
|
||||
<div className="fixed bottom-0 left-0 m-3">
|
||||
<a
|
||||
href="https://legal.methanium.net/methanium/privacy-policy"
|
||||
target="_blank"
|
||||
className="hover:underline"
|
||||
>
|
||||
Privacy Policy
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
notFoundComponent: EmptyPage,
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@ import { createFileRoute } from "@tanstack/react-router";
|
|||
export const Route = createFileRoute("/")({ component: Home });
|
||||
|
||||
function Home() {
|
||||
return <main className="min-h-[calc(100vh-3rem)] bg-background" />;
|
||||
return <main className="min-h-[calc(100vh-3rem)] bg-background">Page</main>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue