Skip to content

Block 188 of 297

Grantee Stories

Story cards for funded organizations with grant purpose, a sourced outcome figure, a photo and a read-more link.

Puck key
GranteeStoriesBlock
Export
granteeStoriesBlock
React component
<GranteeStories />
Path
components/puck/grantee-stories-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

Story cards about funded organizations, each with a photo, the grantee name, a headline, what the grant paid for, grant details and one outcome figure. With Feature the first story on, the first story spans the full width with a large photo beside its text; the rest fill a grid of two or three columns. Each card links as a whole.

  • An impact section on a foundation home page
  • An annual report "stories" spread
  • A donor update page showing what gifts paid for
Writing the content
  • Use one Outcome figure per story, like "212", and say what it counts in Outcome label.
  • Fill in Source line whenever you show outcome figures; it appears only when at least one story has a figure.
  • Write Grant details as a short line, like "$40,000 · Early Learning · 2025".
  • Write Image alt text for every photo. Up to seven stories fit, and the read-more line shows only when both Story link and Read more text are set.
Accessibility
  • The headline is the link, stretched over the whole card, so each card is a single tab stop with a meaningful name (WCAG 2.4.4).
  • The "Read the story" line is hidden from screen readers, so links are not announced twice.
  • Images take alt text from the editor. Note that the hover zoom on photos is not wrapped in a reduced-motion check.
Customizing the code
  • The photo hover zoom is group-hover:scale-102 with duration-700; add motion-safe: to the class or remove it.
  • The lead card's split is lg:col-span-7 for the photo and lg:col-span-5 for the text.

Editor fields

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

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Storiesarray
  • Feature the first storyradio
  • Read more texttext
  • Source linetext
  • Button texttext
  • Button linktext