aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* chore: create a CodeBlock component for MDX renderingArmand Philippot2022-01-262-0/+41
|
* chore: adjust colors and grid layoutArmand Philippot2022-01-251-31/+0
|
* chore: wrap dates with time tagArmand Philippot2022-01-254-70/+74
|
* chore: add reading time in posts metaArmand Philippot2022-01-253-24/+69
|
* chore: display a progress bar before load more buttonArmand Philippot2022-01-252-0/+58
| | | | | 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-252-9/+23
|
* refactor(project): replace repo api call method with hook and swrArmand Philippot2022-01-241-22/+19
| | | | | | | | | | 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-235-41/+40
| | | | | I change the name in graphql endpoint, so I decided to repercute this change here.
* chore: include projects inside breadcrumbArmand Philippot2022-01-201-1/+22
|
* chore: add a project summary componentArmand Philippot2022-01-202-0/+195
|
* chore: add projects to main navArmand Philippot2022-01-206-10/+120
| | | | | | 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-202-3/+3
|
* chore: add a page for projectsArmand Philippot2022-01-204-0/+188
|
* chore: allow ReactElement as intro in PostHeaderArmand Philippot2022-01-191-7/+22
|
* chore: add opengraph and twitter metaArmand Philippot2022-01-191-0/+8
|
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-192-2/+2
| | | | | 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-195-62/+226
| | | | 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-172-0/+37
| | | | | Some users may not know the reduced motion settings, so I provide an option directly on the website to disable animations.
* 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-1718-41/+91
|
* 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-1627-110/+95
|
* chore: add a spinner when content is loadingArmand Philippot2022-01-166-34/+119
|
* chore(meta): add a link to comments on single post pagesArmand Philippot2022-01-161-1/+8
|
* chore(comments): handle comment replyArmand Philippot2022-01-156-23/+90
|
* fix: keep logo consistent on zoomArmand Philippot2022-01-151-1/+1
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-1530-105/+513
| | | | | | | | | 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-141-7/+0
|
* chore: improve load more button accessibilityArmand Philippot2022-01-142-16/+41
| | | | | | 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-142-22/+96
|
* chore: change posts list stylesArmand Philippot2022-01-143-10/+40
|
* 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 feed formats to document headArmand Philippot2022-01-131-0/+22
|
* fix(toc): render on each route change and exclude aside titlesArmand Philippot2022-01-111-3/+0
| | | | | | 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-112-10/+2
| | | | | | | 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(widget): add a related thematics widgetArmand Philippot2022-01-113-1/+36
|
* chore(widget): pass title to TopicsList as parameterArmand Philippot2022-01-111-3/+12
| | | | | I also choose to no display the current topic in the list if the current page is a subject.
* chore(widget): add a related topics widgetArmand Philippot2022-01-116-9/+33
|
* chore(meta): display subjects instead of thematics on Thematic pagesArmand Philippot2022-01-112-3/+29
|
* chore(widgets): pass title to thematics list as parameterArmand Philippot2022-01-111-4/+12
| | | | | If the current page is a thematic, I also choose to not display the current thematic in the list.
* fix(back-to-top): set translate with percentageArmand Philippot2022-01-111-6/+5
| | | | | With px/rem, on zoom the arrow head is not positionned correctly. Using percentage fix this issue.
* refactor(sidebar): use a component to avoid styles repetitionArmand Philippot2022-01-115-10/+75
| | | | | | I also fix some overflow/sticky issues. I have to set overflow auto only when there is no button-like links otherwise, with translate, the button is cropped on hover.
* chore: add PDF and image format to CV pageArmand Philippot2022-01-103-1/+51
|
* chore: add a social media widget on contact and cv pagesArmand Philippot2022-01-103-1/+121
|
* refactor(aside): move width from aside to sharing widgetArmand Philippot2022-01-103-1/+3
| | | | Only the Sharing widget needs the "min-content" width.
* refactor(styles): use css grid to stylize post headerArmand Philippot2022-01-102-13/+35
| | | | | By using pseudo elements instead of background with padding, it is easier to control the look of posts header.