mernmail-website/app/(root)/layout.jsx

12 lines
323 B
JavaScript

import Footer from "@/components/Footer";
import Header from "@/components/Header";
export default function RootLayout({ children }) {
return (
<div className="flex flex-col min-h-screen">
<Header />
<div className="flex-grow flex-1 overflow-x-hidden">{children}</div>
<Footer />
</div>
);
}