mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
Style updates
fix navbar to remain sticky, add fade in to layout component, update font to Space Grotesk
This commit is contained in:
@@ -4,10 +4,10 @@ import Navbar from './Navbar';
|
||||
const Layout: FC<{ children: ReactNode }> = ({ children }) => {
|
||||
return (
|
||||
<div className="flex h-screen flex-col">
|
||||
<header className="sticky top-0 z-50">
|
||||
<Navbar />
|
||||
</header>
|
||||
<div className="relative top-0 h-full flex-1">{children}</div>
|
||||
<Navbar />
|
||||
<div className="top-0 h-full flex-1 overflow-x-auto animate-in fade-in">
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user