aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-27 16:35:58 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-27 16:35:58 +0100
commite31c39762d2da4f7aa81389605c16f408edaf11e (patch)
tree57b7118889d528277454a3728078d2b99d7326d5 /src/components
parentde11222e4cecfdfd4d45f3ec1220ebc1bcb9c8c1 (diff)
chore: add favicon, webmanifest and theme color preferences
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Layouts/Layout.tsx18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx
index 0a3aa3d..599cfe2 100644
--- a/src/components/Layouts/Layout.tsx
+++ b/src/components/Layouts/Layout.tsx
@@ -53,6 +53,16 @@ const Layout = ({
<meta property="twitter:card" content="summary" />
<meta property="twitter:site" content={config.twitterId} />
<meta property="twitter:creator" content={config.twitterId} />
+ <meta
+ name="theme-color"
+ content="#14578a"
+ media="(prefers-color-scheme: light)"
+ />
+ <meta
+ name="theme-color"
+ content="#85bbd6"
+ media="(prefers-color-scheme: dark)"
+ />
<link
rel="alternate"
href="/feed.xml"
@@ -63,14 +73,18 @@ const Layout = ({
rel="alternate"
href="/atom.xml"
type="application/atom+xml"
- title={`${config.name}'s RSS feed`}
+ title={`${config.name}'s Atom feed`}
/>
<link
rel="alternate"
href="/feed.json"
type="application/feed+json"
- title={`${config.name}'s RSS feed`}
+ title={`${config.name}'s Json feed`}
/>
+ <link rel="icon" href="/favicon.ico" sizes="any" />
+ <link rel="icon" href="/icon.svg" type="image/svg+xml" />
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
+ <link rel="manifest" href="/manifest.webmanifest" />
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(schemaJsonLd) }}