feat: added the code for the wireframe for all the pages
This commit is contained in:
parent
3fb493f400
commit
b1edd86c06
12 changed files with 276 additions and 63 deletions
23
components/Layout/index.tsx
Normal file
23
components/Layout/index.tsx
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue