tasko/app/layout.tsx

39 lines
821 B
TypeScript

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';
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: {
default: siteConfig.name,
template: `%s | ${siteConfig.name}`,
},
description: siteConfig.description,
icons: [
{
url: '/favicon.svg',
href: '/favicon.svg',
},
],
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang='en'>
<body className={inter.className}>
<SpeedInsights />
{children}
<Analytics />
</body>
</html>
);
}