diff --git a/src/App.tsx b/src/App.tsx
index 2f10207..8320ff2 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -10,7 +10,7 @@ function App() {
const [sidebarCollapsed, setSidebarCollapsed] = useState(false)
const sidebarWidth = sidebarCollapsed ? 64 : 200
const location = useLocation()
- const showHero = location.pathname === '/infrastructure'
+ const showHero = location.pathname === '/infrastructure' || location.pathname === '/booknest'
return (
diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx
index 118f4cb..b057cab 100644
--- a/src/components/TopBar.tsx
+++ b/src/components/TopBar.tsx
@@ -10,11 +10,16 @@ const pageTitles: Record
= {
'/settings': 'Settings',
}
+const pageSubtitles: Record = {
+ '/booknest': 'Your Digital Library',
+}
+
export default function TopBar() {
const [userMenuOpen, setUserMenuOpen] = useState(false)
const menuRef = useRef(null)
const location = useLocation()
const title = pageTitles[location.pathname] ?? 'Glance'
+ const subtitle = pageSubtitles[location.pathname]
useEffect(() => {
function handleClick(e: MouseEvent) {
@@ -29,9 +34,16 @@ export default function TopBar() {
return (
{/* Page Title — pushed away from sidebar edge */}
-
- {title}
-
+
+
+ {title}
+
+ {subtitle && (
+
+ {subtitle}
+
+ )}
+
{/* Center section — Search bar */}