mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-04-30 18:59:37 +00:00
Added Vercel Analytics and Speed Insights
This commit is contained in:
parent
191c8c1832
commit
1f36235498
3 changed files with 72 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
import type { Metadata } from 'next';
|
||||
import { SpeedInsights } from '@vercel/speed-insights/next';
|
||||
import { Analytics } from '@vercel/analytics/react';
|
||||
import { Inter } from 'next/font/google';
|
||||
import type { Metadata } from 'next';
|
||||
|
||||
import './globals.css';
|
||||
import { siteConfig } from '@/config/site';
|
||||
|
||||
|
@ -26,7 +29,11 @@ export default function RootLayout({
|
|||
}) {
|
||||
return (
|
||||
<html lang='en'>
|
||||
<body className={inter.className}>{children}</body>
|
||||
<body className={inter.className}>
|
||||
<SpeedInsights />
|
||||
{children}
|
||||
<Analytics />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue