Commit graph

207 commits

Author SHA1 Message Date
Zaldimmar
b2bf24dafb Side nav circle covers a 10-section list: ellipses where a circle can't, clear of the section edge
Stuck, the sun stays centered on the header's bottom left (no curving
back at the top) and becomes a quarter ellipse as tall as the list
needs. At rest it keeps 16px from the section's edge, taking the
least-tall ellipse that covers a tall list. The side nav shows from
2xl (1536px): narrower, a list of two-line titles is as wide as its
column and nothing inside it can cover it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:48:17 -05:00
Zaldimmar
4a937454a8 Side nav circle: a slight drop shadow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:36:17 -05:00
Zaldimmar
5e77da9a66 Corner sun moves to take in the whole list when the window holds it small
Held by the column's width, the stuck circle's center moves down the
screen's edge until the list's corners are inside it, then off the
screen to the left (growing as much, so its right edge stays put).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:35:09 -05:00
Zaldimmar
c335774db5 Side nav circle becomes a quarter-circle sun in the corner once the nav sticks
Stuck, it centers on the header's bottom left and grows to reach past
the list's far corner (never wider than the nav column), easing
between that and its starting place on the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:22:46 -05:00
Zaldimmar
e68a9be9bb Side nav sticks just under the header, its circle rising behind it like a corner sun
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:18:57 -05:00
Zaldimmar
f7b9af7101 Side nav starts level with the first section's title, still sticking just under the header
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:09:51 -05:00
Zaldimmar
7f45006253 Side nav entries take their section's color; the circle stays on the "On this page" heading
Hovered and lit entries use their section's accent (as heading text),
the editors' nav keeping the link teal. The circle's leftward shift
stops at the heading's center, so short titles no longer pull it off
the heading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 04:03:32 -05:00
Zaldimmar
37c555a7b8 Side nav circle takes the color of the section being read
Green and amber sections give it their palette's lightest shade, teal
and deep teal the teal one (the darkest in dark mode), the shades the
nav's text reads on, easing between them as the reader scrolls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:56:33 -05:00
Zaldimmar
1db18a8f91 Side nav and its circle in front of the section lines, the circle starting just below the first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:54:39 -05:00
Zaldimmar
a5c4e365cd Side nav circle shows above the first divider, sits further left, and slides left rather than being cut at the content
The nav column clipped on every side, cutting the circle off above
the first section line; it clips sideways only now. The circle keeps
its right edge inside the column, so a narrower window moves it off
the screen's left edge instead of cutting it at the content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:49:41 -05:00
Zaldimmar
ac794d5ff1 Version v1.10.9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:42:02 -05:00
Zaldimmar
857506abb7 Side nav circle: its own sticky layer behind the section lines, clipped at the nav column
The circle centers on the list's measured box, so it stays on the nav
at any width, and the column clips it (overflow: clip, which keeps the
sticky layers sticking) so it never covers content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:41:06 -05:00
Zaldimmar
c0ae48b064 Version v1.10.8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:37:06 -05:00
Zaldimmar
dc003a5487 Header dropdowns close after a click; a tint circle behind the side nav
The dropdowns opened on any focus inside, and a click leaves focus on
the link, so they stayed open after the pointer left; now only
keyboard focus (:focus-visible) opens them besides hover.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:36:20 -05:00
Zaldimmar
3308b5f1b5 Version v1.10.7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:29:37 -05:00
Zaldimmar
f65664217e Details & Contact as blocks, not a preset; the side nav sits in the margin instead of shifting the sections
Migration 058 turns the organization_details preset into the
section's own blocks and drops it from page_sections' CHECK. The side
nav is placed in the left margin beside the 72rem content, from 88rem
screens up, so sections stay where they'd be without it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 03:28:03 -05:00
3e4a725c99 Merge page-updates (v1.10.3 to v1.10.6) 2026-10-01 09:23:30 +01:00
Zaldimmar
af58e8fab5 Version v1.10.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 01:21:59 -05:00
Zaldimmar
e8ac242e6d Newsletter drafts with content blocks, a footer and Post as blog post; Home has no header dropdown
Tools → Newsletter saves drafts (migration 057: newsletters, with
content blocks owned 'newsletter'), adds blocks written for the issue
and an editable footer (no unsubscribe link: Mailchimp adds one), and
turns a draft into an unpublished blog post. The admin engine binds
child owner ids as text, so an auto-numbered record's blocks are
owned by '1', not '1.0'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 00:21:32 -05:00
Zaldimmar
9daf7b1a4f Page editors: Retreats, Community, Resources, Organization and History built from sections
Each page is now a list of sections edited in Admin → Pages: a title
(30 characters at most, for the side nav), URL ID, blurb and accent,
its own content blocks, and an optional preset (Community blog, groups
map, region list, partner cards, events, timeline, NGU's details).
Migration 056 seeds every page as the code drew it and moves the
Organization editor's blocks and volunteering into its sections. The
Community blog's settings move into the Community editor. The header,
footer and side nav read each page's sections from the API.

The admin engine reads and writes nested collections to any depth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 00:15:30 -05:00
Zaldimmar
4a1d6fd6e9 Footer site map full width; side nav fits 30-character titles over full-width dividers; Timeline under Data
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 00:04:29 -05:00
Zaldimmar
45b422641a Version v1.10.5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 23:39:24 -05:00
Zaldimmar
ed0f12022f Navigation: section dropdowns, a side nav, Home's sections from the front page
- The header's second strip is gone: each top link drops down its
  page's sections on hover or keyboard focus.
- Retreats, Community, Resources, Organization and History get the
  admin editors' "On this page" column (SectionNav), sticky at the
  left from lg up, with the section being read lit.
- Home's sections in the dropdown, mobile menu, footer site map, the
  feedback form and the QR maker are the bands the front page is
  showing, in its order and under its headings (navSections.ts,
  frontPageBands.ts, which Home.tsx now draws from too).
- Resources comes before Organization in the nav and footer.
- The Organization page draws from its own editor's content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 23:37:36 -05:00
Zaldimmar
43797f38bc Cleanup of old-data fixes; an editor for the Organization page
Nothing before these changes was ever public, so the fixes kept for
older data go: the /leadership redirect (MOVED in routes/pages.js),
index.html's move of "ngu-" browser keys to "site-", the boot-time
sorting of images from before folders (media.js), and emoji path
icons (a path with no named icon shows a dot; migration 055 turns
the baseline's seeded emoji into their names).

Pages → Organization page (migration 055): a singleton with the
Mission, Vision & Values blocks, the Leadership blocks (a People
block per team, in order) with a heading and blurb, and Volunteering
(title, blurb, links). content_blocks gains the two owner kinds;
GET /organization-page serves it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 23:37:35 -05:00
Zaldimmar
1da79c128b Version v1.10.4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 23:18:52 -05:00
Zaldimmar
8d319bcaaa Mobile: community map, cards, schedule, stats, banner, tap targets
- The community map keeps a readable size on a phone and scrolls
  sideways in its own box; group cards wrap their controls under the
  name, with smaller logos and 40px buttons; group details likewise.
- Org list cards, the stats numbers and the front page timeline rail
  cards size down on phones (the stats band unchanged from sm up).
- Schedule entries put the time on its own line on a phone; 40px
  fold-out toggles.
- The banner gives its text the room on a phone, with a 40px
  dismiss button.
- Email addresses may break anywhere (one rule for every mailto:
  link), so a long one can't push past the screen.
- Footer site-map links, the arrow links and the accessibility
  panel's close button are larger targets; the open accessibility
  panel sits above the privacy notice; the timeline's "still to
  come" list reads in full on touch screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:44:27 -05:00
Zaldimmar
a907a47c24 Mobile: menu, page titles, hero, retreat carousel, people tiles
- The mobile menu centers when it fits and starts at the top when
  it's taller than the screen (safe center), so its top is
  reachable; its close button is a 44px target.
- Page titles and the hero headline start a size smaller on phones
  and break long words instead of being cut off.
- Hero: the split buttons stack on a phone (the slash from sm); the
  slide dots and pause button are 40px targets and wrap; photo heroes
  leave room for the caption above the buttons.
- Retreat carousel: phone-sized padding and type; on a phone the
  arrows sit beside the dots instead of over the text, dots are 40px
  targets, and a swipe turns it. The narrow event card layout gives
  the logo its own row (it had made a stray column).
- People tiles: the details panel slides to stay on screen with its
  notch under the tile; a third column only when tiles keep 60% of
  their width; a 40px close button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:42:20 -05:00
Zaldimmar
2a926971f7 A newsletter builder (Tools → Newsletter)
Tick upcoming events, published blog posts and the front page's
featured cards, write a title and intro, and copy an email-ready
newsletter (table layout, inline styles, the palette in hex, a
plain-text copy alongside) into Mailchimp, Gmail or Church Center,
or download it. Picked posts are read from their public pages, so
only live posts make it in; links and images point at the live
site. Nothing is sent or stored. The builder is src/lib/newsletter.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:38:04 -05:00
Zaldimmar
177a65005e An accessibility button: a dyslexia-friendly font and a reading mode
A button fixed to the bottom right of every public page opens two
switches. Dyslexia-friendly font swaps every typeface for
OpenDyslexic (self-hosted, @fontsource/opendyslexic, downloaded
only when chosen). Reading mode steps the design back: no background
circles, motion or shadows, every layout one column, larger text and
underlined links. Both are data attributes on <html>, remembered in
the browser and set before the first paint like the theme. On a
phone the privacy notice sits above the button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:34:40 -05:00
Zaldimmar
0f62b67ee0 Privacy: Church Center's page and its analytics; self-hosted Plausible
The Giving entry links ngu.churchcenteronline.com and says Church
Center's script loads with the Giving page and may use Google
Analytics in its form. Cookies and storage now say the site uses
self-hosted, cookieless Plausible Analytics and not Google
Analytics. Last updated September 30, 2026.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:29:40 -05:00
Zaldimmar
01de6272f3 People tiles: a whole list shares one row when it fits
When every group (a team's leads and members alike) fits side by
side with tiles at three quarters of full width or wider, 10 at most,
they share one line, each group's width following its head count; a
board of 7 is one row rather than 5 and 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:28:42 -05:00
Zaldimmar
bc88b45ee1 Version v1.10.3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 21:12:13 -05:00
Zaldimmar
af7e99895a Request form: short field titles with a help line, and why to send a file
Detail fields can carry a help line under the title (RequestField
help). The blog post's card field is now Short description, saying
where it shows; other long titles became short ones with the detail
in the help. The Files note explains that a blog post sent as a
.docx can be imported straight onto the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 20:33:20 -05:00
Zaldimmar
79c4b243f5 A 404 page that suggests what the address was for
The closest static pages and public records to the failed address
(suggest.ts: letter-pair likeness of the address's last part to each
URL ID and name, and of the whole address to each path), so a typo,
a missing hyphen or an old /chapters/ link still finds its page; the
main pages below to start from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 20:32:00 -05:00
Zaldimmar
499662b59a Leadership becomes the Organization page, at /organization
Three sections: Mission, Vision & Values from the national
organization record's own description and content blocks;
Leadership as that record's teams with their people; Details &
Contact with NGU's address, nonprofit status, email and the
record's contact links. /leadership answers with a 301 to
/organization (MOVED in routes/pages.js), and a page title or intro
saved for it in Site settings moves with it (migration 054).

OrganizationDetail's team list and contact buttons are now shared
components (OrgTeams, OrgContact), and NGU's address and email live
once in src/data/organizationDetails.ts for the footer, the page and
ComingSoon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 20:30:18 -05:00
Zaldimmar
7c7cdaac14 People blocks and host teams
- A "People" content block: a team's members as people tiles, people
  picked one by one as items (each with a title), or both.
  content_blocks gains team_id (migration 054 rebuilds it for the
  type CHECK); a picked person rides on the item's person_id.
- An organization host can name a team (any organization's) to show
  in its place: event_hosts.team_id, carried by v_event_hosts. The
  event page reads "Hosted by" the team, linked to its page.
- Admin fields can show on `when: { path, filled: true }`.
- The showcase post has a people block; the past showcase event is
  hosted by the region shown as its team.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 20:26:26 -05:00
6f86a113e0 Merge pull request 'Revised palette: teal, green, amber, ink' (#19) from palette-test into main 2026-09-30 23:59:33 +01:00
15c2d0e063 Merge pull request 'Design overhaul (v1.10.0 to v1.10.2)' (#18) from design-overhaul into main 2026-09-30 23:59:15 +01:00
Zaldimmar
79f1d09eef Try the revised palette (teal, green, amber, ink)
The suggested grid as the theme defaults, light and dark, with
PALETTE, the accents (olive becomes amber), the backdrop shades
and every literal from the old grid mapped over. Every text pair
passes the admin's 4.5:1 check; the hero's filled button is amber.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:51:14 -05:00
Zaldimmar
a2465f9359 Version v1.10.2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:45:10 -05:00
Zaldimmar
57f8020542 Video stills skip YouTube's gray placeholder; timeline back to teal dots; people rows fill
- A still that fails or comes back as YouTube's 120 x 90 "no
  thumbnail" image gives way to the next; with none left the player
  is a flat teal panel with the play button showing.
- Timeline: solid teal dots, a solid teal rail and teal decade tags
  (still on their branch), one color throughout, until a vine or
  tree drawing replaces them. The leaf colors are gone.
- People tiles fill each row with as many as fit (2 to 10), one
  fewer only when the last row would be a single tile, instead of
  evening rows out (8 where 6 fit had come out 4 and 4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:44:42 -05:00
Zaldimmar
6506f65b1e Backdrop parallax in Firefox: a passive scroll fallback
Where scroll-driven animations are missing, a passive scroll handler
writes the scroll position to --pb-y at most once a frame and the
CSS moves each layer by its share, matching the scroll-timeline
version. Off under reduced motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:35:25 -05:00
Zaldimmar
2df908f7c4 Backdrop: four parallax layers, laid out per page, tones per top-level section
Sixteen circles in four layers, big and slow at the back to small
and quicker at the front, each rising by its share of the page's
scroll (none at the page's own speed); how far is measured from the
page's height, so the back layer visibly moves on a long page. Each
path gets its own seeded arrangement. The tone moves on only when a
new top-level section arrives, and eases over 2.4s. Dark shades are
chosen so text passes 4.5:1 however many circles overlap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:28:55 -05:00
Zaldimmar
e5c14dffa3 Timeline on a brown branch with leaf-colored decade tags; solid featured entries; admin home in two alternating colors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:26:38 -05:00
Zaldimmar
a397f3eac0 Overhaul fixes: raised cards, balanced people rows, solid map, small button radius
- Cards sit on a raised surface (white, or a touch of tint in dark
  mode) with a shadow: featured cards, the connect block, people
  tiles. tint-soft is a faint teal again, not green.
- Buttons: a small plain radius everywhere; no superellipse.
- Video stills use YouTube's 16:9 frame (the 4:3 one cropped as a
  fallback), have small rounded corners, and show a round, centered
  play button on hover or focus (always on touch screens).
- People tiles: rows balanced between 2 and 10 across, never ending
  on a lone tile where it can be helped.
- Map tiles and region tags are solid, dimmed by color, not opacity.
- Admin: white (surface) background, header and footer as wide as
  the content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:24:36 -05:00
Zaldimmar
582c65077d Version v1.10.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:40:51 -05:00
Zaldimmar
f37c093dc0 Overhaul fixes: vertical parallax backdrop, bracket notices, list-framed people tiles
- Backdrop: two slow circles fixed to the window drift up as the
  page scrolls (a scroll-driven animation), three sit down the page
  and travel with their sections; tones still change per section.
- Notices are two corner brackets, no box or fill.
- People tiles: the frame is the list's, and details open right
  under the tile, closing on Escape or a click elsewhere.
- Featured cards and the connect section: 4px rules; video frames
  inset from the card edge.
- Calendar weekday row is a solid bar; History decade numerals are
  tags on the rail instead of a white box.
- Region and partner buttons say Request; the region list's group
  count is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:40:04 -05:00
Zaldimmar
8ca3b54b31 Version v1.10.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:32:22 -05:00
Zaldimmar
dd33ee2da0 Document the palette, square corners, notices and the page backdrop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:55:21 -05:00
Zaldimmar
239c3fa293 Admin home: a palette color per group of cards
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:54:39 -05:00