aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* build(deps): remove linguiArmand Philippot2022-01-295-1599/+0
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-2954-341/+2314
|
* chore(i18n): replace i18n provider and helpersArmand Philippot2022-01-2915-192/+131
|
* fix: handle translation with linguiArmand Philippot2022-01-2819-173/+1231
| | | | | | | | 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-271-2/+16
|
* 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-274-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: use mdx with custom componentsArmand Philippot2022-01-261-2/+10
|
* 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-245-38/+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.
* chore: add sharing widget to single project viewArmand Philippot2022-01-201-1/+4
|
* chore: include projects inside breadcrumbArmand Philippot2022-01-201-1/+22
|
* chore: add a project summary componentArmand Philippot2022-01-205-0/+217
|
* chore: add projects to main navArmand Philippot2022-01-209-12/+212
| | | | | | I redesign a little the main nav on small screens so it can takes two columns when the screen height is low. I change the 2xs breakpoint to 500px instead of 400px.
* chore: add single project viewArmand Philippot2022-01-205-41/+218
|
* chore: add a page for projectsArmand Philippot2022-01-2010-0/+402
|
* chore: allow ReactElement as intro in PostHeaderArmand Philippot2022-01-191-7/+22
|
* chore: add opengraph and twitter metaArmand Philippot2022-01-1910-21/+80
|
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-1913-18/+22
| | | | | I will need the country code, so I think it makes more sense to gather them inside the same property.
* chore: add structured data using schema.org and JSON-LDArmand Philippot2022-01-1916-65/+600
| | | | I also added the featured image on single article.
* chore: improve keyboard navigationArmand Philippot2022-01-182-2/+36
| | | | | Add some focus styles mainly in toolbar components to help identify active items when navigating with a keyboard.
* feat: add a setting to disable animations and transitionsArmand Philippot2022-01-173-0/+45
| | | | | Some users may not know the reduced motion settings, so I provide an option directly on the website to disable animations.
* chore: add a service to handle local storageArmand Philippot2022-01-171-0/+26
|
* refactor(settings): make toggle reusableArmand Philippot2022-01-177-48/+94
| | | | | Toggle will be used for others settings so I extract the functionnality from ThemeToggle.
* feat: implement dark modeArmand Philippot2022-01-1729-109/+298
|
* chore: replace copyright icon import with custom componentArmand Philippot2022-01-175-6/+38
| | | | | It allows me to set the colors with CSS and it will be easier to implement dark mode.
* refactor(styles): rename shadow and border variablesArmand Philippot2022-01-1635-157/+141
|
* chore: add a spinner when content is loadingArmand Philippot2022-01-168-47/+146
|
* chore(meta): add a link to comments on single post pagesArmand Philippot2022-01-162-2/+9
|
* chore(comments): handle comment replyArmand Philippot2022-01-157-24/+92
|
* fix: keep logo consistent on zoomArmand Philippot2022-01-151-1/+1
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-1541-165/+547
| | | | | | | | | I'm now using a widget that can be expanded/collapsed. It also allows me to handle more effectively widgets overflow and to avoid styles repetitions. However, with stylelint rule "no-descending-specificity", I'm not sure if the stylesheets are really logical... Maybe I should deactivate this rule.
* refactor(buttons): add a tertiary kind (previously links styles)Armand Philippot2022-01-143-51/+19
|
* chore(homepage): add icons to some buttonsArmand Philippot2022-01-144-9/+32
|
* chore: customize text selection colorsArmand Philippot2022-01-143-0/+8
|