feat: add basic layout (#3)

Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #3
This commit is contained in:
2025-10-27 23:48:33 +08:00
parent f4383d195f
commit 0c54293312
15 changed files with 1775 additions and 3 deletions

14
src/layout.tsx Normal file
View File

@@ -0,0 +1,14 @@
import { SidebarProvider, SidebarTrigger } from "@/components/ui/sidebar"
import { Sidebar } from "@/components/ui/sidebar"
import type { FC } from "react"
import { Outlet } from "react-router-dom";
export const Layout: FC = () => (
<SidebarProvider>
<Sidebar />
<main>
<SidebarTrigger />
<Outlet />
</main>
</SidebarProvider>
);