From 2807240fab46541c80895e1f0d28d1a059c22f5c Mon Sep 17 00:00:00 2001 From: LyAhn Date: Mon, 6 Apr 2026 14:08:21 +0100 Subject: [PATCH] feat: integrate TitleBar into App layout --- src/App.tsx | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index cd5fa58..9884233 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -6,6 +6,7 @@ import { Toolbar } from "./components/Toolbar"; import { Gallery } from "./components/Gallery"; import { Lightbox } from "./components/Lightbox"; import { TagCloud } from "./components/TagCloud"; +import { TitleBar } from "./components/TitleBar"; export default function App() { const loadFolders = useGalleryStore((state) => state.loadFolders); @@ -29,22 +30,29 @@ export default function App() { }, []); return ( -
- -
- {activeView === "explore" ? ( - <> - - - - ) : ( - <> - - - - - )} -
+
+ {/* Custom title bar — sits at the very top */} + + + {/* Main app content below the title bar */} +
+ +
+ {activeView === "explore" ? ( + <> + + + + ) : ( + <> + + + + + )} +
+
+
);