summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * chore: add a magnifying glass icon componentArmand Philippot2022-04-014-0/+88
| |
| * chore: add an envelop svg icon componentArmand Philippot2022-04-014-0/+110
| |
| * chore: add a computer screen icon componentArmand Philippot2022-04-014-0/+133
| |
| * chore: add a Hamburger icon componentArmand Philippot2022-04-014-0/+111
| |
| * chore: add a Cog icon componentArmand Philippot2022-04-014-0/+53
| |
| * chore: add a Close icon componentArmand Philippot2022-04-014-0/+62
| |
| * chore: add a CC BY SA svg icon componentArmand Philippot2022-04-014-0/+70
| |
| * chore: add a posts stack svg icon componentArmand Philippot2022-03-314-0/+112
| |
| * chore: add a Home icon componentArmand Philippot2022-03-314-0/+111
| |
| * chore: add a Moon icon componentArmand Philippot2022-03-314-0/+51
| |
| * chore: add a Sun icon componentArmand Philippot2022-03-314-0/+59
| |
| * chore: add an Arrow icon componentArmand Philippot2022-03-314-0/+151
| |
| * chore: add a Link componentArmand Philippot2022-03-314-0/+153
| |
| * chore: add a Label componentArmand Philippot2022-03-314-0/+97
| |
| * chore: add a Select componentArmand Philippot2022-03-313-0/+197
| |
| * chore: add a Field componentArmand Philippot2022-03-314-0/+323
| |
| * chore: add a Heading componentArmand Philippot2022-03-313-0/+104
| |
| * chore: add a button link componentArmand Philippot2022-03-314-0/+127
| |
| * chore: add a button componentArmand Philippot2022-03-318-3/+346
| |
| * build(deps): add storybookArmand Philippot2022-03-315-403/+7056
|/
* test(jest): add a test for Copyright componentArmand Philippot2022-03-291-0/+14
|
* test(jest): add a test for Header componentArmand Philippot2022-03-291-0/+13
|
* test(jest): add a test for Branding componentArmand Philippot2022-03-293-6/+33
|
* build(deps): bump next, next-sitemap, mdx, graphql-request and sharpArmand Philippot2022-03-252-428/+431
|
* build: configure JestArmand Philippot2022-03-2410-250/+281
|\ | | | | | | | | Since Next.js v12, we can use next/js package with some preconfigured Jest options.
| * test(jest): add a mock for windows matchMediaArmand Philippot2022-03-242-4/+17
| |
| * test(jest): define a custom render function to set providersArmand Philippot2022-03-243-2/+53
| |
| * build: configure jestArmand Philippot2022-03-247-248/+215
|/ | | | | | Since Next.js v12, Jest is already configured with the next/jest package. I also added a package to mock next/router.
* build(deps): remove unused depsArmand Philippot2022-03-242-61/+11
|
* refactor: replace babel with swcArmand Philippot2022-03-2471-133/+415
|\ | | | | | | The build time will be faster with SWC.
| * refactor: load prism plugins without babelArmand Philippot2022-03-2411-126/+178
| |
| * refactor: use formatjs swc pluginArmand Philippot2022-03-2365-7/+237
| | | | | | | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id.
* | build(deps): bump minimist from 1.2.5 to 1.2.6dependabot[bot]2022-03-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* | docs: update Docker installArmand Philippot2022-03-231-1/+7
|/
* 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".