);
}
diff --git a/services/frontend/src/components/shell/ambient-app.tsx b/services/frontend/src/components/shell/ambient-app.tsx
index 9baf89b..b2e4a24 100644
--- a/services/frontend/src/components/shell/ambient-app.tsx
+++ b/services/frontend/src/components/shell/ambient-app.tsx
@@ -1,3 +1,4 @@
+import { MobileNav } from "./mobile-nav";
import { NavRail } from "./nav-rail";
import { TopBar } from "./topbar";
@@ -5,6 +6,10 @@ import { TopBar } from "./topbar";
* App chrome: slim nav rail + sticky top bar + scrollable content region.
* Sits above the fixed AmbientCanvas. Providers (Ambient + WS) are mounted in
* the route layout so every page shares one live link and signal context.
+ *
+ * < md the side rail collapses (hidden) and a bottom tab bar (MobileNav)
+ * takes over navigation; the content region gains bottom padding so the last
+ * panel never hides behind the dock.
*/
export function AppFrame({ children }: { children: React.ReactNode }) {
return (
@@ -12,10 +17,11 @@ export function AppFrame({ children }: { children: React.ReactNode }) {
-
+
{children}
+
);
}
diff --git a/services/frontend/src/components/shell/index.ts b/services/frontend/src/components/shell/index.ts
index c8556ba..c3522b5 100644
--- a/services/frontend/src/components/shell/index.ts
+++ b/services/frontend/src/components/shell/index.ts
@@ -1,4 +1,5 @@
export { AppFrame } from "./ambient-app";
+export { MobileNav } from "./mobile-nav";
export { NavRail } from "./nav-rail";
export { ConnectionStatus } from "./status-dot";
export { TopBar } from "./topbar";
diff --git a/services/frontend/src/components/shell/mobile-nav.tsx b/services/frontend/src/components/shell/mobile-nav.tsx
new file mode 100644
index 0000000..04ba5b4
--- /dev/null
+++ b/services/frontend/src/components/shell/mobile-nav.tsx
@@ -0,0 +1,43 @@
+"use client";
+
+import Link from "next/link";
+import { usePathname } from "next/navigation";
+import { isActivePath, mobileNavItems } from "@/lib/navigation";
+import { cn } from "@/lib/utils";
+
+/**
+ * Mobile bottom tab bar. Shown only < md (the side NavRail is hidden there).
+ * Mirrors the desktop nav items but as a thumb-friendly dock with labels and a
+ * top active indicator. Safe-area aware for notched devices.
+ */
+export function MobileNav() {
+ const path = usePathname() ?? "/";
+
+ return (
+
+ );
+}
diff --git a/services/frontend/src/components/shell/nav-rail.tsx b/services/frontend/src/components/shell/nav-rail.tsx
index e859fe5..59cf9bc 100644
--- a/services/frontend/src/components/shell/nav-rail.tsx
+++ b/services/frontend/src/components/shell/nav-rail.tsx
@@ -31,6 +31,10 @@ function NavItem({
)}
+ {/* hover tooltip — labels are hidden in the rail, so surface on hover */}
+
+ {label}
+
);
}
@@ -40,7 +44,7 @@ export function NavRail() {
const path = pathname ?? "/";
return (
-