Skip to content

Block 96 of 297

Footer — Government

Seal and agency name, emergency line, address, office hours, phone and email, service links, social links and required policy links.

Puck key
FooterCivicBlock
Export
footerCivicBlock
React component
<FooterCivic />
Path
components/puck/footer-civic-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 government footer that opens with a colored band for the seal, agency name and emergency line, then four columns: visit details and hours, contact details and social icons, and two service link groups. A policy strip closes it. Columns drop to two on tablets and one on phones.

  • City and county websites
  • State agency or department sites with walk-in offices
  • Public utilities, transit authorities and special districts
Writing the content
  • Keep the Emergency line short and literal, such as "For emergencies, call 911." Leave it blank to remove the pill from the band.
  • Office hours allows up to 7 rows. Write "Closed" for closed days rather than leaving them out.
  • Use Policy links (up to 8) for accessibility, privacy, open records, nondiscrimination and language assistance notices.
  • Link groups allows up to 3 groups, but the grid is laid out for two beside the visit and contact columns; a third wraps to its own row.
Accessibility
  • Service links sit in a nav named from Navigation name, and policy links in a separate nav labelled "Policies". Each group's list is labelled by its Group label.
  • Social icons are in a list labelled "Social media", and each link has hidden text naming the platform.
  • Office hours use a description list, the address uses an address element, and every link keeps a 44px minimum height with a visible focus outline.
Customizing the code
  • The band is bg-indigo-900; change it with the indigo-800 link colors.
  • The main grid is sm:grid-cols-2 lg:grid-cols-4, with link groups spanning two columns.

Editor fields

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

  • Seal image URLtext
  • Seal alt texttext
  • Agency nametext
  • Subtitletext
  • Emergency linetext
  • Visit labeltext
  • Addresstextarea
  • Directions link texttext
  • Directions linktext
  • Office hoursarray
  • Contact labeltext
  • Phonetext
  • Phone notetext
  • Emailtext
  • Navigation nametext
  • Link groupsarray
  • Social linksarray
  • Policy linksarray
  • Copyright linetext
  • Last updatedtext