aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/mdx.tsx
Commit message (Collapse)AuthorAgeFilesLines
* 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.