Files
scrap/src/app/layout.tsx
2024-10-04 01:54:27 +00:00

29 lines
701 B
TypeScript

import "./globals.css";
import { Open_Sans } from 'next/font/google';
import Footer from "./components/footer";
import Header from "./components/header";
const openSans = Open_Sans({ subsets: ['latin'] });
export const metadata = {
title: 'My Website',
description: 'Website description here',
};
const RootLayout = ({ children }: { children: React.ReactNode }) => {
return (
<html lang="en">
<body className={openSans.className}>
<div className="flex flex-col min-h-screen">
<Header />
<main className="flex-grow">
{children}
</main>
<Footer />
</div>
</body>
</html>
);
};
export default RootLayout;