Skip to content
SprecherEast
Issue 1419

About page: balance the layout and redraw the map preview from official boundary data

Back to our plan
Done
enhancementfrontendcmsuxpriority: mediumready

Problem

The About page looks unbalanced: the left column ends far above the map, leaving a big empty space. Its two buttons are aligned differently, and the map's picture is hard to read, leaves shapes unlabeled and does not match what its caption says.

Details

  • Layout: two half-width columns. "What this site is" and "How AI helps" on the left end well above the "Where we are" map block on the right.
  • Buttons: "See our progress" is right-aligned and "View the larger map" is left-aligned; only one has an icon. "See our progress" does not say what it opens (the public plan page).
  • Caption type: the map caption is larger, with looser line spacing, than the body text of the other blocks (ContentBlock.tsx SINGLE_TEXT against MapBlock.tsx).
  • Picture (public/images/sprecher-east-map.png, also a Media upload on the live site): the Door Creek label is faint and crossed by the boundary; the Cottage Grove Rd label is tilted and runs off the corner; North Star and Richmond Hill are gray on gray; a white notch, a brown strip and a gray strip are unlabeled.
  • Official data (checked 2026-11-21): City of Madison open data, Public/OPEN_DATA layer 12 (Neighborhood Associations, NA_ID 146), layer 24 (Parks Land Polygons) and Public/OPEN_DATA_ENGR layer 1 (Pavement Centerlines). The live Google My Maps map has a 16-point boundary that follows the City polygon closely but not exactly (about 5% of the area differs). The white notch is the southern part of Door Creek Park, which the boundary leaves out while keeping the northern part in, so "Door Creek Park lies to the east" is not what the data shows. North Star touches the boundary; Richmond Hill Homeowners is about 500 m away (matches intelligence/area.yaml).

Decisions on record

  • Owner, 2026-11-06, recorded on #764: a free Google My Maps embed, not a coded map.
  • Layout is content, changed through CMS fields, not hard-coded (#885).
  • Owner, 2026-11-21, Claude chat (text): fix every finding of the About page review, make the map picture match the live My Maps boundary, and show it on a pull request preview.

Proposed fix

  1. Generator: a small, tested generator in scripts/map-preview/ draws the picture from the My Maps boundary plus the City's roads, parks and neighbor layers. Every shape is labeled (I-94, Sprecher Rd, Cottage Grove Rd, Door Creek Park, North Star, Richmond Hill, Sprecher East), labels are legible at the shown size and never overlap, in the site's light palette, 4:3, level, with a scale bar. Its README records the sources and the date.
  2. Map block: when its section item is wide, text and picture sit side by side (text left, picture right, the guideline's text-and-visual ratio); when narrow, they stack. A container query decides from the width the editor gives it, so no new field and no migration. The caption uses the same type as the other blocks' body text.
  3. About page content: row one holds "What this site is" and "How AI helps" side by side; row two holds the map block full width; then the existing call to action. The button is start-aligned with a label that names what it opens. The caption states only what the City data shows about the park.
  4. Seed, tests, the site module note and the MapEmbed docs updated in the same PR.
  5. The live page content and the new picture are applied in Admin after the owner has seen the pull request preview.

Acceptance criteria

  • Not done: The picture is built by the committed generator from the sources above, and a test covers it.
  • Not done: Every named shape is labeled, and a test shows no two labels overlap.
  • Not done: The picture is 4:3 and level.
  • Not done: At 320, 430, 768, 1024, 1280 and 1920 px, light and dark, the About page has no empty area beside a column taller than one text block.
  • Not done: Buttons on the page are aligned alike, and each label names what it opens.
  • Not done: The map caption uses the same type as the body text of the other blocks.
  • Not done: The caption matches the City data about Door Creek Park.
  • Not done: The alt text names the boundaries and the neighbors.
  • Not done: The boundary drawn is the live My Maps one, and its difference from the City layer is noted on this issue.
  • Not done: The site module note, MapEmbed docs and seed are updated in the same PR.
  • Not done: Checked on a pull request preview before merge.

Files likely touched

scripts/map-preview/ (new), public/images/sprecher-east-map.png, src/modules/site/ui/MapBlock.tsx and its test, src/platform/ui/MapEmbed.client.tsx and its test, src/platform/ui/README.md, docs/ui/component-set.md, src/modules/site/README.md, src/endpoints/seed/about-page.ts.

Must not touch

The header buttons (Sign Up outlined, Contact filled, as the call-to-action rule says). No new CMS field and no migration.

Existing work compared

  • #764 (open): the live My Maps map and block. This issue does its open labels and boundary source/date items; the privacy line stays there.
  • #884 (closed): built the Section container and Map block this work uses.
  • #796 (closed): set the map's ratio and alignment; this applies it to the wide-item case.
  • #891 (closed): spacing between stacked blocks and heading size; not the column balance.
  • #798 (open): proposed guideline for a heading above a text-and-picture row; a rule, not this fix.
  • #1003 (open): site-wide copy audit; this covers only the About page caption and button.
  • #914 (open): parent epic for editor-adjustable layouts.

Area

frontend, cms, ux

Priority

medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab