aboutsummaryrefslogtreecommitdiffstats
path: root/mdx.d.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine Project pagesArmand Philippot2023-12-081-3/+3
| | | | | | | | | | | * refactor ProjectOverview component to let consumers handle the value * extract project overview depending on Github to avoid fetching Github API if the project is not on Github * wrap dynamic import in a useMemo hook to avoid infinite rerender * fix table of contents by adding a useMutationObserver hook to refresh headings tree (without it useHeadingsTree is not retriggered once the dynamic import is done) * add Cypress tests
* refactor(pages): improve HomepageArmand Philippot2023-11-291-3/+3
| | | | | | | | | * 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
* build(eslint): improve ESlint rulesArmand Philippot2023-10-241-3/+6
| | | | | | In my opinion, next/core-web-vitals rules are too loose so I added a custom config to improve code consistency and to enforce best practices.
* chore: add a LegalNotice pageArmand Philippot2022-05-031-7/+3
|
* chore: use mdx with custom componentsArmand Philippot2022-01-261-3/+6
|
* chore: add PDF and image format to CV pageArmand Philippot2022-01-101-0/+2
|
* chore: replace CV content with mdx contentArmand Philippot2021-12-241-0/+1
| | | | | Since I replace the other pages, there is no reason to fetch this page content through WP GraphQL.
* build: add a typescript declaration file for MDXArmand Philippot2021-12-241-0/+7
I need to inform Typescript than I am exporting a meta constant from MDX files.