Skip to content

Block 167 of 297

Boards & Commissions

Resident boards with purpose, meeting schedule, seat count and open vacancies called out with an apply link.

Puck key
BoardsCommissionsBlock
Export
boardsCommissionsBlock
React component
<BoardsCommissions />
Path
components/puck/boards-commissions-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 grid of advisory board cards with each board's purpose, meeting schedule, seat count and term. Boards with open seats get a tinted card, a seat-count badge and an apply button, and a running total of open seats appears beside the heading. Below the grid, a panel explains how appointments work. Cards run one, two or three across depending on screen width.

  • A city clerk's boards and commissions page
  • A recruitment page for volunteer board seats
  • A civic engagement page encouraging residents to serve
Writing the content
  • Enter Seats and Open seats as whole numbers. Any Open seats above zero tints the card and adds the apply button; zero shows "No current vacancies".
  • All apply buttons share one Apply link, so it should point to a general application form. Clear Apply link text to hide every apply button.
  • Write Meets with day, time and place, like "2nd Tuesday, 6 p.m., City Hall".
  • The clerk phone and email appear inside the how-to-apply panel, so they hide when How to apply heading is blank.
Accessibility
  • Vacancies are stated in words ("2 open seats", "No current vacancies"), so the card tint is never the only signal (WCAG 1.4.1).
  • Each apply button appends the board name for screen readers (WCAG 2.4.4).
  • Board names are headings below the section heading, and Meets and Seats are a description list (WCAG 1.3.1).
Customizing the code
  • Open boards use bg-indigo-50/60 with an indigo-700 badge; edit the card className to change the highlight.
  • Columns are set by md:grid-cols-2 xl:grid-cols-3 on the list.

Editor fields

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

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Boardsarray
  • Apply link texttext
  • Apply linktext
  • How to apply headingtext
  • How to apply texttextarea
  • Contact officetext
  • Clerk phonetext
  • Clerk emailtext