aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/links
Commit message (Collapse)AuthorAgeFilesLines
* feat(components): add a VisuallyHidden componentArmand Philippot2023-11-111-2/+2
|
* refactor(components): rewrite SocialLink componentArmand Philippot2023-11-117-97/+143
| | | | | * replace default label with a label prop * rename name prop to icon prop
* refactor(components): rewrite SharingLink componentArmand Philippot2023-11-118-253/+241
| | | | | * replace default label with label prop * simplify CSS rules
* refactor(components): rewrite Link componentArmand Philippot2023-11-1113-474/+249
| | | | | | | | | * 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
* feat(components): replace icons with a generic Icon componentArmand Philippot2023-10-241-1/+0
| | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS.
* build: convert project to esmArmand Philippot2023-10-244-0/+4
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-2013-42/+30
| | | | | | 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-199-15/+15
| | | | | | 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-232-12/+9
|
* test(unit): fix Jest errors due to images importArmand Philippot2022-06-031-0/+3
| | | | | I mocked some SVG files and moves the branding photo to public directory. It is more a workaround than a real fix but it works so...
* test: install and configure cypressArmand Philippot2022-06-024-4/+4
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* chore: adjust dark mode stylesArmand Philippot2022-05-222-32/+184
|
* chore: complete Storybook storiesArmand Philippot2022-05-211-4/+1
|
* chore: adjust and complete missing stylesArmand Philippot2022-05-161-23/+0
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* chore: improve accessibilityArmand Philippot2022-05-151-0/+23
|
* chore: add a CV pageArmand Philippot2022-05-033-8/+117
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-204-21/+136
| | | | | Add more stories for each components and change some components categories for better organization.
* refactor: support React 18Armand Philippot2022-04-165-12/+26
| | | | | | | | 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 Nav componentArmand Philippot2022-04-121-3/+1
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-085-16/+29
| | | | | | | | 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-061-3/+15
|
* chore: add a SharingLink componentArmand Philippot2022-04-054-0/+301
|
* chore: add a NavLink componentArmand Philippot2022-04-044-0/+145
|
* chore: add a social link componentArmand Philippot2022-04-014-0/+149
|
* chore: add a Link componentArmand Philippot2022-03-314-0/+153