Skip to content

Commit

Permalink
add analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
cdreetz committed Jul 25, 2024
1 parent 78b2756 commit 25c1347
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import NavMenu from '@/components/NevMenu'
import { Analytics } from "@vercel/analytics/react"

const inter = Inter({ subsets: ["latin"] });

Expand All @@ -20,6 +21,7 @@ export default function RootLayout({
<body className={inter.className}>
<NavMenu />
{children}
<Analytics />
</body>
</html>
);
Expand Down
1 change: 0 additions & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
'use client'

import { useState, useEffect } from 'react';
import { generateText } from 'ai';
import ModelSelectionForm from '@/components/ModelSelectionForm'
import PromptInputForm from '@/components/PromptInputForm'
import EvaluationButton from '@/components/EvaluationButton'
Expand Down
26 changes: 26 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@vercel/analytics": "^1.3.1",
"ai": "^3.2.35",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand Down

0 comments on commit 25c1347

Please sign in to comment.