add analytics w/ vercel
This commit is contained in:
parent
5cfb5c335b
commit
a824d369dd
2 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { Inter } from 'next/font/google'
|
|||
import '@fortawesome/fontawesome-svg-core/styles.css'
|
||||
import { config } from '@fortawesome/fontawesome-svg-core'
|
||||
import { SpeedInsights } from "@vercel/speed-insights/next"
|
||||
import { Analytics } from "@vercel/analytics/react"
|
||||
|
||||
config.autoAddCss = false
|
||||
|
||||
|
@ -23,6 +24,7 @@ export default function RootLayout({
|
|||
<html lang="en" className="dark">
|
||||
<body className={`${inter.className} bg-gray-900 text-gray-100`}>
|
||||
{children}
|
||||
<Analytics />
|
||||
<SpeedInsights />
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue