aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Layouts/Layout.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix: make schema.org markup valid (#4)Armand Philippot2022-02-161-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 49c1b3b1556a0eb91c429a961fedd2bded8ffd47 Author: Armand Philippot <git@armandphilippot.com> Date: Wed Feb 16 15:17:52 2022 +0100 chore: add headline field to blogPosting schema commit 42214c6f032cc899ec252a9387be35dcad738546 Author: Armand Philippot <git@armandphilippot.com> Date: Wed Feb 16 15:09:11 2022 +0100 chore: update the searchAction markup and add query-input Google was complaining about "query-input" which is not in Schema.org representation. So I added it. commit 5f29226d937cbdcd262df2793f1588435d850f02 Author: Armand Philippot <git@armandphilippot.com> Date: Wed Feb 16 14:32:14 2022 +0100 chore: remove breadcrumb from homepage The breadcrumb is not displayed on the homepage, so the breadcrumb field should not appear inside Schema markup.
* chore: add a banner for users with JS disabledArmand Philippot2022-02-141-0/+13
|
* chore(baseline): handle baseline translation manuallyArmand Philippot2022-01-301-1/+4
| | | | | | I cannot use formatjs to translate the website baseline since I need an async function to load the message. If I use the getIntlInstance helper outside NextJS, webpack is complaining about fs and path.
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-18/+18
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-4/+10
|
* chore: add favicon, webmanifest and theme color preferencesArmand Philippot2022-01-271-2/+16
|
* chore: add opengraph and twitter metaArmand Philippot2022-01-191-0/+8
|
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-191-1/+1
| | | | | I will need the country code, so I think it makes more sense to gather them inside the same property.
* chore: add structured data using schema.org and JSON-LDArmand Philippot2022-01-191-0/+24
| | | | I also added the featured image on single article.
* fix: remove focus on route changeArmand Philippot2022-01-131-1/+10
|
* chore: add feed formats to document headArmand Philippot2022-01-131-0/+22
|
* refactor: move Prism hook from layout to article pageArmand Philippot2022-01-041-17/+1
| | | | | I will not use Prism elsewhere, so it makes more sense to call Prism only inside articles.
* chore(prism): replace Coldark theme with a custom themeArmand Philippot2022-01-031-1/+0
|
* chore: add line numbers to all prism blocks and translate copy buttonArmand Philippot2022-01-031-1/+12
|
* chore: add prismjs for syntax highlightingArmand Philippot2021-12-301-1/+7
|
* chore: add a skip to content linkArmand Philippot2021-12-221-0/+2
|
* chore: add a breadcrumb componentArmand Philippot2021-12-211-1/+13
|
* fix: change branding title tag on homepageArmand Philippot2021-12-151-3/+9
| | | | I forgot to pass isHome arg...
* chore: change app to use a layoutArmand Philippot2021-12-131-0/+16
I can now insert header/footer on each pages.