Skip to main content

Overview

Rendered from corpus/wiki/overview.md · updated 2026-10-28

This page is generated from the project corpus and rewritten on every docs build. Edit the source in corpus/, not here.

A Vite + React trip planner — a field guide on cream paper, with the week as a row of tinted cells and one sheet per day washed in the colour of its place. (Until 2026-10-21 it was laid out like a small institution, plaster and ink, one "room" per day; see decisions.md.) Each destination is a routed, multi-page guide sharing one 42px bar:

RouteChapterWhat it is
/:tripDaysA short header with an Open map button (the map opens full screen), the week as a pinned floorplan strip, then one sheet per day: a numbered badge, the booking box, a TIME/WHO/WHAT running order, and the sights as pills
/:trip/guideGuideThe reading half — by city and theme, not by day; every entry ends in one thing to find with your eyes
/:trip/picturesPicturesFreely-licensed photographs of the sights
/:trip/pricingCostsWhat the week costs, per attraction and per day
/:trip/posterSheetThe whole trip on printable A2 sheets, four days each — outside the layout, and the one page still on white paper
/LandingA grid of cards, one per destination, each with a photograph (redirects past itself while there is only one)

There is no Decisions chapter. It was /:trip/decisions and it is docs/decisions/ now — read once at a desk while choosing the week, then settled, which is a document's job rather than a route's. The Sheet ↗ tab opens in a new window, because the poster renders outside the shell and navigating there in place would strand you.

Three properties shape nearly every decision in here, and all three are in decisions.md:

  • It is read at a desk, before the trip, while deciding the week. That is the primary scene, settled with the user and recorded in PRODUCT.md, and the 2026-09-01 redesign follows from it: trip data starts 42px down the page instead of 335, because a masthead is not trip data.

  • It is also read abroad, on a phone. So it installs to a home screen. It was offline-first until 2026-10-28, when the owner dropped offline support; it now reads from the network, and a worker at the old address takes the old offline worker off phones that still run it. See offline.md.

  • The repo is public. No real dates, names, bookings, addresses or server details anywhere in src/. Personal source material lives in private/ (gitignored) and the deploy hub is a separate private repo. Weekday labels are fine; calendar dates are not.

Eight destinations are registered in src/trips/index.ts: Belgium, Paris, Berlin, Innsbruck, Tenerife, Bucharest, Prague and Romania (by car). Belgium is the reference — the only trip with a guide, and the one the design was drawn against; the others are three to five days each and prove the shell is not Belgium-shaped. Any of them can be left out of a build with TRIPS_HIDDEN (see decisions-code.md).

The cast​

PathWhat lives there
src/The app — see architecture.md
poster/The poster render script and its recipe; output gitignored
tools/icons/npm run icons: the app icons' PNGs, rendered from public/icon.svg
tools/hidden/The Vite plugin behind TRIPS_HIDDEN: removes a trip from the build, then reads the output back to prove it is gone
tools/fingerprint/The DOM measurement harness that stands in for a test suite; measures every trip's every chapter
docs-site/The Docusaurus documentation site at /trips/docs/, built from this corpus — so the corpus is published
docs/decisions/A document per trip, for the trips that have one: how the week got its shape, what has to be booked, how to get around
design.mdThe visual direction. Read before changing anything visual
PRODUCT.mdWho the site is for and when it is read — the product truth the design answers to
README.mdHow to develop, add a destination, and deploy
private/Gitignored: raw sources with real dates, saved pages, VPS notes

Commands​

npm run dev # http://localhost:5173/trips/
npm run build # tsc -b && vite build
npm run preview # the built site
npm run lint
npm run poster # self-contained HTML + A2 PDF
npm run fp -- <tag> / fp:diff / fp:targets # the measurement harness

There is no test suite. build, lint, the fingerprint harness and the poster render are the whole gate.