aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/helpers/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* feat: replace next-themes with a custom ThemeProviderArmand Philippot2023-11-111-0/+1
| | | | | | | To be honest, next-themes was working fine. However since I use a theme provider for Prism code blocks, some code is duplicated between this app and the library. So I prefer to use a custom Provider without the options I don't need.
* feat(components): add a Time componentArmand Philippot2023-11-111-1/+0
| | | | | | Instead of using helpers functions to format the date each time we need to use a time element, it makes more sense to create a new component dedicated to this task.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-0/+7
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.