aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/(main)/layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/(main)/layout.tsx')
-rw-r--r--src/app/(main)/layout.tsx12
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>
+ );
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage