Skip to content

Commit 8144ebf

Browse files
committed
feat: add favicon and app icons
Add favicon.ico, icon.png and apple-touch-icon.png, and point the metadata icons config at them.
1 parent 3feb55c commit 8144ebf

5 files changed

Lines changed: 7 additions & 1 deletion

File tree

app/layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ export const metadata: Metadata = {
1515
"PBCTF 5.0 is a Capture the Flag competition that brings together hackers, security enthusiasts, and problem solvers across web exploitation, reverse engineering, cryptography, forensics, and more. Race the clock, capture the flags, sharpen your edge.",
1616
viewport: "width=device-width, initial-scale=1",
1717
themeColor: "#050507",
18-
icons: { icon: "/images/pbctf-logo.svg" },
18+
icons: {
19+
icon: [
20+
{ url: "/favicon.ico", sizes: "any" },
21+
{ url: "/icon.png", type: "image/png", sizes: "32x32" },
22+
],
23+
apple: "/apple-touch-icon.png",
24+
},
1925
};
2026

2127
export default function RootLayout({

public/apple-touch-icon.png

5.82 KB
Loading

public/favicon.ico

-5.16 MB
Binary file not shown.

public/favicon.png

33.4 KB
Loading

public/icon.png

524 Bytes
Loading

0 commit comments

Comments
 (0)