27 lines
539 B
TypeScript
27 lines
539 B
TypeScript
import type { Metadata } from 'next';
|
|
import { Toaster } from 'sonner';
|
|
import './globals.css';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Frontend',
|
|
description: 'Start prompting',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
</head>
|
|
<body className="m-0 p-0 font-body">
|
|
{children}
|
|
<Toaster />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|