Journee
Journee

Start a trip

4 steps
  1. 01

    Copy a trip folder

    The folder name becomes the slug, and the slug becomes the URL.

    data/trips/kyoto-2027/
      trip.ts      name, dates, who is going, which sections
      hotels.ts    empty until you have surveyed
      places.ts    empty until you know where you are going
  2. 02

    Declare its sections

    sections: ["hotels", "places"] — only what this trip actually uses. A trip with no gift exchange gets no gifts row, no tab and no route.

  3. 03

    Add one line to the registry

    data/trips/index.ts. The first entry is treated as the current trip.

  4. 04

    Nothing else

    The sidebar, tabs, status bar and routes all follow. No page or component needs touching.

Later, if it earns it

Typing a trip into this page — name, dates, picking places — needs somewhere to save it, which means a database. Worth doing if Journee ever holds trips for anyone other than us. Not worth it before then.

all trips