feat: add stage 0 foundation
This commit is contained in:
20
frontend/src/app/layout/AppShell.tsx
Normal file
20
frontend/src/app/layout/AppShell.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import type * as React from 'react'
|
||||
|
||||
import { Sidebar } from './Sidebar'
|
||||
import { Topbar } from './Topbar'
|
||||
|
||||
type AppShellProps = {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export function AppShell({ children }: AppShellProps) {
|
||||
return (
|
||||
<div className="min-h-screen bg-background text-foreground">
|
||||
<Sidebar />
|
||||
<div className="min-h-screen lg:pl-64">
|
||||
<Topbar />
|
||||
<main>{children}</main>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user