aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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
|
* chore: add all posts from CMS to feedArmand Philippot2022-01-131-2/+10
|
* chore: add feed formats to document headArmand Philippot2022-01-131-0/+22
|
* chore: add different feed formats (feed.xml, atom.xml, feed.json)Armand Philippot2022-01-134-2/+61
|
* chore: generate feedArmand Philippot2022-01-121-0/+54
| | | | | | I could loop until hasNextPage is false, but I'm not sure if it is the best solution. So, for now, only the first 100 posts will be added to the file.
* chore: add title and meta desc to subjects and thematicsArmand Philippot2022-01-114-46/+77
|
* fix(toc): render on each route change and exclude aside titlesArmand Philippot2022-01-112-10/+20
| | | | | | On subject pages for example, the table of contents was not updated on route change. So I added router.asPath as dependency of useEffect. I also changed the query to exclude all titles in aside (ToC, widgets).
* fix(widget): remove items limit for ThematicsList and TopicsListArmand Philippot2022-01-113-12/+9
| | | | | | | By default WPGraphQL gets only the 10 first items if first is not specified. So some subjects was not displayed. I also add an order by title to the query. So I no longer need to sort arrays inside components.
* chore: add toc and widgets to subject pagesArmand Philippot2022-01-111-8/+36
|
* chore(widget): add a related thematics widgetArmand Philippot2022-01-113-1/+36
|
* chore(widget): pass title to TopicsList as parameterArmand Philippot2022-01-112-4/+13
| | | | | I also choose to no display the current topic in the list if the current page is a subject.
* chore: add meta, toc and widgets on thematic pagesArmand Philippot2022-01-112-9/+61
|
* chore(widget): add a related topics widgetArmand Philippot2022-01-116-9/+33
|