Add analytics

This commit is contained in:
2024-10-28 10:22:30 -07:00
parent 39488efefc
commit 7ce141cb66
3 changed files with 29 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import { Navigation } from "~/components/Navigation"
import { Sidebar } from "~/components/Sidebar"
import { ThemeProvider } from 'next-themes'
import { Footer } from "~/components/Footer"
import { Analytics } from "@vercel/analytics/react"
export const metadata = {
title: "Sean O'Connor",
@@ -15,6 +16,7 @@ export default function RootLayout({ children }: React.PropsWithChildren) {
return (
<html lang="en" className={inter.className}>
<body className="font-sans bg-background text-foreground min-h-screen flex flex-col">
<Analytics />
<Navigation />
<div className="flex-1">
<div className="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">