diff --git a/docs/media-uploads.md b/docs/media-uploads.md index a0e025e..bb2bfe3 100644 --- a/docs/media-uploads.md +++ b/docs/media-uploads.md @@ -38,6 +38,16 @@ Each image's `-640.webp` small copy sits beside it. Video and audio clips (Tools → Video clips) stay in the root. The Media page and every image picker have a tab per folder; a picker opens on its field's folder, and uploads there. + +**Images from before folders** (a bare name in the root) are sorted +once, when the server first starts with this version: a logo or icon +field names it → `logos/`; saved as a preview → `thumbnails/`; anything +else → `images/`. Every record that names it is rewritten to the new +path in one transaction, after the files move (if that fails, the files +move back). The journal says `uploads: moved N image(s) into folders`. +Back up the database and uploads before that first start; nothing is +needed after. + nginx needs no change: `location /uploads/` already serves the folders. ## Files copied in by hand diff --git a/docs/updating-data-in-code.md b/docs/updating-data-in-code.md index 325f5df..ececced 100644 --- a/docs/updating-data-in-code.md +++ b/docs/updating-data-in-code.md @@ -267,7 +267,7 @@ The numbers band's "Number Source" dropdown works the same way: | What | File | Notes | | --- | --- | --- | -| Header and footer navigation, each page's sections (the header dropdowns, mobile menu and footer site map) | `src/navConfig.ts` | `PAGE_LINKS` (order), `PAGE_SECTIONS`, `NAV_ACTIONS`. The front page's sections aren't listed there: they follow the bands it shows (Front page → Sections), through `src/lib/navSections.ts` and `src/lib/frontPageBands.ts` (each band's anchor and default heading). A new page also needs a route in `src/App.tsx`. | +| Header and footer navigation, page subnav links | `src/navConfig.ts` | `PAGE_LINKS`, `PAGE_SECTIONS`, `NAV_ACTIONS`. A new page also needs a route in `src/App.tsx`. | | Section titles, blurbs and colors on Retreats, Community, Organization, Resources, Feedback, Privacy, Terms | the page file in `src/pages/` | the `SECTIONS` array at the top. A section's `id` must match its subnav `hash`. | | Site-wide announcement banner | `src/data/bannerConfig.ts` | `enabled: false` hides it. Bump `id` when the message changes, so people who dismissed the old one see the new one. | | History page decade headers | `src/data/historyDecades.ts` | Title, tagline and blurb per decade. | diff --git a/index.html b/index.html index 50ffe59..c84d3d0 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,16 @@ and the accessibility choices, for the same reason. -->