feat: The Other Dude v9.0.1 — full-featured email system
ci: add GitHub Pages deployment workflow for docs site Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
31
frontend/src/components/layout/AppLayout.tsx
Normal file
31
frontend/src/components/layout/AppLayout.tsx
Normal file
@@ -0,0 +1,31 @@
|
||||
import { type ReactNode } from 'react'
|
||||
import { Sidebar } from './Sidebar'
|
||||
import { Header } from './Header'
|
||||
import { ShortcutsDialog } from './ShortcutsDialog'
|
||||
import { CommandPalette } from '@/components/command-palette/CommandPalette'
|
||||
import { Toaster } from '@/components/ui/toast'
|
||||
|
||||
interface AppLayoutProps {
|
||||
children: ReactNode
|
||||
}
|
||||
|
||||
export function AppLayout({ children }: AppLayoutProps) {
|
||||
return (
|
||||
<div className="flex h-screen overflow-hidden bg-background">
|
||||
<a
|
||||
href="#main-content"
|
||||
className="sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:bg-accent focus:text-white focus:px-4 focus:py-2 focus:rounded-md focus:text-sm focus:font-medium"
|
||||
>
|
||||
Skip to main content
|
||||
</a>
|
||||
<Sidebar />
|
||||
<div className="flex flex-col flex-1 min-w-0 overflow-hidden">
|
||||
<Header />
|
||||
<main id="main-content" tabIndex={-1} className="flex-1 overflow-auto p-2 sm:p-4">{children}</main>
|
||||
</div>
|
||||
<Toaster />
|
||||
<CommandPalette />
|
||||
<ShortcutsDialog />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user