2024-09-25 15:26:30 +05:30
|
|
|
import Footer from 'components/footer';
|
|
|
|
|
import Header from 'components/header';
|
2024-09-22 19:17:49 +05:30
|
|
|
import { ReactNode } from 'react';
|
|
|
|
|
import "styles/tailwind.css"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface LayoutProps {
|
|
|
|
|
children: ReactNode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const Layout: React.FC<LayoutProps> = ({ children }) => {
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex flex-col min-h-screen">
|
|
|
|
|
<Header />
|
2024-09-25 15:26:30 +05:30
|
|
|
<main className="grow">
|
2024-09-22 19:17:49 +05:30
|
|
|
{children}
|
|
|
|
|
</main>
|
|
|
|
|
<Footer />
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Layout;
|