feat(ui): Atlas Editorial redesign, dark mode, and new travel-plannin…#15
Merged
Conversation
…g features Complete frontend redesign in the "Atlas Editorial" direction: warm paper/ink semantic tokens (terracotta + deep-teal accents), Fraunces display serif with Instrument Sans body and IBM Plex Mono details, cartographic grid/grain textures, and shared UI primitives (Button, Card, Sheet, CrowdCurve, ...). Design system & theming - Semantic light/dark tokens in globals.css via @custom-variant dark; "night atlas" dark mode follows the system, overridable via a toggle persisted to localStorage (pp_theme), with a no-FOUC inline script - Map basemap swaps Positron/Dark Matter with the theme; label localization re-applied on style data; unified crowd palette (src/lib/crowd-palette.ts) replaces the previously triplicated green-red ramp Pages - Marketing (landing, 7 feature pages, destination, contact, privacy) rebuilt in the editorial language; mobile-first map screen with bottom control dock, thumb-size slider controls, and accessible bottom sheets - Localized metadata (new "meta" namespace); German exonyms (Wien, Rom, ...) shown in search results, destination pages, compare, and the map sheet New features - Best-time finder (/best-time): 52-week crowd curve per destination with quietest/busiest weeks and map deep link - Saved places + compare (/compare): local favourites, multi-series curve, shareable ?ids= links - Quieter alternatives on destination pages (same category, calmer in peak) - Map destination tap-sheet with year curve, save and share - PWA: manifest, icons, apple-icon; native share with clipboard fallback; OG images for the site root and per destination (/api/og/destination) Data fixes - Venice was drastically under-modelled (2 travel patterns, metropolis default capacity): added 15 realistic source flows and capacityOverride 3.0 so it now reads packed May-Sep with a real winter dip - API caches shortened to max-age=3600 + stale-while-revalidate so recomputed heatmap data reaches clients quickly i18n: all new strings in en/de/es/fr, guarded by a messages-parity test. Tests: 272 passing (60+ new: crowd palette, theme provider, saved places, quiet alternatives, /api/busyness route, UI primitives). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…g features
Complete frontend redesign in the "Atlas Editorial" direction: warm paper/ink semantic tokens (terracotta + deep-teal accents), Fraunces display serif with Instrument Sans body and IBM Plex Mono details, cartographic grid/grain textures, and shared UI primitives (Button, Card, Sheet, CrowdCurve, ...).
Design system & theming
Pages
New features
Data fixes
i18n: all new strings in en/de/es/fr, guarded by a messages-parity test. Tests: 272 passing (60+ new: crowd palette, theme provider, saved places, quiet alternatives, /api/busyness route, UI primitives).