mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-16 17:10:12 +00:00
19 lines
339 B
TypeScript
19 lines
339 B
TypeScript
import { Footer } from "./Footer";
|
|
import { Nav } from "./Nav";
|
|
|
|
type Props = {
|
|
children: React.ReactNode;
|
|
};
|
|
|
|
export const Layout: React.FC<Props> = ({ children }) => {
|
|
return (
|
|
<>
|
|
<div style={{ minHeight: "100vh" }} className="main-content">
|
|
<Nav />
|
|
{children}
|
|
</div>
|
|
<Footer />
|
|
</>
|
|
);
|
|
};
|