Block 241 of 297
Passport Program
A local deals trail: how it works, participating stops and offers, prize tiers by check-ins and fine print.
- Puck key
- PassportProgramBlock
- Export
- passportProgramBlock
- React component
- <PassportProgram />
- Path
- components/puck/passport-program-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 check-in trail or deals passport: a large heading with a sign-up button beside a tilted photo, numbered how-it-works steps, a grid of participating stops with their offers, a dark prize panel showing stamps needed per prize, and fine print in a collapsible toggle. Stops sit two across on wider screens and stack on phones.
- A brewery, coffee or food trail run by a visitors bureau
- A library or parks summer challenge with prize tiers
- A main street shop-local promotion
Writing the content
- How it works takes up to four steps but lays out three across; three steps fill the row.
- Enter Check-ins needed as a plain number; the badge adds the word "stamps" under it.
- Write each Offer as a specific deal, like "$1 off your first pint". Participating stops accept up to 30 entries.
- Put one paragraph per line in Terms. Age limits, redemption rules and end dates belong there, and the toggle hides when Terms is blank.
Accessibility
- Fine print sits in a native details and summary disclosure, so it opens with the keyboard and announces its expanded state.
- Step titles carry hidden "Step 1:" text while the numbered circles are aria-hidden, and each offer has a hidden "Offer:" prefix.
- The decorative stamp badge and dashed frame are aria-hidden; the sign-up button has a 48px minimum height and visible focus outline.
Customizing the code
- Swap indigo- to recolor the dashed borders, stamp badge, offers and sign-up button.
- The photo tilt comes from rotate-2 on the image and -rotate-3 on its dashed frame; remove both for a straight layout.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtext
- Heading levelselect
- Introtextarea
- Image URLtext
- Image alt texttext
- Sign-up button texttext
- Sign-up linktext
- Sign-up notetext
- How it worksarray
- Stops headingtext
- Participating stopsarray
- Prizes headingtext
- Prize tiersarray
- Terms toggle texttext
- Termstextarea