discord-clone/app/(main)/layout.tsx

23 lines
462 B
TypeScript
Raw Normal View History

2023-09-04 19:53:50 -07:00
import './globals.css'
import type { Metadata } from 'next'
2023-10-07 12:41:57 -07:00
import { Open_Sans } from 'next/font/google'
2023-09-04 19:53:50 -07:00
2023-10-07 12:41:57 -07:00
const font = Open_Sans({ subsets: ['latin'] })
2023-09-04 19:53:50 -07:00
export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
2023-10-07 12:41:57 -07:00
<body className={font.className}>{children}</body>
2023-09-04 19:53:50 -07:00
</html>
)
}