2024-09-21 01:05:40 +08:00
|
|
|
import Nav from "@/components/window/Nav"
|
|
|
|
|
|
2024-11-11 10:04:00 +08:00
|
|
|
export default function BaseLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: { children: React.ReactNode }) {
|
2024-09-21 01:05:40 +08:00
|
|
|
return (
|
2024-09-27 11:20:48 +08:00
|
|
|
<div className="w-full h-full">
|
2024-09-21 01:05:40 +08:00
|
|
|
<Nav />
|
|
|
|
|
|
|
|
|
|
<div className="flex flex-col w-full h-full">
|
|
|
|
|
<main
|
2024-09-27 11:20:48 +08:00
|
|
|
className="flex flex-col items-center justify-center w-full h-screen gap-6 p-6"
|
2024-09-21 01:05:40 +08:00
|
|
|
data-tauri-drag-region
|
|
|
|
|
>
|
|
|
|
|
{children}
|
|
|
|
|
</main>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|