Files
react-editor-nextjs/app/layout.tsx
T

20 lines
485 B
TypeScript

import type { Metadata } from 'next';
import { site } from '@/config/site';
import './globals.css';
export const metadata: Metadata = {
metadataBase: new URL(site.url),
title: site.name,
description: site.description,
};
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body className="min-h-screen bg-background font-sans text-foreground antialiased">
{children}
</body>
</html>
);
}