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

13 lines
323 B
React
Raw Normal View History

2024-11-06 16:42:25 +01:00
import Footer from "@/components/Footer";
2024-11-05 21:14:06 +01:00
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>
2024-11-06 16:42:25 +01:00
<Footer />
2024-11-05 21:14:06 +01:00
</div>
);
}