Files
the-biergarten-app/components/ui/Layout.tsx
Aaron William Po 80bed9b4dc Style updates
fix navbar to remain sticky, add fade in to layout component, update font to Space Grotesk
2023-04-08 02:11:13 -04:00

16 lines
362 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">
<Navbar />
<div className="top-0 h-full flex-1 overflow-x-auto animate-in fade-in">
{children}
</div>
</div>
);
};
export default Layout;