aboutsummaryrefslogtreecommitdiff
path: root/app/layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/layout.tsx')
-rw-r--r--app/layout.tsx35
1 files changed, 14 insertions, 21 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>
);