for real this time
All checks were successful
Docker Build & Publish / Build Docker (push) Successful in 1m8s

This commit is contained in:
ChrQR 2024-05-12 22:21:27 +02:00
parent 8700f65962
commit e6f5333851
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Inter } from "next/font/google"; import { Inter } from "next/font/google";
import "./globals.css"; import "./globals.css";
import Analytics from "@/components/Analytics";
const inter = Inter({ subsets: ["latin"] }); const inter = Inter({ subsets: ["latin"] });
@ -17,7 +18,7 @@ export default function RootLayout({
return ( return (
<html lang="en"> <html lang="en">
<body className={inter.className}> <body className={inter.className}>
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "cc87b1af28264bd7aaf287ba7f905362"}'></script> <Analytics />
{children} {children}
</body> </body>
</html> </html>

5
components/Analytics.tsx Normal file
View File

@ -0,0 +1,5 @@
export default function Analytics(){
return (
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "cc87b1af28264bd7aaf287ba7f905362"}'></script>
)
}