summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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-206-0/+219
|
* 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-2011-0/+403
|
* 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-1919-65/+607
| | | | 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.
* chore: add scroll restoration for posts listArmand Philippot2022-01-181-0/+3
| | | | | | It would be nice to restore focus as well, but it seems I can not retrieve which posts was click on history back. I should find an alternative later.
* 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-1731-109/+304
|
* 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
|
* chore: customize browser scrollbarArmand Philippot2022-01-141-0/+20
|
* fix: make links pseudo elements consistent between browsersArmand Philippot2022-01-141-15/+13
| | | | | On Chromium the pseudo elements (like external links icon) was not displayed correctly.
* chore: improve load more button accessibilityArmand Philippot2022-01-144-21/+65
| | | | | | On click, the focus should be moved to the last post in the list instead of keeping it on load more button. It helps to keep a consistent navigation for keyboard users for example.
* chore: improve Branding componentArmand Philippot2022-01-143-22/+266
|
* chore(prism): remove negative marginsArmand Philippot2022-01-141-2/+0
| | | | With toc and sidebar, spacing is important to improve readability.
* chore: change posts list stylesArmand Philippot2022-01-147-75/+66
|
* chore: change secondary button stylesArmand Philippot2022-01-141-18/+19
|
* chore(toolbar): close modals on click/focus outsideArmand Philippot2022-01-143-16/+94
|
* fix: remove focus on route changeArmand Philippot2022-01-131-1/+10
|