Skip to content

Block 238 of 297

Neighborhood Guides

Alternating photo-led district profiles with a vibe tagline, best-for tags, three top picks and an explore link.

Puck key
NeighborhoodGuidesBlock
Export
neighborhoodGuidesBlock
React component
<NeighborhoodGuides />
Path
components/puck/neighborhood-guides-block.tsx
Dependencies
None
License
MIT

About this block

When to use it, how to write for it, and what to change in the code.

What it's for

District profiles stacked down the page, each pairing a wide photo with the neighborhood name, a one-line vibe, "Best for" tags, up to three numbered top picks and an explore button. Photos switch sides from one profile to the next on large screens, with a numbered badge on the corner. On phones each profile stacks photo first, then text.

  • A destination's "Explore the neighborhoods" page
  • A relocation or "Living here" page for a city or chamber
  • A university or hospital campus guide introducing nearby districts to newcomers
Writing the content
  • Write Top picks one per line as "Place | why it's great"; the note after the bar is optional, and only the first three lines are shown.
  • Keep Best for to three or four comma-separated audiences, like Foodies, Night owls, Families.
  • Make each Link text specific, like "Explore Old Mill"; no hidden context is added, so repeated "Learn more" links would be ambiguous.
  • Neighborhoods accept one to eight items.
Accessibility
  • Neighborhood names are headings one level below the Heading level setting, and each profile is its own article (WCAG 1.3.1).
  • Top picks are an ordered list; the visible pick numbers and the corner badge are aria-hidden, so screen readers don't hear them twice.
  • Photos take alt text from the editor, and explore buttons have a 44px minimum height with a visible focus outline.
Customizing the code
  • The corner badge, tags and pick numbers use indigo-; swap the color family to rebrand.
  • Photos crop at aspect-4/3 on phones and sm:aspect-3/2 above; the alternating sides come from the i % 2 flip.

Editor fields

What content editors see in the P1 sidebar when they select this block.

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Neighborhoodsarray