aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/images/responsive-image.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace ResponsiveImage with Figure componentArmand Philippot2023-11-111-212/+0
| | | | | | | | 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.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-1/+1
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* fix: render all images unoptimized in StorybookArmand Philippot2022-05-221-5/+52
| | | | | | There is a bug with next/image and Storybook. I was manually adding `unoptimized` to images. Instead we can use a workaround by adding an extra config in Storybook `preview.js` file.
* chore: complete Storybook storiesArmand Philippot2022-05-211-0/+13
|
* chore: update images stylesArmand Philippot2022-05-201-0/+17
|
* chore: add a CV pageArmand Philippot2022-05-031-0/+1
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-201-8/+55
| | | | | Add more stories for each components and change some components categories for better organization.
* chore: add a ResponsiveImage componentArmand Philippot2022-04-061-0/+87