aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/templates/layout/site-header/site-header.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): rewrite helpers to output schema in json-ld formatArmand Philippot2023-12-141-1/+6
| | | | | | | | | | | | | * make sure url are absolutes * nest breadcrumb schema in webpage schema * trim HTML tags from content/description * use a regular script instead of next/script (with the latter the schema is not updated on route change) * place the script in document head * add keywords, wordCount and readingTime keys in BlogPosting schema * fix breadcrumbs in search page (without query) * add tests (a `MatchInlineSnapshot` will be better but Prettier 3 is not supported yet)
* refactor(components): split Layout component in smaller componentsArmand Philippot2023-11-221-0/+25
The previous component was too long and hardly readable. So I splitted it in different part and added tests.