Sitelet https://github.com/chaincodelabs/boss-challenge/commit/e99e0acdc2f36c6a159902b48acf1bf8e44c2163
Skip to content

Commit e99e0ac

Browse files
committed
add umami
1 parent 835dfcf commit e99e0ac

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

‎app/layout.jsx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import './globals.css';
2+
import Script from 'next/script';
23

34
export const metadata = {
45
metadataBase: new URL('https://bosschallenge.xyz'),
@@ -21,7 +22,11 @@ export default function RootLayout({ children }) {
2122
return (
2223
<html lang="en">
2324
<body>{children}</body>
25+
<Script
26+
src="https://visits.bitcoindevs.xyz/script.js"
27+
data-website-id="05dba834-2439-4f5f-948e-34e7ab644de2"
28+
strategy="afterInteractive"
29+
/>
2430
</html>
2531
);
2632
}
27-

‎app/page.jsx‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,6 @@ genesis = CreateGenesisBlock(1231006505, 2083236893,
12041204

12051205
</div>
12061206

1207-
{/* Footer at bottom of same section */}
12081207
<div className="w-full bg-[#0f0f0f] border-t border-white/10 py-6 md:py-8 px-8 md:px-12 lg:px-16 xl:px-24">
12091208
<div className="flex flex-col md:flex-row items-start md:items-center justify-start gap-6">
12101209
{/* Copyright */}
@@ -1214,11 +1213,23 @@ genesis = CreateGenesisBlock(1231006505, 2083236893,
12141213
</p>
12151214
</div>
12161215

1216+
{/* Umami tracking notice */}
1217+
<div className="text-sm text-white/60">
1218+
<a
1219+
href="https://visits.bitcoindevs.xyz/share/ywq0vWouFt4XWH4d/bosschallenge.xyz"
1220+
target="_blank"
1221+
rel="noopener noreferrer"
1222+
className="text-white/80 hover:text-[#FED136] transition-colors underline"
1223+
>
1224+
Public visit count
1225+
</a>
1226+
</div>
1227+
12171228
{/* Chaincode Labs Branding */}
12181229
<div className="flex items-center gap-3 md:ml-auto">
12191230
<div className="text-sm text-white/70 font-medium">
12201231
₿OSS Challenge
1221-
</div>
1232+
</div>
12221233
</div>
12231234
</div>
12241235
</div>

0 commit comments

Comments
 (0)