Spaces:
Running
Running
add plausible
Browse files- app/layout.tsx +6 -8
app/layout.tsx
CHANGED
@@ -9,7 +9,7 @@ import { Toaster } from "@/components/ui/sonner";
|
|
9 |
import MY_TOKEN_KEY from "@/lib/get-cookie-name";
|
10 |
import { apiServer } from "@/lib/api";
|
11 |
import AppContext from "@/components/contexts/app-context";
|
12 |
-
import
|
13 |
|
14 |
const inter = Inter({
|
15 |
variable: "--font-inter-sans",
|
@@ -90,13 +90,11 @@ export default async function RootLayout({
|
|
90 |
const data = await getMe();
|
91 |
return (
|
92 |
<html lang="en">
|
93 |
-
<
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
></script>
|
99 |
-
</Head>
|
100 |
<body
|
101 |
className={`${inter.variable} ${ptSans.variable} antialiased bg-black dark h-[100dvh] overflow-hidden`}
|
102 |
>
|
|
|
9 |
import MY_TOKEN_KEY from "@/lib/get-cookie-name";
|
10 |
import { apiServer } from "@/lib/api";
|
11 |
import AppContext from "@/components/contexts/app-context";
|
12 |
+
import Script from "next/script";
|
13 |
|
14 |
const inter = Inter({
|
15 |
variable: "--font-inter-sans",
|
|
|
90 |
const data = await getMe();
|
91 |
return (
|
92 |
<html lang="en">
|
93 |
+
<Script
|
94 |
+
defer
|
95 |
+
data-domain="deepsite.hf.co"
|
96 |
+
src="https://plausible.io/js/script.js"
|
97 |
+
></Script>
|
|
|
|
|
98 |
<body
|
99 |
className={`${inter.variable} ${ptSans.variable} antialiased bg-black dark h-[100dvh] overflow-hidden`}
|
100 |
>
|