aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/mdx.tsx
Commit message (Collapse)AuthorAgeFilesLines
* build(deps): bump all dependencies except undiciArmand Philippot2023-12-151-1/+0
| | | | undici v6 is breaking Jest tests (ReadableStream, structuredClone)
* refactor(pages): improve HomepageArmand Philippot2023-11-291-1/+16
| | | | | | | | | * 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): replace items prop in Grid with children propArmand Philippot2023-11-221-6/+7
| | | | | | | | | It is easier to read and to maintain this way. The `items` prop was not useful since we are not manipulating the items. Changes: * extract GridItem component from Grid component * replace `items` prop of type Array<ReactNode> with `children` prop of type ReactNode * remove GridItem styles
* refactor(components,pages): extract MDX components mapping from pagesArmand Philippot2023-11-221-0/+90
Instead of repeating the overriding on each pages, we should define it in one place and reuse it in pages. By default it is not possible to override native HTML tags with MDX so I added a plugin in next config to allow it.