tubearchivist-frontend/app/components/Layout.tsx

19 lines
339 B
TypeScript
Raw Normal View History

import { Footer } from "./Footer";
import { Nav } from "./Nav";
2022-10-18 19:28:37 +00:00
type Props = {
children: React.ReactNode;
};
export const Layout: React.FC<Props> = ({ children }) => {
return (
<>
2022-04-14 20:33:53 +00:00
<div style={{ minHeight: "100vh" }} className="main-content">
<Nav />
{children}
</div>
<Footer />
</>
);
};