aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/images
Commit message (Collapse)AuthorAgeFilesLines
* refactor(stories): migrate stories to CSF3 formatArmand Philippot2023-12-151-27/+20
|
* refactor(components): replace ResponsiveImage with Figure componentArmand Philippot2023-11-115-407/+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-116-0/+140
|
* feat(components): add a generic Flip componentArmand Philippot2023-11-115-221/+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(components): make Logo component ESlint compliantArmand Philippot2023-10-241-8/+15
| | | | | I also renamed the title prop to heading because title already exists as HTML attribute.
* build: convert project to esmArmand Philippot2023-10-242-0/+2
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-207-25/+23
| | | | | | 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.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-196-6/+6
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* chore: make Links and Images compliant with Next.js 13Armand Philippot2023-01-233-15/+17
|
* chore: use image title as figure label if no caption is providedArmand Philippot2022-06-071-2/+6
|
* test: install and configure cypressArmand Philippot2022-06-022-2/+2
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* fix: render all images unoptimized in StorybookArmand Philippot2022-05-222-8/+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-203-9/+68
|
* chore: add branding animationArmand Philippot2022-05-181-10/+10
|
* chore: add a CV pageArmand Philippot2022-05-033-9/+9
|
* chore: add a Header componentArmand Philippot2022-04-221-2/+2
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-206-9/+270
| | | | | Add more stories for each components and change some components categories for better organization.
* refactor: support React 18Armand Philippot2022-04-161-5/+5
| | | | | | | | I replaced the deprecated VFC type with FC type and made all children explicits. Formatjs is still not compatible with React 18 so I need to skip type checking when comitting. There are some type errors because of IntlProvider in Storybook stories.
* chore: add a Card componentArmand Philippot2022-04-131-1/+4
|
* chore: add a Summary componentArmand Philippot2022-04-121-2/+12
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-3/+3
| | | | | | | | I was using the FunctionComponent type for some component that do not use children. So I change the type to VoidFunctionComponent to avoid mistakes. I also rename all the "classes" or "additionalClasses" props to "className" to keep consistency between each components.
* chore: add a ResponsiveImage componentArmand Philippot2022-04-064-0/+225