Skip to content

Commit 67a45df

Browse files
fix: added missing favicon (#203)
* fix: add missing favicon * Removed old favicon directory
1 parent 5c1b385 commit 67a45df

File tree

8 files changed

+18
-1
lines changed

8 files changed

+18
-1
lines changed

src/app.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
5+
<link rel="apple-touch-icon" sizes="180x180" href="%sveltekit.assets%/apple-touch-icon.png" />
6+
<link rel="icon" type="image/png" sizes="32x32" href="%sveltekit.assets%/favicon-32x32.png" />
7+
<link rel="icon" type="image/png" sizes="16x16" href="%sveltekit.assets%/favicon-16x16.png" />
8+
<link rel="manifest" href="%sveltekit.assets%/site.webmanifest" />
69
<meta name="viewport" content="width=device-width, initial-scale=1" />
710
%sveltekit.head%
811
</head>
9.1 KB
Loading
23.3 KB
Loading

src/static/apple-touch-icon.png

8.24 KB
Loading

src/static/favicon-16x16.png

637 Bytes
Loading

src/static/favicon-32x32.png

1.33 KB
Loading

src/static/site.webmanifest

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "",
3+
"short_name": "",
4+
"icons": [
5+
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
6+
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
7+
],
8+
"theme_color": "#ffffff",
9+
"background_color": "#ffffff",
10+
"display": "standalone"
11+
}

svelte.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ const config = {
66
kit: {
77
// https://svelte.dev/docs/kit/adapter-node
88
adapter: adapter(),
9+
files: {
10+
assets: 'src/static'
11+
},
912
alias: {
1013
$components: './src/components',
1114
$config: './src/config',

0 commit comments

Comments
 (0)