init
This commit is contained in:
16
frontend/src/components/ui/Layout.tsx
Normal file
16
frontend/src/components/ui/Layout.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Navbar } from './Navbar.tsx'
|
||||
|
||||
interface LayoutProps {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export function Layout({ children }: LayoutProps) {
|
||||
return (
|
||||
<div className="min-h-screen bg-bg-100">
|
||||
<Navbar />
|
||||
<main className="mx-auto max-w-4xl px-6 py-10">
|
||||
{children}
|
||||
</main>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user