home3/hub: shared HubBar with mobile hamburger + Art-card mobile crop fix
#2 Mobile top bar → hamburger: extracted the editorial bar (brand + nav + new collapsible hamburger drop-panel) into a shared lib/components/HubBar.svelte, used by both /home3 and HubShell (the /word /quote /onthisday detail pages), so there's one nav to maintain/audit. Full horizontal nav ≥721px; hamburger + drop panel ≤720px. Escape + link-click close it; panel is hidden on desktop as a safety. Removed the duplicated bar markup/CSS from home3 + HubShell. #1 Mobile layout / Art card: on phones the Art card now stacks image-first with the painting in a proper 3:2 frame (aspect-ratio) instead of a stubby fixed 130px band that cropped the work to a sliver. Also drop the News gist's bottom fade once the bento is single-column (natural height = no truncation, so the fade was just dimming the final line), and let the joys header wrap on phones. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user