Block 181 of 297
Adopt-a-Park
A stewardship program pitch: adopters count, steps, commitment, perks, sites open for adoption and an apply link.
- Puck key
- AdoptAParkBlock
- Export
- adoptAParkBlock
- React component
- <AdoptAPark />
- Path
- components/puck/adopt-a-park-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
A volunteer recruitment section for an adopt-a-park or adopt-a-trail program. A large adopter count sits beside the heading. Below, numbered steps and a "what we ask / what you get" panel fill the left, and a list of sites with their adoption status plus the apply button fill the right. Available sites always sort to the top, and on phones everything stacks.
- A park district stewardship program page
- A trail volunteer recruitment page
- A neighborhood beautification or adopt-a-spot program
Writing the content
- Always fill in Count source, like "Program records, Sept 2026", so the Adopters count has a date and origin.
- A Commitment row needs both Label and Detail to appear. Keep labels short, like "Term" or "Clean-ups".
- Set Status for each site; Available sites are listed first and counted in "X of Y available". Up to 20 sites fit.
- Section titles ("How it works", "What we ask", "What you get", "Sites looking for adopters") are fixed in the code, so write content that fits them.
Accessibility
- Site status is written as a word (Available, Application pending, Adopted) with an icon and a hidden "Status:" prefix (WCAG 1.4.1).
- Steps are an ordered list with a hidden "Step" before each number, and the commitment terms are a description list (WCAG 1.3.1).
- The apply button is at least 48px tall and the contact email at least 44px, both with a visible focus outline (WCAG 2.4.7).
Customizing the code
- Status pills and icons live in siteStatuses, and statusOrder sets the sort.
- To make the fixed section titles editable, add text fields and replace the literal strings in the Sub elements.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtext
- Heading levelselect
- Introtextarea
- Adopters counttext
- Count labeltext
- Count sourcetext
- How it worksarray
- Commitmentarray
- Perksarray
- Sitesarray
- Apply button texttext
- Apply linktext
- Contact linetext
- Contact emailtext