aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/buttons/button-link.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Button and ButtonLink componentsArmand Philippot2023-10-241-55/+0
| | | | | | | | | | | | | | Both: * move styles to Sass placeholders Button: * add `isPressed` prop to Button * add `isLoading` prop to Button (to differentiate state from disabled) ButtonLink: * replace `external` prop with `isExternal` prop * replace `href` prop with `to` prop
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-27/+6
| | | | | | 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.
* chore: make Links and Images compliant with Next.js 13Armand Philippot2023-01-231-7/+6
|
* chore(cards): use post title as link labelArmand Philippot2022-06-071-0/+4
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-201-1/+1
| | | | | Add more stories for each components and change some components categories for better organization.
* 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 Summary componentArmand Philippot2022-04-121-3/+11
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-1/+1
| | | | | | | | 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 back to top componentArmand Philippot2022-04-011-3/+15
|
* chore: add a button link componentArmand Philippot2022-03-311-0/+49