removed cf analytics
All checks were successful
Docker Build & Publish / Build Docker (push) Successful in 1m8s
All checks were successful
Docker Build & Publish / Build Docker (push) Successful in 1m8s
This commit is contained in:
parent
4ec58a8154
commit
870eed53cf
@ -1,7 +1,6 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import Analytics from "@/components/Analytics";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
@ -18,7 +17,6 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.className}>
|
||||
<Analytics />
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,12 +0,0 @@
|
||||
import Script from 'next/script';
|
||||
|
||||
export default function Analytics() {
|
||||
return (
|
||||
<Script
|
||||
src="https://static.cloudflareinsights.com/beacon.min.js"
|
||||
data-cf-beacon='{"token": "415b318dd3f74a44b53827fb9d3da273"}'
|
||||
defer
|
||||
strategy="afterInteractive" // Ensures the script is loaded after the page is interactive
|
||||
/>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user