Skip to content

Block 145 of 297

Media Room

Newsroom section with dated press releases, a media contact card, brand asset downloads and boilerplate text.

Puck key
MediaRoomBlock
Export
mediaRoomBlock
React component
<MediaRoom />
Path
components/puck/media-room-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 newsroom section with dated press releases on the left, and a dark media contact card plus downloadable brand assets on the right. An "About us" boilerplate box sits under the releases. Dates are entered as YYYY-MM-DD and shown in a readable form. On phones the contact card and downloads follow the releases.

  • A Press or Newsroom page for a nonprofit or agency
  • An About page section for journalists
  • A campaign launch page with a release and logo downloads
Writing the content
  • Enter each release Date as YYYY-MM-DD, like 2026-03-04; it displays as Mar 4, 2026. Add releases newest first, since the list is not re-sorted.
  • Fill File details for each brand asset, like ZIP · 4.2 MB, so reporters know what they are downloading.
  • Paste your standard closing paragraph into Boilerplate. One click selects the whole paragraph for copying.
  • The contact card shows when a name, email or phone is filled; use Contact note for response times or after-hours instructions.
Accessibility
  • Releases are an ordered list, each headline is a heading (one level below the Releases heading when that is set), and each date is a time element (WCAG 1.3.1).
  • Each linked headline stretches over its row, giving one tab stop per release with a focus outline.
  • Asset links use the download attribute and have a 56px minimum height; the file icons are hidden from screen readers.
Customizing the code
  • The contact card is bg-indigo-950 and links use Tailwind indigo; change indigo- to rebrand.
  • The 7/5 column split is set by lg:col-span-7 and lg:col-span-5; adjust sm:w-32 if your date format needs more room.

Editor fields

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

  • Headingtextarea
  • Heading levelselect
  • Introtextarea
  • Releases headingtext
  • Press releasesarray
  • All releases link texttext
  • All releases linktext
  • Contact headingtext
  • Contact nametext
  • Contact titletext
  • Contact emailtext
  • Contact phonetext
  • Contact notetext
  • Brand assets headingtext
  • Brand assetsarray
  • Boilerplate headingtext
  • Boilerplatetextarea