aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/widgets/image-widget.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite ImageWidget componentArmand Philippot2023-11-131-158/+0
| | | | | | | | * remove `imageClassName` prop * replace `image` prop with `img` and expect an image instead of an object * remove `alignment prop` * remove useless CSS
* refactor(components): merge HeadingButton and Widget componentsArmand Philippot2023-11-111-46/+23
| | | | | | The HeadingButton component was only used inside Widget component and it is not very useful on its own so I merge the two components in a new Collapsible component.
* 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-1/+0
| | | | | | 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-8/+13
|
* chore: add a CV pageArmand Philippot2022-05-031-6/+19
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-201-10/+61
| | | | | Add more stories for each components and change some components categories for better organization.
* chore: add an ImageWidget componentArmand Philippot2022-04-151-0/+113