Spaces:
Running
Running
add plausible
Browse files- app/layout.tsx +8 -0
app/layout.tsx
CHANGED
|
@@ -9,6 +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 |
|
| 13 |
const inter = Inter({
|
| 14 |
variable: "--font-inter-sans",
|
|
@@ -89,6 +90,13 @@ export default async function RootLayout({
|
|
| 89 |
const data = await getMe();
|
| 90 |
return (
|
| 91 |
<html lang="en">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
<body
|
| 93 |
className={`${inter.variable} ${ptSans.variable} antialiased bg-black dark h-[100dvh] overflow-hidden`}
|
| 94 |
>
|
|
|
|
| 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 Head from "next/head";
|
| 13 |
|
| 14 |
const inter = Inter({
|
| 15 |
variable: "--font-inter-sans",
|
|
|
|
| 90 |
const data = await getMe();
|
| 91 |
return (
|
| 92 |
<html lang="en">
|
| 93 |
+
<Head>
|
| 94 |
+
<script
|
| 95 |
+
defer
|
| 96 |
+
data-domain="deepsite.hf.co"
|
| 97 |
+
src="https://plausible.io/js/script.js"
|
| 98 |
+
></script>
|
| 99 |
+
</Head>
|
| 100 |
<body
|
| 101 |
className={`${inter.variable} ${ptSans.variable} antialiased bg-black dark h-[100dvh] overflow-hidden`}
|
| 102 |
>
|