aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/(main)/layout.tsx
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-02 12:02:22 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-02 12:02:22 -0700
commit4b1c9d1669eb30a093742f7b5319e66a13428271 (patch)
treed847e0850ae440aaaf547904bc8395e5bb47ff1d /src/app/(main)/layout.tsx
parentf9f1a4a5377d99db30ae6e4507cb0af970f003ef (diff)
add sidebar navigationHEADmain
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