Skip to content

Commit cc0a9b2

Browse files
committed
Fix icon path and add analytics
1 parent 8c890ec commit cc0a9b2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/app/layout.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { Metadata } from "next";
2+
import Script from "next/script";
23
import "./index.css";
34

45
export const metadata: Metadata = {
@@ -20,7 +21,7 @@ export const metadata: Metadata = {
2021
"Guangyun",
2122
],
2223
icons: {
23-
icon: "/icon.svg",
24+
icon: "/yindian/icon.svg",
2425
},
2526
};
2627

@@ -31,7 +32,14 @@ export default function RootLayout({
3132
}>) {
3233
return (
3334
<html lang="zh-HK">
34-
<body className="antialiased">{children}</body>
35+
<head>
36+
<Script
37+
src="https://static.cloudflareinsights.com/beacon.min.js"
38+
strategy="afterInteractive"
39+
data-cf-beacon='{"token":"16ad6c356b37426cb31816318ed5a42d"}'
40+
/>
41+
</head>
42+
<body>{children}</body>
3543
</html>
3644
);
3745
}

0 commit comments

Comments
 (0)