feat: add favicon to documentation website

This commit is contained in:
Valerio Ageno
2024-08-18 11:32:57 +02:00
parent e853db164d
commit 3772e7307e
10 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -8,6 +8,6 @@ name = "tuono"
path = ".tuono/main.rs"
[dependencies]
tuono_lib = "0.9.2"
tuono_lib = "0.10.0"
serde = { version = "1.0.202", features = ["derive"] }
+1 -1
View File
@@ -17,7 +17,7 @@
"clsx": "^2.1.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"tuono": "0.9.2"
"tuono": "0.10.0"
},
"devDependencies": {
"@types/mdx": "^2.0.13",
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 15 KiB

@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
+20
View File
@@ -66,6 +66,26 @@ export default function RootRoute({ children }: RootRouteProps): JSX.Element {
return (
<>
<Head>
<meta charSet="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest" />
<ColorSchemeScript />
</Head>
<MantineProvider theme={theme}>