aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* chore(release): 1.1.0v1.1.0Armand Philippot2022-03-112-1/+27
|
* build(docker): add a yarn script as shortcut to deploy scriptArmand Philippot2022-03-101-0/+1
|
* build(deps): bump dependenciesArmand Philippot2022-03-102-128/+128
|
* fix: add a spinner if blog page is loadingArmand Philippot2022-03-091-0/+3
|
* refactor: update graphql queries (#14)Armand Philippot2022-03-097-53/+46
| | | | | | | | | | | | | | | | | | * refactor: replace postBy query postBy is now deprecated in WPGraphQL v1.7 * refactor: update post comments query PostBy is deprecated and it is now possible to use the post ID to query comments. * refactor: update get topic by slug query topicBy is deprecated * refactor: update get thematic by slug query thematicBy is deprecated
* feat: provide pagination for users with js disabled (#13)Armand Philippot2022-03-0910-40/+550
| | | | | | | | | * chore: add a Pagination component * chore: add blog pages * chore: fallback to page number based navigation if JS disabled * chore: update translation
* chore: change header photoArmand Philippot2022-03-092-1/+1
|
* fix(meta): display full meta if posts count equal zeroArmand Philippot2022-03-071-1/+1
| | | | | When posts count equal zero (search page for example), only O was printed instead of "Total: No articles".
* fix(animations): avoid zomm in/out effect on mobileArmand Philippot2022-03-063-37/+18
| | | | | | Due to translateX transform and overflow, on small screens a zoom in / zoom out effect happened. So I adjust the animations for branding and job.
* build(docker): add help option to print script usageArmand Philippot2022-03-051-0/+29
|
* build(docker): allow user to pass stack deploy optionsArmand Philippot2022-03-051-3/+7
| | | | | With a private registry, the --with-registry-auth option can be necessary.
* build(docker): add cpu and memory limitArmand Philippot2022-03-041-0/+16
|
* build(docker): make Docker deployement compatible with Docker SwarmArmand Philippot2022-03-043-0/+30
| | | | | | I also added a custom script to deploy the services with Docker Swarm. Without it, Docker cannot read the `.env` file. Since I'm using a variable to define the registry, the script is required.
* build(docker): allow specific config for staging serviceArmand Philippot2022-03-042-6/+22
|
* chore: use a different configuration depending on app envArmand Philippot2022-03-046-23/+54
| | | | | | It will be useful with Docker. Instead of cloning the project with a different configuration, I can manage two different configuration thanks to dotenv and some checking inside the app.
* chore(i18n): replace Subscribe translation textArmand Philippot2022-03-031-1/+1
| | | | In the context, "Vous abonner" is more accurated than "S'abonner".
* chore: change recent posts alignementArmand Philippot2022-03-031-0/+1
| | | | | Instead of align them to left on small screens, I decided to centered them.
* fix: improve Ackee tooltip display on small screenArmand Philippot2022-03-032-8/+22
| | | | | Since I translated to French, the text did not fit into container on small screens. It is not perfect, but I plan to replace Ackee so...
* chore: add wp-graphql-get-extended projectArmand Philippot2022-03-022-0/+0
|
* build(deps): bump dependencies to latest versionArmand Philippot2022-03-022-148/+148
|
* refactor: various refactoringArmand Philippot2022-03-0122-363/+557
|\ | | | | | | | | Improve maintenance (meta splitting) and try to improve performance (dynamic imports).
| * refactor: split posts meta into smaller componentsArmand Philippot2022-03-0119-343/+515
| |
| * refactor: import comment form dynamically when reply to a commentArmand Philippot2022-03-012-16/+27
| | | | | | | | | | The comment form is displayed only if an user click on the reply button so importing it dynamically should improve performances.
| * refactor: import dynamically SearchForm and Settings componentsArmand Philippot2022-03-011-4/+15
|/ | | | | These components are only available after a click from the user, so using dynamic import should improve performances.
* refactor: split form styles and combine componentsArmand Philippot2022-02-2524-313/+290
|\ | | | | | | | | | | | | | | | | I think it is better to keep styles close to the corresponding components. So I splitted the unique stylesheet. I also combine select, textarea and input components into a single one since they share the same logic and the same styles.
| * chore: combine input/textarea/select in a single componentArmand Philippot2022-02-2524-259/+230
| |
| * refactor: replace label elements with Label componentArmand Philippot2022-02-255-72/+78
|/
* feat: use Docker in production (#12)Armand Philippot2022-02-256-0/+107
| | | | | | | | | | | * build: add experimental feature outputStandalone With this option, Next.js can create a standalone folder with the necessary files for a production deployment. It will be useful for Docker deployment. * chore: add Docker configuration * docs: update README with Docker instructions
* fix: translate Ackee tooltip titleArmand Philippot2022-02-233-2/+16
|
* chore: add demo projectArmand Philippot2022-02-232-0/+0
|
* fix: typo in french translationArmand Philippot2022-02-231-1/+1
|
* chore: update translationsArmand Philippot2022-02-232-0/+72
|
* feat: improve Ackee tracking (#11)Armand Philippot2022-02-2319-18/+597
| | | | | | | | | | | | | | | | | * build(deps): add use-ackee hook package * chore: create a context provider for Ackee The provider allows users to change the 'detailed' settings. * chore: add a select menu to choose which info to share with Ackee * chore: add a tooltip for askee settings * chore: replace default select styles with custom styles * chore: register user choice in localstorage * chore: replace Matomo with Ackee in legal notice
* chore: update legal notice informationArmand Philippot2022-02-221-0/+0
| | | | Some contents was outdated since the new version of my website.
* fix: allow Ackee domain in CSP connect-srcArmand Philippot2022-02-221-2/+2
|
* chore: update CSPArmand Philippot2022-02-221-2/+3
|
* chore(homepage): use next/image for images and specify width/heightArmand Philippot2022-02-225-21/+35
|
* fix: update icons path in manifestArmand Philippot2022-02-221-2/+2
|
* build(deps): bump dependencies to latest versionArmand Philippot2022-02-212-1031/+1104
|
* refactor: replace script tags with next/script (#10)Armand Philippot2022-02-2117-83/+94
| | | | | | | | * refactor: replace script tags with next/script Since next.js v12.1.0 some warnings was displayed because I was using some script tags. * build(deps): bump next-themes to v0.1.1
* 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
|