Skip to content

Commit 6de4228

Browse files
committed
cleanup
1 parent d305802 commit 6de4228

File tree

7 files changed

+288
-362
lines changed

7 files changed

+288
-362
lines changed

apps/docs/app/layout.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import "./global.css";
2+
import { Databuddy } from "@databuddy/sdk/react";
23
import { RootProvider } from "fumadocs-ui/provider";
34
import type { Metadata, Viewport } from "next";
45
import { Geist, Geist_Mono, Manrope } from "next/font/google";
5-
import Script from "next/script";
66
import { ThemeProvider } from "next-themes";
77
import type { ReactNode } from "react";
88
import { Toaster } from "@/components/ui/sonner";
@@ -91,18 +91,14 @@ export default function Layout({ children }: { children: ReactNode }) {
9191
lang="en"
9292
suppressHydrationWarning
9393
>
94-
{/* <Databuddy
94+
<Databuddy
9595
clientId="OXmNQsViBT-FOS_wZCTHc"
9696
disabled={process.env.NODE_ENV === "development"}
97+
scriptUrl="https://databuddy.b-cdn.net/databuddy.js"
9798
trackAttributes
9899
trackErrors
99100
trackOutgoingLinks
100101
trackWebVitals
101-
/> */}
102-
<Script
103-
async
104-
data-client-id="OXmNQsViBT-FOS_wZCTHc"
105-
src="https://databuddy.b-cdn.net/databuddy.js"
106102
/>
107103
<body>
108104
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>

apps/docs/app/sitemap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ import { generateSitemapEntries } from "@/lib/sitemap-generator";
44
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
55
return await generateSitemapEntries();
66
}
7+

0 commit comments

Comments
 (0)