Skip to content

Commit fef8093

Browse files
committed
feat: add comprehensive favicon set and update header/footer styling
1 parent 78d29e0 commit fef8093

File tree

12 files changed

+37
-19
lines changed

12 files changed

+37
-19
lines changed

public/favicon.ico

15 KB
Binary file not shown.
26.9 KB
Loading
100 KB
Loading
24.1 KB
Loading

public/favicon/favicon-16x16.png

768 Bytes
Loading

public/favicon/favicon-32x32.png

1.99 KB
Loading

public/favicon/site.webmanifest

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "ALPHA HKU",
3+
"short_name": "ALPHA-HKU",
4+
"icons": [
5+
{
6+
"src": "/favicon/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/favicon/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"start_url": "/",
17+
"display": "standalone",
18+
"theme_color": "#000000",
19+
"background_color": "#ffffff"
20+
}

public/manifest.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/app/favicon.ico

-25.3 KB
Binary file not shown.

src/app/layout.tsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const metadata: Metadata = {
2222
template: `%s - ${title}`,
2323
},
2424
description: description,
25-
manifest: "/manifest.json",
25+
manifest: "/favicon/site.webmanifest",
2626
openGraph: {
2727
title: title,
2828
description: description,
@@ -45,6 +45,20 @@ export const metadata: Metadata = {
4545
description: description,
4646
images: [siteConfig.seoImage],
4747
},
48+
icons: {
49+
icon: [
50+
{ url: "/favicon.ico" },
51+
{ url: "/favicon/favicon-16x16.png", sizes: "16x16", type: "image/png" },
52+
{ url: "/favicon/favicon-32x32.png", sizes: "32x32", type: "image/png" },
53+
],
54+
apple: [
55+
{
56+
url: "/favicon/apple-touch-icon.png",
57+
sizes: "180x180",
58+
type: "image/png",
59+
},
60+
],
61+
},
4862
};
4963

5064
export default function RootLayout({

0 commit comments

Comments
 (0)