Skip to content

Commit

Permalink
docs: add analytics (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jun 20, 2024
1 parent fc04485 commit 3d98da3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/themes": "^3.0.5",
"@vercel/analytics": "^1.3.1",
"ai": "^3.1.36",
"assistant-ui": "workspace:*",
"class-variance-authority": "^0.7.0",
Expand Down
5 changes: 4 additions & 1 deletion apps/www/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { TooltipProvider } from "@/components/ui/tooltip";
import { Theme } from "@radix-ui/themes";
import { Analytics } from "@vercel/analytics/react";
import type { AppProps } from "next/app";
import Head from "next/head";
import React from "react";

import "./styles.css";
import "@radix-ui/themes/styles.css";
import { Theme } from "@radix-ui/themes";

export default function MyApp({ Component, pageProps }: AppProps) {
return (
Expand All @@ -19,6 +20,8 @@ export default function MyApp({ Component, pageProps }: AppProps) {
<Component {...pageProps} />
</Theme>
</TooltipProvider>

<Analytics />
</>
);
}
26 changes: 26 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d98da3

Please sign in to comment.