mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
32 lines
642 B
TypeScript
32 lines
642 B
TypeScript
import type { Metadata } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
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}>{children}</body>
|
|
</html>
|
|
);
|
|
}
|