feat: replace analytics
Some checks failed
Deploy / lint-build-deploy (push) Failing after 1m18s

This commit is contained in:
2026-01-22 18:34:12 +01:00
parent 46a3fdd3e1
commit 851e8e8f8b
2 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import './globals.css';
import { Analytics } from "@vercel/analytics/next"
import Script from 'next/script';
import type { Metadata } from 'next';
export const metadata: Metadata = {
@@ -15,7 +15,11 @@ export default function RootLayout({
return (
<html lang="en">
<body>{children}</body>
<Analytics/>
<Script
defer
src="https://analytics.frompixels.com/script.js"
data-website-id="7e7f3132-9944-4070-bc4f-9f5722ab081a"
/>
</html>
);
}

View File

@@ -12,7 +12,6 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@vercel/analytics": "^1.5.0",
"highlight.js": "^11.8.0",
"html-to-image": "^1.11.11",
"lucide-react": "^0.475.0",