update: setup layouts and basic ui

This commit is contained in:
purp1e
2024-09-20 23:15:42 +08:00
parent d092be3370
commit 09707cd5f6
29 changed files with 433 additions and 60 deletions

25
src/app/(main)/layout.tsx Normal file
View File

@@ -0,0 +1,25 @@
import Header from "@/components/window/Header";
import Nav from "@/components/window/Nav";
import SideBar from "@/components/window/SideBar";
export default function BaseLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<div className="bg-[#f1f0f2] h-screen w-full">
<Nav />
<div className="flex flex-col w-full h-full">
<SideBar />
<main className="pb-5 pr-5 ml-20">
<Header />
{children}
</main>
</div>
</div>
);
}