aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/helpers/strings.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): improve HomepageArmand Philippot2023-11-291-0/+13
| | | | | | | | | * 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(hooks,provider): move reduce motion setterArmand Philippot2023-11-111-12/+20
| | | | | | | | | | Since the local storage key is not meant to change between the components, it should be set directly inside the app file. So both the local storage and the data attribute should be handle in a provider. I also added a custom document because we need a script to retrieve the stored value in local storage earlier to avoid flashing on hydration.
* refactor: rewrite Prism hooks and providersArmand Philippot2022-05-191-0/+10
| | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable.
* chore: add Project single pagesArmand Philippot2022-05-131-0/+29