mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
fix navbar to remain sticky, add fade in to layout component, update font to Space Grotesk
16 lines
362 B
TypeScript
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;
|