aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/templates
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.
* chore: add aria hidden attribute to SVG iconsArmand Philippot2022-06-071-5/+25
|
* test(unit): fix Jest errors due to images importArmand Philippot2022-06-031-1/+1
| | | | | I mocked some SVG files and moves the branding photo to public directory. It is more a workaround than a real fix but it works so...
* test: install and configure cypressArmand Philippot2022-06-023-3/+3
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* fix: reset focus to top of the page on route changeArmand Philippot2022-05-251-2/+8
|
* build(deps): bump all dependenciesArmand Philippot2022-05-252-5/+5
| | | | | | | I moved the website picture from useSettings to the layout component since it is only used here. This reduce the number of Jest errors. However, there's still some issues with some images import...
* 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-212-0/+50
|
* 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-182-4/+9
|
* chore: use persistent layoutArmand Philippot2022-05-178-77/+105
| | | | | 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: listen scroll to hide/show back to top buttonArmand Philippot2022-05-172-2/+31
|
* 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-169-48/+149
|
* chore: improve accessibilityArmand Philippot2022-05-151-2/+16
|
* chore: add Article pagesArmand Philippot2022-05-152-11/+90
|
* chore: add Search pageArmand Philippot2022-05-151-1/+2
|
* 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 homepageArmand Philippot2022-05-033-29/+97
|
* chore: add a PageLayout componentArmand Philippot2022-04-255-1/+861
|
* chore: add a SectionedLayout componentArmand Philippot2022-04-223-0/+145
|
* chore: add a Layout componentArmand Philippot2022-04-224-0/+251
It defines the different components used by all other layouts.