feat(vercel): added analytics

This commit is contained in:
Stan Girard 2023-05-18 13:49:53 +02:00
parent b4e09dbc29
commit f042ff15f0
3 changed files with 8 additions and 0 deletions

View File

@ -1,10 +1,12 @@
import Link from "next/link";
import Hero from "./Hero";
import { Analytics } from '@vercel/analytics/react';
export default function HomePage() {
return (
<main className="">
<Hero />
<Analytics />
</main>
);
}

View File

@ -12,6 +12,7 @@
"@types/node": "20.1.7",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"@vercel/analytics": "^1.0.1",
"autoprefixer": "10.4.14",
"axios": "^1.4.0",
"class-variance-authority": "^0.6.0",

View File

@ -284,6 +284,11 @@
"@typescript-eslint/types" "5.59.6"
eslint-visitor-keys "^3.3.0"
"@vercel/analytics@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.0.1.tgz#38308a626c91866cb00a249c08bf65251e9b9d81"
integrity sha512-Ux0c9qUfkcPqng3vrR0GTrlQdqNJ2JREn/2ydrVuKwM3RtMfF2mWX31Ijqo1opSjNAq6rK76PwtANw6kl6TAow==
acorn-jsx@^5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"