aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/templates/page
Commit message (Collapse)AuthorAgeFilesLines
* refactor(types): move and rename GraphQL typesArmand Philippot2022-08-201-2/+2
| | | | | | | The api file in services was not really readable. So I move the types and I also rewrite a little the fetch function. I also rename most of the type to avoid conflict with preexisting types (like Node) and to keep consistency.
* test: install and configure cypressArmand Philippot2022-06-021-1/+1
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* chore: add a search form when posts list prints no resultsArmand Philippot2022-05-241-1/+6
|
* refactor: reduce the number of data transformationArmand Philippot2022-05-232-130/+4
|
* fix: render all images unoptimized in StorybookArmand Philippot2022-05-222-18/+6
| | | | | | There is a bug with next/image and Storybook. I was manually adding `unoptimized` to images. Instead we can use a workaround by adding an extra config in Storybook `preview.js` file.
* fix(comments): allow a depth of 2 instead of 1Armand Philippot2022-05-211-1/+1
| | | | | If I keep 1, some older comments are not displayed because the comments tree was deeper.
* chore: complete Storybook storiesArmand Philippot2022-05-211-0/+24
|
* refactor: rewrite Prism hooks and providersArmand Philippot2022-05-191-4/+1
| | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable.
* chore: fix minor styles/typescript issues introduced during refactoringArmand Philippot2022-05-181-0/+1
|
* chore: handle settings changeArmand Philippot2022-05-181-0/+3
|
* chore: use persistent layoutArmand Philippot2022-05-173-45/+25
| | | | | It prevents to rerender the common components between pages (header, footer...).
* chore: adjust articles stylesArmand Philippot2022-05-172-33/+61
| | | | | * change animation on article card hover * change comments section alignment
* chore: adjust and complete missing stylesArmand Philippot2022-05-163-5/+20
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* refactor: use custom hook for breadcrumb items and schemaArmand Philippot2022-05-163-11/+53
|
* chore: improve accessibilityArmand Philippot2022-05-151-2/+16
|
* chore: add Article pagesArmand Philippot2022-05-152-11/+90
|
* chore: add the Blog index pageArmand Philippot2022-05-131-37/+25
|
* chore: add Project single pagesArmand Philippot2022-05-131-0/+5
|
* refactor: rewrite DescriptionList and Meta componentsArmand Philippot2022-05-092-71/+50
| | | | | | The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels.
* chore: add a PageLayout componentArmand Philippot2022-04-254-0/+861