aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/headings/heading.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Heading componentArmand Philippot2023-10-241-93/+0
| | | | | | | | | * 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-19/+15
| | | | | | 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.
* build(deps): bump all dependenciesArmand Philippot2023-09-191-1/+4
| | | | | * MDX type has changed so some components props had to be updated * Since Storybook now supports TS, I renamed the main/preview files
* chore: adjust articles stylesArmand Philippot2022-05-171-12/+46
| | | | | * change animation on article card hover * change comments section alignment
* refactor: support React 18Armand Philippot2022-04-161-1/+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 CommentForm componentArmand Philippot2022-04-151-0/+6
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-6/+8
| | | | | | | | 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 Modal componentArmand Philippot2022-04-061-3/+3
|
* chore: add a Branding componentArmand Philippot2022-04-041-4/+31
|
* chore: add a Heading componentArmand Philippot2022-03-311-0/+21