add: preparation page setup

This commit is contained in:
purp1e
2024-09-21 01:05:40 +08:00
parent cb5a934fc7
commit d00c90b0f6
6 changed files with 60 additions and 29 deletions

View File

@@ -0,0 +1,18 @@
import Nav from "@/components/window/Nav"
export default function BaseLayout({ children }: { children: React.ReactNode }) {
return (
<div className="bg-[#f1f0f2] h-full w-full">
<Nav />
<div className="flex flex-col w-full h-full">
<main
className="bg-[#f1f0f2] h-screen w-full flex flex-col gap-6 p-6 items-center justify-center"
data-tauri-drag-region
>
{children}
</main>
</div>
</div>
)
}