mirror of
https://github.com/dathere/ckanaction.git
synced 2025-11-09 14:19:49 +00:00
chore(docs): update analytics script
This commit is contained in:
parent
4b7ca43709
commit
663f208a4a
1 changed files with 5 additions and 8 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
import '@/app/global.css';
|
import "@/app/global.css";
|
||||||
import { RootProvider } from 'fumadocs-ui/provider/next';
|
import { RootProvider } from "fumadocs-ui/provider/next";
|
||||||
import { Inter } from 'next/font/google';
|
import { Inter } from "next/font/google";
|
||||||
import Script from "next/script";
|
import Script from "next/script";
|
||||||
|
|
||||||
const inter = Inter({
|
const inter = Inter({
|
||||||
subsets: ['latin'],
|
subsets: ["latin"],
|
||||||
});
|
});
|
||||||
|
|
||||||
export default function Layout({ children }: LayoutProps<'/'>) {
|
export default function Layout({ children }: LayoutProps<"/">) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" className={inter.className} suppressHydrationWarning>
|
<html lang="en" className={inter.className} suppressHydrationWarning>
|
||||||
<body className="flex flex-col min-h-screen">
|
<body className="flex flex-col min-h-screen">
|
||||||
|
|
@ -15,9 +15,6 @@ export default function Layout({ children }: LayoutProps<'/'>) {
|
||||||
<Script
|
<Script
|
||||||
src="https://mk-analytics.dathere.com/api/script.js"
|
src="https://mk-analytics.dathere.com/api/script.js"
|
||||||
data-site-id="10"
|
data-site-id="10"
|
||||||
data-session-replay="true"
|
|
||||||
data-track-errors="true"
|
|
||||||
data-web-vitals="true"
|
|
||||||
strategy="afterInteractive"
|
strategy="afterInteractive"
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue