diff options
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> + ); +} |
