Clean up code found in the audit

- Replace every em-dash in src and server/src with a colon, comma or hyphen
- Give every relative import its file extension (.jsx imports of .tsx fixed)
- Delete old-historyMock.ts, unused exports, unused CSS utilities, the
  unused @ alias and the fallback option nothing passed
- One copy each of initials, capitalize, byName and the server's marks()
- Move the organization, chapter and event hooks from src/data to src/lib
- Schema sync always throws on a mismatch (strict was never turned off)
- Replace the placeholder README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-28 22:02:03 -05:00
parent 4066e9ec61
commit 5274e09571
75 changed files with 282 additions and 688 deletions

View file

@ -10,7 +10,7 @@ const PAGE = sitePage("/retreats");
RETREATS PAGE
Three bands, all the same view of the same table with a
different filter. The page declares them and does nothing else —
different filter. The page declares them and does nothing else,
each section fetches its own slice.
Two filters per band now, and they answer different questions:
@ -29,7 +29,7 @@ const PAGE = sitePage("/retreats");
What this page deliberately does not show: local, international
and other scopes, and every non-retreat type. Those are reachable
from their host's page and by URL, and get a band here when
there's enough of them to fill one — see the block at the bottom.
there's enough of them to fill one, see the block at the bottom.
To reorder the page, move a line. To add a different kind of
section, add an entry with another Component.
@ -74,7 +74,7 @@ const SECTIONS = [
},
/* The other three scopes, ready to uncomment. Each needs an accent
and a background of its own — those are presentation and live
and a background of its own, those are presentation and live
here, not in event_scopes.
{