aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* feat: replace Matomo with AckeeArmand Philippot2022-02-218-30/+26
| | | | | I do not use all Matomo features so I was searching a lightweight analytics tools. I will give a try to Ackee.
* refactor(animations): replace width animations with transformArmand Philippot2022-02-183-11/+21
| | | | | | Animations based on width or height can be expensive and can cause lower performances. So, instead I use transform to obtain the same effect.
* fix: prevent cropped plus/minus icon on widgets (#8)Armand Philippot2022-02-181-0/+1
| | | | Because of the default padding on button element, in some browsers the plus/minus icon on widgets was cropped.
* build(deps): bump next from 12.0.9 to 12.1.0dependabot[bot]2022-02-182-75/+75
| | | | | | | | | | | | | | Bumps [next](https://github.com/vercel/next.js) from 12.0.9 to 12.1.0. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v12.0.9...v12.1.0) --- updated-dependencies: - dependency-name: next dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* chore: update homepage and cv contentsArmand Philippot2022-02-162-0/+16
|
* chore: remove the use of id reference for potentialAction (#6)Armand Philippot2022-02-161-13/+15
| | | | Google doesn't like the id reference here. So, instead, I include the variable directly.
* fix: update content security policy (#5)Armand Philippot2022-02-161-4/+4
| | | | | It seems Matomo need to be declared at least in connect-src in addition to script-src. See: https://fr.matomo.org/faq/general/faq_20904/
* fix: make schema.org markup valid (#4)Armand Philippot2022-02-1611-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 49c1b3b1556a0eb91c429a961fedd2bded8ffd47 Author: Armand Philippot <git@armandphilippot.com> Date: Wed Feb 16 15:17:52 2022 +0100 chore: add headline field to blogPosting schema commit 42214c6f032cc899ec252a9387be35dcad738546 Author: Armand Philippot <git@armandphilippot.com> Date: Wed Feb 16 15:09:11 2022 +0100 chore: update the searchAction markup and add query-input Google was complaining about "query-input" which is not in Schema.org representation. So I added it. commit 5f29226d937cbdcd262df2793f1588435d850f02 Author: Armand Philippot <git@armandphilippot.com> Date: Wed Feb 16 14:32:14 2022 +0100 chore: remove breadcrumb from homepage The breadcrumb is not displayed on the homepage, so the breadcrumb field should not appear inside Schema markup.
* fix: update wordpress gallery block stylesArmand Philippot2022-02-161-8/+20
| | | | | | Since v5.9, the gallery block does not use the same markup than the previous one. So I need to duplicate the styles to make the older posts and the new ones consistent.
* fix: typo in CSPArmand Philippot2022-02-161-2/+2
|
* feat: add HTTP security headersArmand Philippot2022-02-155-21/+97
| | | | | I also renamed and changed the format of some environment variables so I can reuse them inside the CSP security header.
* chore(release): 1.0.0v1.0.0Armand Philippot2022-02-152-1/+41
|
* refactor: remove unused graphql fieldsArmand Philippot2022-02-142-60/+1
|
* chore: add a banner for users with JS disabledArmand Philippot2022-02-145-0/+47
|
* chore: display initial posts, thematics & topicsArmand Philippot2022-02-1411-84/+76
| | | | | By fetching the data in getStaticProps, I can display the data even for users with Javascript disabled.
* chore: load recent posts on homepage during buildArmand Philippot2022-02-145-23/+26
| | | | This way, even whithout JS, user can see the latest posts.
* fix: open toolbar menu without double clickArmand Philippot2022-02-144-61/+39
| | | | | | When the main nav was opened, a double click on the search button or the settings button was necessary to open a new menu. Now, it works as expected: the main nav is closed and the menu is opened in one click.
* chore: improve comment form user experienceArmand Philippot2022-02-147-83/+191
|
* fix: update comments list when a new comment is sendArmand Philippot2022-02-148-39/+99
| | | | | 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: improve footerArmand Philippot2022-02-146-24/+52
| | | | | | The "Mentions légales" link was not enough visible on small viewports because of the back to top link. So I change the disposition to improve that.
* chore(matomo): use another dependency to track page viewsArmand Philippot2022-02-145-38/+33
| | | | | | 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.
* build(deps): move next-sitemap to no-dev dependenciesArmand Philippot2022-02-131-1/+1
|
* chore: add some noscript tags to explain why the data are not loadedArmand Philippot2022-02-139-1/+104
|
* feat: add a sitemapArmand Philippot2022-02-134-0/+28
|
* chore: improve RSS feed generation timeArmand Philippot2022-02-137-15/+46
|
* chore: adjust spinner marginsArmand Philippot2022-02-131-1/+2
|
* fix: switch prism theme on single articleArmand Philippot2022-02-131-1/+1
| | | | I forgot to change the selector to query all code blocks.
* chore: update some texts to reduce its widthArmand Philippot2022-02-135-28/+28
| | | | | | | 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: increase toolbar buttons sizeArmand Philippot2022-02-1310-147/+114
| | | | | | On small screen, they was too small I think. I also change some styles like focus state to keep consistency between all elements in toolbar. Also, I was not fan of the rotate effect.
* chore(toc): exclude comments section for headings listArmand Philippot2022-02-121-1/+1
|
* chore: adjust spacings, overflow and transitions of widgetsArmand Philippot2022-02-123-17/+11
|
* build: remove the no-parser config for formatjsArmand Philippot2022-02-122-6/+0
| | | | | | | I don't know if I misunderstand the purpose of no-parser but I can't get it to work with strings containing a variable or plurals. They are always fallback to the english message. So I decided to disable this config.
* chore: improve accessibilityArmand Philippot2022-02-1114-17/+230
|
* fix: prevent content to be printed before transition endArmand Philippot2022-02-111-2/+2
| | | | | | With `overflow-y: hidden`, the content was printed before the max height transition end. Switching to `overflow: hidden` fixed this issue.
* chore: adjust spacing before posts list year on small devicesArmand Philippot2022-02-102-2/+9
|
* chore: improve widgetsArmand Philippot2022-02-108-103/+76
| | | | | | | | * Make all widgets expanded by default. This way, without Javascript, thematics and topics are still available. * Improve collapse/expand transition. * Remove widget scrollbar: the height was sometimes weird because of that. Except for ToC on large devices.
* chore: improve prism blocks displayArmand Philippot2022-02-101-18/+47
| | | | | | | On small devices the toolbar buttons cannot be on the same line, so I changed the display and I increased the buttons size. I also modified the toolbar placement: the vertical scrollbar was not always visible because of the toolbar.
* fix(prism): translate toolbar buttons on single article pagesArmand Philippot2022-02-102-61/+31
| | | | | The translation was not always loaded the first time. So I decided to put the prism attributes manually instead.
* fix: typo in branding animationArmand Philippot2022-02-101-1/+1
|
* refactor: extract contact form from contact pageArmand Philippot2022-02-106-223/+240
| | | | | The contact page file was too long. By extracting the contact form the readability is improved.
* chore: improve contact form behaviorArmand Philippot2022-02-105-6/+66
| | | | | | | * 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.
* build(deps): add sharpArmand Philippot2022-02-092-14/+346
| | | | | Next.js was displaying a warning about a missing dependency for production.
* fix: translate Prism toolbar buttons on MDX code blocksArmand Philippot2022-02-081-13/+29
| | | | The translation was only set on page refresh.
* chore(prism): translate color scheme toggle buttonArmand Philippot2022-02-085-2/+48
|
* refactor(prism): rename color scheme attributes and remove prefixArmand Philippot2022-02-084-35/+28
|
* build(deps): add bundle analyzer to examine bundle sizes on buildArmand Philippot2022-02-023-5/+78
|
* chore: remove lingui configArmand Philippot2022-02-021-15/+0
| | | | I forgot to remove it earlier.
* build: rename repo and submoduleArmand Philippot2022-02-022-6/+6
| | | | apcom will be shorter to type than the full domain name.
* fix: handle getStaticPaths fallbackArmand Philippot2022-02-025-26/+58
| | | | | | | | 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 routesArmand Philippot2022-02-021-13/+0
| | | | I'm not using them.