dotcom-rendering icon indicating copy to clipboard operation
dotcom-rendering copied to clipboard

Add a podcast cover image to the audio page

Open oliverabrahams opened this issue 4 months ago • 4 comments

What does this change?

Why?

Migrating the audio page from FE to DCR.

This PR has a slight change in the Props for the <Picture/> component. It now allows passing of the image widths directly. imageWidths: [ImageWidthType, ...ImageWidthType[]]; this is only allowed when the role passed to the <Picture/> is "custom" otherwise it is imageWidths: never

Screenshots

Screenshot 2024-10-16 at 17 18 26 Screenshot 2024-10-16 at 17 16 16 Screenshot 2024-10-16 at 17 16 25

oliverabrahams avatar Oct 16 '24 16:10 oliverabrahams