feat: added dockerfile and now following all lower case convention for folder naming
This commit is contained in:
parent
d0e657c49d
commit
c1f7b81cb6
16 changed files with 339 additions and 65 deletions
23
components/layout.tsx
Normal file
23
components/layout.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="grow">
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
Loading…
Add table
Add a link
Reference in a new issue