aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
Commit message (Collapse)AuthorAgeFilesLines
...
* chore: add a spinner when content is loadingArmand Philippot2022-01-162-13/+27
|
* chore(meta): add a link to comments on single post pagesArmand Philippot2022-01-161-1/+1
|
* chore(comments): handle comment replyArmand Philippot2022-01-151-1/+2
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-158-31/+30
| | | | | | | | | 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.
* chore(homepage): add icons to some buttonsArmand Philippot2022-01-141-2/+10
|
* chore: improve load more button accessibilityArmand Philippot2022-01-142-5/+24
| | | | | | 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: change posts list stylesArmand Philippot2022-01-142-12/+24
|
* chore: add different feed formats (feed.xml, atom.xml, feed.json)Armand Philippot2022-01-133-0/+60
|
* chore: add title and meta desc to subjects and thematicsArmand Philippot2022-01-112-43/+61
|
* chore: add toc and widgets to subject pagesArmand Philippot2022-01-111-8/+36
|
* chore(widget): pass title to TopicsList as parameterArmand Philippot2022-01-111-1/+1
| | | | | 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-111-9/+41
|
* chore(widgets): pass title to thematics list as parameterArmand Philippot2022-01-111-1/+1
| | | | | If the current page is a thematic, I also choose to not display the current thematic in the list.
* refactor(sidebar): use a component to avoid styles repetitionArmand Philippot2022-01-114-8/+12
| | | | | | 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-101-2/+3
|
* chore: add a social media widget on contact and cv pagesArmand Philippot2022-01-102-0/+18
|
* refactor(aside): move width from aside to sharing widgetArmand Philippot2022-01-101-2/+1
| | | | Only the Sharing widget needs the "min-content" width.
* refactor(styles): use compose to declare grid layouts onceArmand Philippot2022-01-101-10/+8
| | | | | | | 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.
* chore: fix 404 page gridArmand Philippot2022-01-081-3/+4
|
* chore: improve comment sectionArmand Philippot2022-01-071-2/+0
| | | | I also adjust styles for all forms and primary buttons.
* chore: adjust css grid on listing pages without sidebarArmand Philippot2022-01-073-22/+21
|
* chore: add a widget to list all blog topicsArmand Philippot2022-01-071-1/+2
|
* chore: add a widget to list all blog thematicsArmand Philippot2022-01-071-10/+16
|
* chore: move Main grid to its childrenArmand Philippot2022-01-067-32/+54
| | | | This way I can use full width background for some blocks.
* refactor: reuse PostHeader for all pages except homepageArmand Philippot2022-01-063-13/+14
|
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-066-51/+74
|
* refactor: move Prism hook from layout to article pageArmand Philippot2022-01-041-0/+17
| | | | | I will not use Prism elsewhere, so it makes more sense to call Prism only inside articles.
* refactor: avoid mutated array with reverse methodArmand Philippot2022-01-042-2/+2
|
* refactor: avoid useless assignement before return statementArmand Philippot2022-01-042-19/+13
|
* refactor(sharing): avoid nested template literalsArmand Philippot2022-01-041-1/+2
| | | | | This improves readability. I also rename a variable to avoid duplicate between global scope and useEffect scope.
* chore(homepage): replace absolute links with custom componentsArmand Philippot2021-12-291-1/+75
|
* chore: replace read more link with ButtonLink componentArmand Philippot2021-12-291-0/+1
| | | | | I also fix the load more button position since I removed the margin auto.
* chore: replace CV content with mdx contentArmand Philippot2021-12-241-15/+6
| | | | | Since I replace the other pages, there is no reason to fetch this page content through WP GraphQL.
* chore: replace homepage content with MDX contentArmand Philippot2021-12-241-7/+3
| | | | | I cannot import custom blocks through WP GraphQL, so I prefer to use MDX file. This way I cannot import custom components.
* chore: replace legal notice page content with MDX contentArmand Philippot2021-12-241-15/+5
| | | | | I cannot use WordPress shortcodes from a custom plugin through WP GraphQL so I'm using mdx file instead to define the page content.
* chore: add a sharing componentArmand Philippot2021-12-211-0/+2
|
* chore: add a table of contentsArmand Philippot2021-12-213-4/+22
|
* chore: add a breadcrumb componentArmand Philippot2021-12-219-35/+41
|
* chore: create search viewArmand Philippot2021-12-201-0/+110
|
* refactor: rewrite types and servicesArmand Philippot2021-12-208-24/+28
| | | | | | | I was repeating myself a lot in services. So I rewrited the different functions to improve readability and I extracted some formatting functions to put them in utils. I also rewrited/reorganized some types to keep consistent names.
* chore: add subject viewArmand Philippot2021-12-181-0/+96
|
* chore: add a 404 pageArmand Philippot2021-12-181-0/+52
|
* chore: create mutation to add a new comment on postsArmand Philippot2021-12-171-1/+1
|
* chore: create mutation to send mail from contact formArmand Philippot2021-12-171-2/+22
|
* chore: add title and meta desc to postsArmand Philippot2021-12-171-19/+35
|
* chore: add a comment form to postsArmand Philippot2021-12-171-0/+3
|
* chore: add meta to single postsArmand Philippot2021-12-171-6/+15
|
* chore: display comments list on postsArmand Philippot2021-12-171-0/+6
|
* chore: create thematic page viewArmand Philippot2021-12-161-0/+77
| | | | | | | For now I have to repeat some markup/styles, I cannot reuse PostsList component. WP GraphQL does not offer edges for ACF Post2Post or filters to get thematic posts with another way. I should create custom fields in backend to improve the posts fetching.
* refactor: move SWR to blog pageArmand Philippot2021-12-161-5/+40
| | | | This way I can reuse PostsList component with another posts fetcher.