Files
the-biergarten-app/components/Layout.tsx
Aaron William Po 0065525f5c Add beer post, brewery post GET service and page
Add prettier, eslint config
2023-01-22 20:56:33 -05:00

16 lines
381 B
TypeScript

import { FC, ReactNode } from 'react';
import Navbar from './Navbar';
const Layout: FC<{ children: ReactNode }> = ({ children }) => {
return (
<div className="flex h-screen flex-col">
<header className="top-0">
<Navbar />
</header>
<div className="top-0 h-full flex-1 animate-in fade-in">{children}</div>
</div>
);
};
export default Layout;