| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | chore: display initial posts, thematics & topics | Armand Philippot | 2022-02-14 | 3 | -17/+47 |
| | | | | | | By fetching the data in getStaticProps, I can display the data even for users with Javascript disabled. | ||||
| * | chore: load recent posts on homepage during build | Armand Philippot | 2022-02-14 | 1 | -1/+19 |
| | | | | | This way, even whithout JS, user can see the latest posts. | ||||
| * | fix: update comments list when a new comment is send | Armand Philippot | 2022-02-14 | 1 | -5/+14 |
| | | | | | | The comments list was static before. If an user posted a comment, even after it was approved, the comments list was keeping the old state. | ||||
| * | chore(matomo): use another dependency to track page views | Armand Philippot | 2022-02-14 | 1 | -18/+23 |
| | | | | | | | I though the previous package would track all visits with the provided but it seems that I need to add trackPageView on all pages. So I decided to use another package. | ||||
| * | chore: add some noscript tags to explain why the data are not loaded | Armand Philippot | 2022-02-13 | 1 | -0/+6 |
| | | |||||
| * | chore: improve RSS feed generation time | Armand Philippot | 2022-02-13 | 3 | -0/+12 |
| | | |||||
| * | fix: switch prism theme on single article | Armand Philippot | 2022-02-13 | 1 | -1/+1 |
| | | | | | I forgot to change the selector to query all code blocks. | ||||
| * | chore: update some texts to reduce its width | Armand Philippot | 2022-02-13 | 1 | -2/+2 |
| | | | | | | | | In French, "Utiliser le thème sombre" was a little too long, so instead I decided to remove the "Toggle" word and add an icon to help user understand the button purpose. Same way, "Aucune étoile" was too long, so I replace it with "0 étoile" | ||||
| * | chore: improve accessibility | Armand Philippot | 2022-02-11 | 5 | -10/+72 |
| | | |||||
| * | fix(prism): translate toolbar buttons on single article pages | Armand Philippot | 2022-02-10 | 1 | -12/+31 |
| | | | | | | The translation was not always loaded the first time. So I decided to put the prism attributes manually instead. | ||||
| * | refactor: extract contact form from contact page | Armand Philippot | 2022-02-10 | 1 | -141/+2 |
| | | | | | | The contact page file was too long. By extracting the contact form the readability is improved. | ||||
| * | chore: improve contact form behavior | Armand Philippot | 2022-02-10 | 1 | -5/+37 |
| | | | | | | | | * The status was not visile in top of the form, so I moved it under the submit button. * It was possible to send an empty form. * The input type for email should be email instead of text. | ||||
| * | chore(prism): translate color scheme toggle button | Armand Philippot | 2022-02-08 | 1 | -1/+6 |
| | | |||||
| * | fix: handle getStaticPaths fallback | Armand Philippot | 2022-02-02 | 3 | -26/+42 |
| | | | | | | | | | I had errors with next build because of fallback. I need to return early if the path does not exists, if not Next complains about undefined variables. I don't think it was related but I also fix the paths format in getStaticPaths, I forgot the params object in some dynamic routes. | ||||
| * | chore: remove default Next api routes | Armand Philippot | 2022-02-02 | 1 | -13/+0 |
| | | | | | I'm not using them. | ||||
| * | chore: move pagination cursor title in a separate div | Armand Philippot | 2022-02-01 | 2 | -0/+2 |
| | | | | | | | The progress bar will be clearer for everyone if the information about the number of loaded articles is printed without hovering the progress bar. | ||||
| * | chore: add a new settings to handle prism theme from toolbar | Armand Philippot | 2022-02-01 | 2 | -1/+14 |
| | | |||||
| * | chore: add Matomo | Armand Philippot | 2022-01-31 | 1 | -12/+16 |
| | | |||||
| * | chore: add a Prism plugin to set code blocks theme | Armand Philippot | 2022-01-31 | 1 | -0/+1 |
| | | |||||
| * | refactor(config): move config from config dir to utils | Armand Philippot | 2022-01-29 | 13 | -146/+146 |
| | | |||||
| * | fix: set current project title in breadcrumb | Armand Philippot | 2022-01-29 | 1 | -1/+1 |
| | | |||||
| * | chore: replace lingui functions with react-intl | Armand Philippot | 2022-01-29 | 11 | -114/+424 |
| | | |||||
| * | chore(i18n): replace i18n provider and helpers | Armand Philippot | 2022-01-29 | 13 | -117/+113 |
| | | |||||
| * | fix: handle translation with lingui | Armand Philippot | 2022-01-28 | 13 | -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 appearance | Armand Philippot | 2022-01-27 | 1 | -3/+3 |
| | | |||||
| * | fix(project): make sure the project cover is displayed | Armand Philippot | 2022-01-27 | 1 | -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 components | Armand Philippot | 2022-01-26 | 1 | -2/+10 |
| | | |||||
| * | fix: replace dynamic import with require | Armand Philippot | 2022-01-26 | 1 | -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 meta | Armand Philippot | 2022-01-25 | 1 | -0/+3 |
| | | |||||
| * | chore: display a progress bar before load more button | Armand Philippot | 2022-01-25 | 2 | -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 meta | Armand Philippot | 2022-01-25 | 4 | -3/+15 |
| | | |||||
| * | refactor(project): replace repo api call method with hook and swr | Armand Philippot | 2022-01-24 | 1 | -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 topic | Armand Philippot | 2022-01-23 | 4 | -59/+53 |
| | | | | | | I change the name in graphql endpoint, so I decided to repercute this change here. | ||||
| * | chore: add sharing widget to single project view | Armand Philippot | 2022-01-20 | 1 | -1/+4 |
| | | |||||
| * | chore: add a project summary component | Armand Philippot | 2022-01-20 | 1 | -0/+2 |
| | | |||||
| * | chore: add single project view | Armand Philippot | 2022-01-20 | 1 | -0/+154 |
| | | |||||
| * | chore: add a page for projects | Armand Philippot | 2022-01-20 | 1 | -0/+108 |
| | | |||||
| * | chore: add opengraph and twitter meta | Armand Philippot | 2022-01-19 | 8 | -21/+71 |
| | | |||||
| * | refactor(config): move defaultLocale as property of config.locales | Armand Philippot | 2022-01-19 | 8 | -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-LD | Armand Philippot | 2022-01-19 | 8 | -3/+369 |
| | | | | | I also added the featured image on single article. | ||||
| * | feat: implement dark mode | Armand Philippot | 2022-01-17 | 2 | -4/+11 |
| | | |||||
| * | chore: add a spinner when content is loading | Armand Philippot | 2022-01-16 | 2 | -13/+27 |
| | | |||||
| * | chore(meta): add a link to comments on single post pages | Armand Philippot | 2022-01-16 | 1 | -1/+1 |
| | | |||||
| * | chore(comments): handle comment reply | Armand Philippot | 2022-01-15 | 1 | -1/+2 |
| | | |||||
| * | chore: update sidebar and widgets styles | Armand Philippot | 2022-01-15 | 8 | -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 buttons | Armand Philippot | 2022-01-14 | 1 | -2/+10 |
| | | |||||
| * | chore: improve load more button accessibility | Armand Philippot | 2022-01-14 | 2 | -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 styles | Armand Philippot | 2022-01-14 | 2 | -12/+24 |
| | | |||||
| * | chore: add different feed formats (feed.xml, atom.xml, feed.json) | Armand Philippot | 2022-01-13 | 3 | -0/+60 |
| | | |||||
| * | chore: add title and meta desc to subjects and thematics | Armand Philippot | 2022-01-11 | 2 | -43/+61 |
| | | |||||
