aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/cv.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite SocialLink componentArmand Philippot2023-11-111-3/+31
| | | | | * replace default label with a label prop * rename name prop to icon prop
* refactor(components): rewrite Link componentArmand Philippot2023-11-111-2/+2
| | | | | | | | | * 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 List componentArmand Philippot2023-11-111-1/+22
| | | | | | | | | * change `items` prop to children * replace `kind` prop with `isHierarchical`, `isOrdered` & `isInline` props * add `hideMarker` prop * add `spacing` prop to control item spacing * move lists styles to Sass placeholders to avoid repeats because of headless WordPress
* refactor(routes): replace hardcoded routes with constantsArmand Philippot2023-10-241-65/+68
| | | | | | | | It makes it easier to change a route if needed and it avoid typo mistakes. I also refactored a bit the concerned files to be complient with the new ESlint config. However, I should rewrite the pages to reduce the number of statements.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-13/+13
| | | | | | 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-21/+71
| | | | | * MDX type has changed so some components props had to be updated * Since Storybook now supports TS, I renamed the main/preview files
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-20/+20
| | | | | | 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-11/+37
|
* chore: use image title as figure label if no caption is providedArmand Philippot2022-06-071-9/+1
|
* refactor(schema): use helpers function to avoid repeat between pagesArmand Philippot2022-05-231-39/+22
|
* chore: use persistent layoutArmand Philippot2022-05-171-2/+7
| | | | | It prevents to rerender the common components between pages (header, footer...).
* chore: adjust and complete missing stylesArmand Philippot2022-05-161-2/+17
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* refactor: use custom hook for breadcrumb items and schemaArmand Philippot2022-05-161-13/+9
|
* refactor: rewrite DescriptionList and Meta componentsArmand Philippot2022-05-091-18/+8
| | | | | | The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels.
* chore: add a CV pageArmand Philippot2022-05-031-0/+198
|
* chore: remove old pages, components, helpers and typesArmand Philippot2022-04-291-181/+0
| | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch.
* refactor: use formatjs swc pluginArmand Philippot2022-03-231-0/+7
| | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id.
* refactor: replace script tags with next/script (#10)Armand Philippot2022-02-211-4/+6
| | | | | | | | * refactor: replace script tags with next/script Since next.js v12.1.0 some warnings was displayed because I was using some script tags. * build(deps): bump next-themes to v0.1.1
* chore: improve accessibilityArmand Philippot2022-02-111-2/+14
|
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-13/+13
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-11/+44
|
* chore(i18n): replace i18n provider and helpersArmand Philippot2022-01-291-11/+11
|
* fix: handle translation with linguiArmand Philippot2022-01-281-5/+4
| | | | | | | | The previous method was not working so I tried a different approach. Translation is loaded but I'm still getting warnings: * Plurals for locale undefined aren't loaded * Text content did not match I can't figure how to fix them...
* chore: add opengraph and twitter metaArmand Philippot2022-01-191-3/+10
|
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-191-1/+1
| | | | | I will need the country code, so I think it makes more sense to gather them inside the same property.
* chore: add structured data using schema.org and JSON-LDArmand Philippot2022-01-191-0/+48
| | | | I also added the featured image on single article.
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-5/+4
| | | | | | | | | I'm now using a widget that can be expanded/collapsed. It also allows me to handle more effectively widgets overflow and to avoid styles repetitions. However, with stylelint rule "no-descending-specificity", I'm not sure if the stylesheets are really logical... Maybe I should deactivate this rule.
* refactor(sidebar): use a component to avoid styles repetitionArmand Philippot2022-01-111-2/+3
| | | | | | I also fix some overflow/sticky issues. I have to set overflow auto only when there is no button-like links otherwise, with translate, the button is cropped on hover.
* chore: add PDF and image format to CV pageArmand Philippot2022-01-101-2/+3
|
* chore: add a social media widget on contact and cv pagesArmand Philippot2022-01-101-0/+9
|
* chore: move Main grid to its childrenArmand Philippot2022-01-061-3/+6
| | | | This way I can use full width background for some blocks.
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-061-6/+18
|
* chore: replace CV content with mdx contentArmand Philippot2021-12-241-15/+6
| | | | | Since I replace the other pages, there is no reason to fetch this page content through WP GraphQL.
* chore: add a table of contentsArmand Philippot2021-12-211-2/+10
|
* chore: add a breadcrumb componentArmand Philippot2021-12-211-3/+4
|
* refactor: rewrite types and servicesArmand Philippot2021-12-201-2/+2
| | | | | | | I was repeating myself a lot in services. So I rewrited the different functions to improve readability and I extracted some formatting functions to put them in utils. I also rewrited/reorganized some types to keep consistent names.
* chore: create CV viewArmand Philippot2021-12-151-0/+48