From 3b0573656f4c76b25d667a93e0d6a5ccaf75ef56 Mon Sep 17 00:00:00 2001 From: Pi Agent Date: Wed, 2 Sep 2026 08:01:20 +0000 Subject: [PATCH] mobile: top bar with current tab name --- web/src/App.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 9b38b2e..31d3dfa 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -127,6 +127,15 @@ function Nav({ ); } +function MobileTopBar({ category }: { category: Category }) { + const label = CATEGORIES.find((c) => c.id === category)?.label ?? ""; + return ( +
+ {label} +
+ ); +} + function Footer({ category, setCategory, @@ -175,7 +184,7 @@ function MainScreen({ }) { return (
@@ -261,6 +270,8 @@ export function App() { setOpenDoc={setOpenDoc} /> + +