aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/figure/figure.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(stories): migrate stories to CSF3 formatArmand Philippot2023-12-151-65/+30
|
* refactor(components): replace ResponsiveImage with Figure componentArmand Philippot2023-11-111-0/+74
The styles applied to ResponsiveImage are related to the figure and figcaption elements. Those elements could be use with other contents than images. So I extracted them in a Figure component. The ResponsiveImage component is no longer useful: the consumer should use the Image component from `next` and wrap it in a link if needed.