aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/layout.tsx35
-rw-r--r--package-lock.json15
-rw-r--r--package.json1
3 files changed, 14 insertions, 37 deletions
diff --git a/app/layout.tsx b/app/layout.tsx
index 18db17a..7d47d17 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,4 +1,3 @@
-import PlausibleProvider from "next-plausible";
import { Noise } from "@/components/noise";
import { ThemeProvider } from "@/components/theme-provider"
import { Footer } from "@/components/footer"
@@ -19,27 +18,21 @@ export default function Layout({
return (
<html lang="en" suppressHydrationWarning>
<body>
- <PlausibleProvider
- domain="schererleander.de"
- customDomain="https://analytics.schererleander.de"
- selfHosted
+ <ThemeProvider
+ attribute="class"
+ defaultTheme="system"
+ enableSystem
+ disableTransitionOnChange
>
- <ThemeProvider
- attribute="class"
- defaultTheme="system"
- enableSystem
- disableTransitionOnChange
- >
- <div className="relative min-h-full px-4">
- <Header />
- <main className="mx-auto max-w-[var(--site-width)]">
- {children}
- </main>
- <Footer />
- <Noise />
- </div>
- </ThemeProvider>
- </PlausibleProvider>
+ <div className="relative min-h-full px-4">
+ <Header />
+ <main className="mx-auto max-w-[var(--site-width)]">
+ {children}
+ </main>
+ <Footer />
+ <Noise />
+ </div>
+ </ThemeProvider>
</body>
</html>
);
diff --git a/package-lock.json b/package-lock.json
index ba6b30b..58a87c8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,7 +17,6 @@
"maplibre-gl": "^5.15.0",
"next": "16.1.1",
"next-contentlayer2": "^0.5.8",
- "next-plausible": "^3.12.5",
"next-themes": "^0.4.6",
"pmtiles": "^4.3.2",
"react": "19.2.3",
@@ -8643,20 +8642,6 @@
"react-dom": "^18 || ^19 || ^19.0.0-rc"
}
},
- "node_modules/next-plausible": {
- "version": "3.12.5",
- "resolved": "https://registry.npmjs.org/next-plausible/-/next-plausible-3.12.5.tgz",
- "integrity": "sha512-l1YMuTI9akb2u7z4hyTuxXpudy8KfSteRNXCYpWpnhAoBjaWQlv6sITai1TwcR7wWvVW8DFbLubvMQAsirAjcA==",
- "license": "MIT",
- "funding": {
- "url": "https://github.com/4lejandrito/next-plausible?sponsor=1"
- },
- "peerDependencies": {
- "next": "^11.1.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 ",
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
- }
- },
"node_modules/next-themes": {
"version": "0.4.6",
"resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz",
diff --git a/package.json b/package.json
index feb6dd9..cde0378 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,6 @@
"maplibre-gl": "^5.15.0",
"next": "16.1.1",
"next-contentlayer2": "^0.5.8",
- "next-plausible": "^3.12.5",
"next-themes": "^0.4.6",
"pmtiles": "^4.3.2",
"react": "19.2.3",