Skip to content

Commit

Permalink
Add Vercel Analytics to site
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed May 27, 2024
1 parent a24ba90 commit 00277da
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
2 changes: 2 additions & 0 deletions website/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import '../styles/github.css';
import 'focus-visible';
import { GeistSans } from 'geist/font/sans';
import { GeistMono } from 'geist/font/mono';
import { Analytics } from '@vercel/analytics/react';
import { cn } from '@/lib/utils';
import type { ReactNode, FC } from 'react';

Expand All @@ -21,6 +22,7 @@ const RootLayout: FC<RootLayoutProps> = ({ children }) => (
)}
>
{children}
<Analytics />
</body>
</html>
);
Expand Down
5 changes: 3 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@octokit/rest": "^20.1.1",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-icons": "^1.3.0",
"@vercel/analytics": "^1.3.1",
"autoprefixer": "^10.4.19",
"clsx": "^2.1.1",
"feed": "^4.2.2",
Expand Down Expand Up @@ -48,12 +49,12 @@
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"eslint": "^8.56.0",
"ultracite": "^3.2.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"sharp": "^0.33.4",
"stylelint": "^16.6.0",
"typescript": "^5.4.5"
"typescript": "^5.4.5",
"ultracite": "^3.2.0"
},
"prettier": "ultracite/prettier",
"stylelint": {
Expand Down
26 changes: 26 additions & 0 deletions website/pnpm-lock.yaml

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

0 comments on commit 00277da

Please sign in to comment.