aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/layout/branding.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Link componentArmand Philippot2023-11-111-2/+1
| | | | | | | | | * rename `external` prop to `isExternal` * rename `download` prop to `isDownload` * rewrite CSS to reduce code length and complexity * move link styles in Sass placeholders to avoid repeats because of WordPress articles * move NavLink component to molecules
* refactor(components): rewrite Heading componentArmand Philippot2023-10-241-11/+4
| | | | | | | | | * remove `alignment` and `withMargin` props (consumer should handle that) * move styles to Sass placeholders to avoid repeats with headings coming from WordPress * refactor some other components that depend on Heading to avoid ESlint errors
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-10/+8
| | | | | | 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-191-2/+2
| | | | | | 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-231-2/+2
|
* chore: add branding animationArmand Philippot2022-05-181-1/+25
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-201-1/+3
| | | | | Add more stories for each components and change some components categories for better organization.
* refactor: support React 18Armand Philippot2022-04-161-8/+4
| | | | | | | | 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.
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-5/+5
| | | | | | | | 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 Branding componentArmand Philippot2022-04-041-0/+97