feat: added the code for the wireframe for all the pages

This commit is contained in:
Dev Singh 2024-09-22 19:17:49 +05:30
parent 3fb493f400
commit b1edd86c06
12 changed files with 276 additions and 63 deletions

View file

@ -0,0 +1,23 @@
import Footer from 'components/Footer';
import Header from 'components/Header';
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 />
<main className="flex-grow">
{children}
</main>
<Footer />
</div>
);
};
export default Layout;