aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/providers/prism-theme.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-3/+1
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-3/+3
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* refactor: rewrite Prism hooks and providersArmand Philippot2022-05-191-47/+31
| | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable.
* chore: handle settings changeArmand Philippot2022-05-181-1/+1
|
* chore: remove old pages, components, helpers and typesArmand Philippot2022-04-291-0/+2
| | | | | 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-0/+165