summaryrefslogtreecommitdiffstats
path: root/src/pages
Commit message (Collapse)AuthorAgeFilesLines
* chore: add MatomoArmand Philippot2022-01-311-12/+16
|
* chore: add a Prism plugin to set code blocks themeArmand Philippot2022-01-311-0/+1
|
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-2913-146/+146
|
* fix: set current project title in breadcrumbArmand Philippot2022-01-291-1/+1
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-2911-114/+424
|
* chore(i18n): replace i18n provider and helpersArmand Philippot2022-01-2913-117/+113
|
* fix: handle translation with linguiArmand Philippot2022-01-2813-91/+69
| | | | | | | | The previous method was not working so I tried a different approach. Translation is loaded but I'm still getting warnings: * Plurals for locale undefined aren't loaded * Text content did not match I can't figure how to fix them...
* chore: update project preview appearanceArmand Philippot2022-01-271-3/+3
|
* fix(project): make sure the project cover is displayedArmand Philippot2022-01-271-4/+4
| | | | | | | | Next.js does not support the dynamic import of images. Sometimes the images was displayed and other times the loading did not finish. So even if I would like to keep the content in a same place, I choose to put the projects covers inside the public directory. Then I use a hasCover boolean to determine if the project cover need to be printed.
* chore: use mdx with custom componentsArmand Philippot2022-01-261-2/+10
|
* 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: add reading time in posts metaArmand Philippot2022-01-251-0/+3
|
* chore: display a progress bar before load more buttonArmand Philippot2022-01-252-10/+52
| | | | | 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-254-3/+15
|
* refactor(project): replace repo api call method with hook and swrArmand Philippot2022-01-241-1/+1
| | | | | | | | | | 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-234-59/+53
| | | | | 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: add a project summary componentArmand Philippot2022-01-201-0/+2
|
* chore: add single project viewArmand Philippot2022-01-201-0/+154
|
* chore: add a page for projectsArmand Philippot2022-01-201-0/+108
|
* chore: add opengraph and twitter metaArmand Philippot2022-01-198-21/+71
|
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-198-13/+13
| | | | | 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-198-3/+369
| | | | I also added the featured image on single article.
* feat: implement dark modeArmand Philippot2022-01-172-4/+11
|
* 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
|