feat: add web analytics

This commit is contained in:
Alvalen 2023-10-03 14:03:35 +07:00
parent a23cd83423
commit 7660ac71c0
3 changed files with 10 additions and 1 deletions

View file

@ -5,6 +5,7 @@ import { config } from "@fortawesome/fontawesome-svg-core";
import "@fortawesome/fontawesome-svg-core/styles.css";
config.autoAddCss = false;
import "./nprogress.css";
import { Analytics } from "@vercel/analytics/react";
export const metadata = {
title: "Alvalens | Portofolio",
@ -66,11 +67,11 @@ export default function RootLayout({ children }) {
return (
<html lang="en">
<body>
<TopProgressBar />
<Navbar />
{children}
<Chat />
<Analytics />
</body>
</html>
);