aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/images/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace ResponsiveImage with Figure componentArmand Philippot2023-11-111-1/+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(components): extract FlippingLogo from Branding componentArmand Philippot2023-11-111-0/+1
|
* feat(components): add a generic Flip componentArmand Philippot2023-11-111-1/+0
| | | | | | The flipping animation is used at several places so it makes sense to use a single component to handle the animation. It will avoid styles duplication.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-0/+2
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.