add vercel analytics

This commit is contained in:
Calli
2023-06-26 10:33:59 +03:00
parent f2dfefc565
commit 6545f2d878
3 changed files with 16 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import "./globals.css";
import { Analytics } from "@vercel/analytics/react";
import { Inter } from "next/font/google";
const inter = Inter({ subsets: ["latin"] });
@@ -15,7 +16,9 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
<body className={inter.className}>
{children} <Analytics />
</body>
</html>
);
}