summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* chore: add a Fieldset componentArmand Philippot2022-05-315-0/+216
|
* chore: replace Checkbox component with a BooleanField componentArmand Philippot2022-05-3124-220/+789
| | | | | Checkbox and radio buttons are working the same way so I decided to group them in a same component.
* chore: fix some typographic issuesArmand Philippot2022-05-251-53/+53
| | | | | | | | Formatjs (ICU actually) uses single quotes as escape character so some French translation had issues because of apostrophe. I replaced the character used. I took the opportunity to use the correct characters for some other typographic rules (non-breaking spaces, suspension points…)
* fix(settings): reduce font-size on small devicesArmand Philippot2022-05-2515-12/+142
| | | | | With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking.
* chore: update header photoArmand Philippot2022-05-251-0/+0
|
* fix: reset focus to top of the page on route changeArmand Philippot2022-05-251-2/+8
|
* build(deps): bump all dependenciesArmand Philippot2022-05-253-26/+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: update contentsArmand Philippot2022-05-241-0/+0
|
* chore: close search form when launching searchArmand Philippot2022-05-242-0/+14
|
* chore: update translationArmand Philippot2022-05-242-1056/+760
|
* chore: handle article fallback and revalidationArmand Philippot2022-05-241-25/+26
| | | | | | By using useSWR I can fetch the changes from the backend. By using fallback, I can access new articles without rebuilding the entire app.
* chore: give autofocus to the toolbar search formArmand Philippot2022-05-246-48/+98
|
* chore: add a search form on 404 pageArmand Philippot2022-05-241-0/+9
|
* chore: add a search form when posts list prints no resultsArmand Philippot2022-05-2413-53/+164
|
* test: fix theme toggle and comment testsArmand Philippot2022-05-244-30/+7
|
* chore(toolbar): change icons to close button when activatedArmand Philippot2022-05-2410-20/+254
|
* chore: adjust cards list spacingArmand Philippot2022-05-233-2/+11
|
* fix: ensure all topics/thematics have the base urlArmand Philippot2022-05-2315-53/+46
|
* refactor(schema): use helpers function to avoid repeat between pagesArmand Philippot2022-05-2313-449/+468
|
* refactor: reduce the number of data transformationArmand Philippot2022-05-2338-971/+456
|
* chore: adjust dark mode stylesArmand Philippot2022-05-226-34/+288
|
* fix(storybook): create a fake wrapper for Table of Contents storyArmand Philippot2022-05-221-1/+22
|
* chore(storybook): use custom themes and add dark mode supportArmand Philippot2022-05-221-8/+8
|
* fix: render all images unoptimized in StorybookArmand Philippot2022-05-2217-74/+62
| | | | | | 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-2145-237/+362
|
* fix: close Ackee tooltip on button clickArmand Philippot2022-05-214-21/+44
| | | | | | | The tooltip was closing and reopening on click because of a conflict between the button event and the hook useClickOutside. By checking that the event target is not the button, the tooltip is now closing as expected.
* chore: update some stylesArmand Philippot2022-05-2112-52/+51
| | | | | | | * Improve wp-blocks-columns, wp-block-quote and some images * Make Sharing widget consistent between pages * Remove margin option from lists * Fix Topic logo alignement
* chore: update images stylesArmand Philippot2022-05-208-33/+111
|
* chore: udpate code blocks styleArmand Philippot2022-05-204-570/+269
|
* chore: handle blog pagination when JS is disabledArmand Philippot2022-05-2013-35/+472
|
* refactor: rewrite Prism hooks and providersArmand Philippot2022-05-1914-291/+346
| | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable.
* chore: add total articles on thematic pagesArmand Philippot2022-05-181-0/+1
|
* chore: fix minor styles/typescript issues introduced during refactoringArmand Philippot2022-05-184-3/+8
|
* chore: handle settings changeArmand Philippot2022-05-1836-142/+487
|
* chore: close toolbar modals on click/focus outsideArmand Philippot2022-05-1819-128/+258
|
* chore: add branding animationArmand Philippot2022-05-186-46/+171
|
* fix: convert undefined into null inside GetStaticPropsArmand Philippot2022-05-171-3/+4
| | | | Next.js was complaining because it cannot serialize undefined values.
* chore: use persistent layoutArmand Philippot2022-05-1722-116/+253
| | | | | It prevents to rerender the common components between pages (header, footer...).
* chore: make some widgets scrollable (like ToC)Armand Philippot2022-05-173-1/+28
|
* chore: adjust articles stylesArmand Philippot2022-05-1712-113/+211
| | | | | * change animation on article card hover * change comments section alignment
* chore: listen scroll to hide/show back to top buttonArmand Philippot2022-05-176-15/+79
|
* chore: adjust and complete missing stylesArmand Philippot2022-05-1635-301/+1036
| | | | | | * 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-1622-206/+343
|
* chore: add 404 pageArmand Philippot2022-05-161-0/+144
|
* chore: improve accessibilityArmand Philippot2022-05-159-13/+100
|
* chore: add Article pagesArmand Philippot2022-05-1516-64/+634
|
* chore: add Search pageArmand Philippot2022-05-1524-85/+436
|
* chore: add Topic pagesArmand Philippot2022-05-133-6/+380
|
* chore: add Thematic pageArmand Philippot2022-05-138-22/+460
|