diff options
Diffstat (limited to 'src/theme/Root.tsx')
-rw-r--r-- | src/theme/Root.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theme/Root.tsx b/src/theme/Root.tsx index 32462bb..cb66420 100644 --- a/src/theme/Root.tsx +++ b/src/theme/Root.tsx | |||
@@ -11,6 +11,9 @@ import Root from '@theme-original/Root'; | |||
11 | import ActiveSectionProvider from '@site/src/components/ActiveSectionProvider'; | 11 | import ActiveSectionProvider from '@site/src/components/ActiveSectionProvider'; |
12 | import fontURL from '@site/src/fonts/recursive-latin.woff2?url'; | 12 | import fontURL from '@site/src/fonts/recursive-latin.woff2?url'; |
13 | 13 | ||
14 | import faviconSVG from './favicon.svg?url'; | ||
15 | import appleTouchIcon from './apple-touch-icon.png?url'; | ||
16 | |||
14 | export default function RootWrapper(props: Props) { | 17 | export default function RootWrapper(props: Props) { |
15 | return ( | 18 | return ( |
16 | <ActiveSectionProvider> | 19 | <ActiveSectionProvider> |
@@ -22,6 +25,9 @@ export default function RootWrapper(props: Props) { | |||
22 | type="font/woff2" | 25 | type="font/woff2" |
23 | crossOrigin="anonymous" | 26 | crossOrigin="anonymous" |
24 | /> | 27 | /> |
28 | <link rel="icon" href="/favicon.ico" sizes="32x32" /> | ||
29 | <link rel="icon" href={faviconSVG} type="image/svg+xml" /> | ||
30 | <link rel="apple-touch-icon" href={appleTouchIcon} /> | ||
25 | </Head> | 31 | </Head> |
26 | <Root {...props} /> | 32 | <Root {...props} /> |
27 | </ActiveSectionProvider> | 33 | </ActiveSectionProvider> |