diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-02 12:02:22 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-02 12:02:22 -0700 |
| commit | 4b1c9d1669eb30a093742f7b5319e66a13428271 (patch) | |
| tree | d847e0850ae440aaaf547904bc8395e5bb47ff1d /src/app/(main)/layout.tsx | |
| parent | f9f1a4a5377d99db30ae6e4507cb0af970f003ef (diff) | |
Diffstat (limited to 'src/app/(main)/layout.tsx')
| -rw-r--r-- | src/app/(main)/layout.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx new file mode 100644 index 0000000..df1036f --- /dev/null +++ b/src/app/(main)/layout.tsx @@ -0,0 +1,12 @@ +import { Sidebar } from "../components/sidebar"; + +export default function MainLayout({ children }: { children: React.ReactNode }) { + return ( + <div style={{ display: "flex", height: "100vh", backgroundColor: "#0b0b10" }}> + <Sidebar /> + <div style={{ flex: 1, minWidth: 0, overflowY: "auto" }}> + {children} + </div> + </div> + ); +} |
