summaryrefslogtreecommitdiffstats
path: root/src/components/MDX
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove old pages, components, helpers and typesArmand Philippot2022-04-297-288/+0
| | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch.
* refactor: load prism plugins without babelArmand Philippot2022-03-241-21/+60
|
* refactor: use formatjs swc pluginArmand Philippot2022-03-231-0/+5
| | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id.
* chore(homepage): use next/image for images and specify width/heightArmand Philippot2022-02-222-19/+24
|
* chore: update some texts to reduce its widthArmand Philippot2022-02-131-2/+2
| | | | | | | In French, "Utiliser le thème sombre" was a little too long, so instead I decided to remove the "Toggle" word and add an icon to help user understand the button purpose. Same way, "Aucune étoile" was too long, so I replace it with "0 étoile"
* fix: translate Prism toolbar buttons on MDX code blocksArmand Philippot2022-02-081-13/+29
| | | | The translation was only set on page refresh.
* chore(prism): translate color scheme toggle buttonArmand Philippot2022-02-081-1/+5
|
* refactor(prism): rename color scheme attributes and remove prefixArmand Philippot2022-02-081-1/+1
|
* chore: add a new settings to handle prism theme from toolbarArmand Philippot2022-02-011-0/+10
|
* chore: add a Prism plugin to set code blocks themeArmand Philippot2022-01-311-0/+1
|
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-2/+2
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-2/+4
|
* chore: add a Gallery component for MDX renderingArmand Philippot2022-01-263-1/+56
|
* chore: create a ResponsiveImage component for MDX renderingArmand Philippot2022-01-263-1/+87
|
* chore: create a Link component for MDX renderingArmand Philippot2022-01-262-1/+25
|
* chore: create a CodeBlock component for MDX renderingArmand Philippot2022-01-262-0/+41