aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* chore: close mainNav on click outside or route changeArmand Philippot2022-02-011-2/+25
|
* chore: add the Matomo opt-out formArmand Philippot2022-02-012-0/+10
|
* chore: move pagination cursor title in a separate divArmand Philippot2022-02-018-20/+39
| | | | | | The progress bar will be clearer for everyone if the information about the number of loaded articles is printed without hovering the progress bar.
* chore: animate main with fade in effectArmand Philippot2022-02-012-0/+14
|
* chore: animate brandingArmand Philippot2022-02-013-4/+136
|
* fix: disable animations and transitions on pseudo elementsArmand Philippot2022-02-011-2/+6
|
* chore: animate toolbar entranceArmand Philippot2022-02-012-0/+28
|
* chore: add a new settings to handle prism theme from toolbarArmand Philippot2022-02-018-1/+245
|
* chore: add MatomoArmand Philippot2022-01-316-12/+40
|
* chore: add a Prism plugin to set code blocks themeArmand Philippot2022-01-316-2/+309
|
* docs: replace NextJS bootstrapped readme with current project infoArmand Philippot2022-01-311-17/+70
|
* chore(icons): update main nav iconsArmand Philippot2022-01-314-58/+58
| | | | | | | The CV link text seemed misaligned before. By moving the "diploma" to the bottom, the look is better I think. Also, the computer icon was a little small compared to the others, so I fixed it.
* chore(baseline): handle baseline translation manuallyArmand Philippot2022-01-304-5/+19
| | | | | | I cannot use formatjs to translate the website baseline since I need an async function to load the message. If I use the getIntlInstance helper outside NextJS, webpack is complaining about fs and path.
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-2928-216/+211
|
* refactor(widgets): move social media websites from config to widgetArmand Philippot2022-01-294-24/+71
| | | | | | I only use this config inside the SocialMedia widget so it makes more sense to gather them. In addition I can translate the website names if needed.
* refactor(widgets): move sharing websites from config to sharing widgetArmand Philippot2022-01-294-73/+136
| | | | | | I only use these websites inside the sharing widget so it makes more sense to gather them. In addition, I can translate the website name if needed.
* fix: set current project title in breadcrumbArmand Philippot2022-01-291-1/+1
|
* chore: translate in FrenchArmand Philippot2022-01-291-135/+135
|
* build(deps): bump dependenciesArmand Philippot2022-01-292-2634/+1453
|
* build(deps): remove linguiArmand Philippot2022-01-298-2054/+18
|
* feat(i18n): replace linguijs with formatjsArmand Philippot2022-01-2962-529/+3077
|\
| * chore: replace lingui functions with react-intlArmand Philippot2022-01-2954-341/+2314
| |
| * chore(i18n): replace i18n provider and helpersArmand Philippot2022-01-2915-192/+131
| |
| * build: configure webpack to use react-intl without parserArmand Philippot2022-01-291-1/+6
| |
| * build(deps): configure eslint and babel with formatjsArmand Philippot2022-01-282-1/+6
| |
| * build(deps): install formatjsArmand Philippot2022-01-283-14/+640
|/
* fix: handle translation with linguiArmand Philippot2022-01-2821-176/+1236
| | | | | | | | The previous method was not working so I tried a different approach. Translation is loaded but I'm still getting warnings: * Plurals for locale undefined aren't loaded * Text content did not match I can't figure how to fix them...
* chore: translate website to FrenchArmand Philippot2022-01-272-4/+550
|
* chore: update titles and meta descArmand Philippot2022-01-271-13/+14
|
* chore: add favicon, webmanifest and theme color preferencesArmand Philippot2022-01-277-2/+31
|
* chore: update logoArmand Philippot2022-01-276-175/+80
| | | | | Adjust previous colors to fit the new website and add a dark version to better fit with the dark theme.
* chore: update project preview appearanceArmand Philippot2022-01-276-28/+40
|
* fix(project): make sure the project cover is displayedArmand Philippot2022-01-277-19/+20
| | | | | | | | Next.js does not support the dynamic import of images. Sometimes the images was displayed and other times the loading did not finish. So even if I would like to keep the content in a same place, I choose to put the projects covers inside the public directory. Then I use a hasCover boolean to determine if the project cover need to be printed.
* fix: make progress bar styles consistent between browsersArmand Philippot2022-01-271-0/+8
| | | | | On Chromium the progress bar background was not applied. However the border is still thicker than on Firefox.
* chore: add normalize whitespace prism pluginArmand Philippot2022-01-271-0/+1
| | | | | | | | When passing code sample as children to a component, React add an extra newline at the end of the sample. Both line-numbers and command-line plugins use the newline character. So each code blocks was printing an extra new line at the end. It is not wanted. The normalize whitespace plugin prevent this.
* chore: use mdx with custom componentsArmand Philippot2022-01-262-5/+16
|
* chore(widgets): update recent posts layoutArmand Philippot2022-01-261-4/+18
| | | | Replace flex with grid to avoid cards reflow on resize.
* 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
|
* fix: replace dynamic import with requireArmand Philippot2022-01-261-4/+4
| | | | | | The table of contents was not able to get the headings list on first render because of dynamic import. By using require, it works as expected.
* chore: adjust colors and grid layoutArmand Philippot2022-01-256-44/+25
|
* chore: wrap dates with time tagArmand Philippot2022-01-255-70/+90
|
* chore: add reading time in posts metaArmand Philippot2022-01-259-30/+130
|
* chore: display a progress bar before load more buttonArmand Philippot2022-01-254-10/+110
| | | | | Since I'm using cursor pagination, users cannot know if there is a lot of posts available. With this cursor, they can verify the progression.
* chore: display total found posts in page metaArmand Philippot2022-01-259-12/+41
|
* refactor(project): replace repo api call method with hook and swrArmand Philippot2022-01-246-40/+45
| | | | | | | | | | Instead of using post slug and an environment variable to fetch repo data, I use the given repo in each project MDX file. It allows me to fetch data from another user/organization if needed. To make it work, I no longer provide the full URL in MDX file. The new format is: "User/repo-slug". I also replaced the fetch method with SWR to improve caching and to avoid React complaining about cleanup useEffect.
* refactor: rename all subject occurrences into topicArmand Philippot2022-01-2314-192/+181
| | | | | I change the name in graphql endpoint, so I decided to repercute this change here.
* build(deps): bump nanoid from 3.1.30 to 3.2.0dependabot[bot]2022-01-221-3/+3
| | | | | | | | | | | | | | Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>