aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* refactor(styles): use compose to declare grid layouts onceArmand Philippot2022-01-104-15/+7
| | | | | | | I'm using same grid layouts in multiple places. To avoid maintenance issue, I think it is better to declare the grid once and to import its declaration where it is needed. Thanks to CSS modules, I can use compose to do that.
* refactor: improve button-like links stylesArmand Philippot2022-01-086-63/+29
| | | | | | | The goal was to replace the "read more articles about" links with button-like links to keep a certain consistence between buttons. The hasIcon variable was useless so I update some components and especially the back to top link.
* chore: ensure 100vh height and improve Header/Footer stylesArmand Philippot2022-01-084-4/+17
|
* chore: update homepage stylesArmand Philippot2022-01-081-1/+5
|
* chore: adjust h2 stylesArmand Philippot2022-01-082-1/+6
|
* chore(widget): improve recent posts stylesArmand Philippot2022-01-081-5/+36
|
* chore: improve search box and add button interactions on hover/focusArmand Philippot2022-01-075-17/+90
|
* chore: add article header stylesArmand Philippot2022-01-074-16/+67
|
* chore: add main nav link statesArmand Philippot2022-01-072-4/+140
|
* chore: improve comment sectionArmand Philippot2022-01-0710-67/+136
| | | | I also adjust styles for all forms and primary buttons.
* fix: check for undefined meta in post headerArmand Philippot2022-01-071-1/+11
| | | | | The meta object can exists but its properties can be undefined. So I don't want to display the dl if all properties are undefined.
* chore: add a widget to list all blog topicsArmand Philippot2022-01-073-1/+44
|
* chore: add a widget to list all blog thematicsArmand Philippot2022-01-073-1/+45
|
* chore: move Main grid to its childrenArmand Philippot2022-01-069-48/+73
| | | | This way I can use full width background for some blocks.
* refactor: reuse PostHeader for all pages except homepageArmand Philippot2022-01-061-5/+7
|
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-064-112/+138
|
* chore: replace theme button with settingsArmand Philippot2022-01-0519-173/+137
| | | | | I plan to add more user settings so theme options should be inside settings.
* refactor: move Prism hook from layout to article pageArmand Philippot2022-01-041-17/+1
| | | | | I will not use Prism elsewhere, so it makes more sense to call Prism only inside articles.
* chore: add a recent posts widget to the homepageArmand Philippot2022-01-043-0/+129
|
* refactor(sharing): avoid nested template literalsArmand Philippot2022-01-046-28/+29
| | | | | This improves readability. I also rename a variable to avoid duplicate between global scope and useEffect scope.
* chore: add a back to top linkArmand Philippot2022-01-043-1/+107
|