removed cf analytics
All checks were successful
Docker Build & Publish / Build Docker (push) Successful in 1m8s

This commit is contained in:
ChrQR 2024-05-12 23:22:17 +02:00
parent 4ec58a8154
commit 870eed53cf
2 changed files with 0 additions and 14 deletions

View File

@ -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>

View File

@ -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
/>
);
}