aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/buttons/button-link
Commit message (Collapse)AuthorAgeFilesLines
* refactor(stories): migrate stories to CSF3 formatArmand Philippot2023-12-153-114/+170
|
* refactor(pages): improve HomepageArmand Philippot2023-11-291-0/+2
| | | | | | | | | * move custom homepage components that does not require props to the MDX file (links should not need to be translated here but where they are defined) * move SEO title and meta desc to MDX file * make Page component the wrapper instead of using a React fragment * fix MDX module types
* refactor(components): rewrite Pagination componentArmand Philippot2023-11-111-0/+17
|
* refactor(components): rewrite Card componentArmand Philippot2023-11-111-1/+1
| | | | | | | | | | | | | * make the component more generic * merge `<Summary />` and `<Comment />` styles into card component to avoid repeating the same structure * remove most of the props to use composition However the CSS is a bit complex because of the two variants... Also, the component should be refactored when the CSS pseudo-class `:has` has enough support: the provider and the `cover` and `meta` props should be removed.
* refactor(components): rewrite Button and ButtonLink componentsArmand Philippot2023-10-245-0/+340
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