Site header (Ground News–style layout)
Issue #1513. Decided 2026-11-28.
Layout
web_app/src/components/SiteHeader.tsx is the only shared top nav (home and every Layout route).
- Top row: mobile menu · brand · place scope · Data Stories / How It Works · search and advanced-filter icons · compact Register/Login dropdown or signed-in profile at the far right.
- Trending row: rising-arrow mark and horizontally scrolling pills from
useHotTopics+LIVE_STORIES(the scoped hot-topic feed and live story list). On home, choosing a pill switches the map below using?topic=and keeps the active place. The selected pill uses bold type and a teal fill on home and on its story page. The row scrolls horizontally to show the entire selected pill when the topic or layout changes. The row stays on one line and arrows scroll to more topics. On other pages, live stories link to/stories/:idand other topics open/search?q=…with the place carried.
On desktop, the place control sits beside the logo, and Data Stories and How It Works align with the search and account controls on the right. The hamburger is available on mobile. The brand links home and the magnifying glass is the header’s search control. The account dropdown shows the sign-in providers for guests and profile actions for signed-in users, with their avatar or initials on the right. The magnifying glass scrolls to Search your community on home. From another page, it opens the same section with the active place parameters. The sliders open the right-hand Advanced Filters drawer on Search, carrying the active place. On Search they preserve the current query and filters. The place selector still opens the location picker. A thin divider separates the header from the page. The header uses the existing white and teal palette. Active primary links have a thick teal underline, and the place selector, account controls, and trending pills use teal accents.
Not copied from Ground News
Topic pills are never hard-coded names — only API / live-story data (No Fabricated Data).