Skip to main content

Trips

Trips is a trip journal and planner. It is a static Vite + React SPA, and the thing to know before changing anything is who it is for.

Runs at
/trips on the estate's single origin — a static SPA, no API
Built with
Vite + React, Tailwind v4 plus hand-written CSS
Read
At a desk, before the trip, deciding a week — not on a phone in a street
Theme
Light only, high contrast. A decision, not an omission.
Repo is public
So personal data is deliberately kept out of it

The premise, and what follows from it​

The reader is at a desk, before the trip, deciding a week. That is settled product truth, and almost everything about the site is a consequence of it.

The old site opened with 335px of dusk photograph before the first fact — more than half the window at 1280×800. It is a 42px bar now, and the map, which is trip data, takes the position the letterhead was holding.

Nothing from the masthead was thrown away. The kicker, blurb, facts and coordinate became a colophon at the foot of every chapter, and the dateline column repeats them for a stranger who lands on the itinerary cold. They are read once, so they live where you read them once.

The building​

The site is a small institution: plaster walls, ink lettering, a plan of the floor at the door, and one room per day.

  • A 2px ink rule with a label riding it opens every section of a room.
  • An inverted cell — solid ink, plaster lettering — is "you are here".
  • Colour has four jobs and they do not overlap. The interface accent is the ink: link underlines, the current chapter's rule, focus rings and ::selection are all the same near-black. In a plaster building a rule is a rule and a current tab is underscored.

These docs are in the same building, and the stylesheet says which rules it is enforcing and why.

design.md is written from the built thing

It describes what is actually there rather than what was intended, which is what makes it safe to build a second surface against. It is the thing to read before changing anything visual — and it is at the repo root, not in the corpus, because it is about the artefact rather than about the project.

Where to go next​

If you want toRead
Understand the shapeOverview · Architecture
Touch any CSSStyling and the cascade — the layer order is load-bearing
Work on offline behaviourOffline
Know why the code is like thisCode decisions
Know what is leftOpen questions · Status