Skip to content

Commit 87287fe

Browse files
authored
Merge pull request #45 from kyoto-tech/favicon
favicon added
2 parents a96f9d6 + a8febc9 commit 87287fe

File tree

9 files changed

+29
-1
lines changed

9 files changed

+29
-1
lines changed

public/favicon.png

-221 KB
Binary file not shown.
27.9 KB
Loading
13.6 KB
Loading
14.7 KB
Binary file not shown.

public/kyoto-tech-favicon/favicon.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "MyWebSite",
3+
"short_name": "MySite",
4+
"icons": [
5+
{
6+
"src": "/web-app-manifest-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png",
9+
"purpose": "maskable"
10+
},
11+
{
12+
"src": "/web-app-manifest-512x512.png",
13+
"sizes": "512x512",
14+
"type": "image/png",
15+
"purpose": "maskable"
16+
}
17+
],
18+
"theme_color": "#ffffff",
19+
"background_color": "#ffffff",
20+
"display": "standalone"
21+
}
31 KB
Loading
164 KB
Loading

src/layouts/Layout.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,11 @@ const ldData = {
131131
<head>
132132
<meta charset="UTF-8" />
133133
<meta name="viewport" content="width=device-width, initial-scale=1" />
134-
<link rel="icon" type="image/png" href="/favicon.png" />
134+
<link rel="icon" type="image/png" sizes="96x96" href="/kyoto-tech-favicon/favicon-96x96.png" />
135+
<link rel="icon" type="image/svg+xml" href="/kyoto-tech-favicon/favicon.svg" />
136+
<link rel="shortcut icon" href="/kyoto-tech-favicon/favicon.ico" />
137+
<link rel="apple-touch-icon" sizes="180x180" href="/kyoto-tech-favicon/apple-touch-icon.png" />
138+
<link rel="manifest" href="/kyoto-tech-favicon/site.webmanifest" />
135139
<meta name="generator" content={Astro.generator} />
136140

137141
<!-- Google Tag Manager -->

0 commit comments

Comments
 (0)