SRGSSR / pillarbox-web

Pillarbox is a versatile media playback ecosystem engineered for the web.
https://srgssr.github.io/pillarbox-web-demo/
MIT License
12 stars 1 forks source link

Extracting the button into its own component #149

Closed amtins closed 8 months ago

amtins commented 8 months ago

As a Pillarbox developer, I would like the button to be extracted as its own component in order to facilitate its reuse in the various pages.

Acceptance Criteria

Hints

To make the button component reusable in as many cases as possible, we could imagine the following structure:

<a>
    <h2>Title<h2>
    <p>description<p>
    <ul>
        <li><i>icon</i><li>
        <li>publish date<li>
        <li>duration<li>
    </ul>
</a>