Skip to content

Commit 0b75f2e

Browse files
committed
Add icons
1 parent 0b1d3f3 commit 0b75f2e

8 files changed

Lines changed: 37 additions & 1 deletion

app/layout.tsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,21 @@ export default async function RootLayout({
3535
<Head
3636
// ... Your additional head options
3737
>
38-
{/* Your additional tags should be passed as `children` of `<Head>` element */}
38+
<link
39+
rel="icon"
40+
type="image/png"
41+
href="/favicon-96x96.png"
42+
sizes="96x96"
43+
/>
44+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
45+
<link rel="shortcut icon" href="/favicon.ico" />
46+
<link
47+
rel="apple-touch-icon"
48+
sizes="180x180"
49+
href="/apple-touch-icon.png"
50+
/>
51+
<meta name="apple-mobile-web-app-title" content="Open UG" />
52+
<link rel="manifest" href="/site.webmanifest" />
3953
</Head>
4054
<body>
4155
<Layout

public/apple-touch-icon.png

30.6 KB
Loading

public/favicon-96x96.png

6 KB
Loading

public/favicon.ico

14.7 KB
Binary file not shown.

public/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

public/site.webmanifest

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+
}
34.2 KB
Loading
315 KB
Loading

0 commit comments

Comments
 (0)