Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion frontend/src/components/layout/AppShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ import { BackgroundLayer } from './BackgroundLayer'
export function AppShell() {
return (
<div className="flex h-screen overflow-hidden bg-background text-foreground" data-app-shell>
<a
href="#main-content"
className="sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:rounded-md focus:bg-primary focus:px-4 focus:py-2 focus:text-primary-foreground"
>
Skip to main content
</a>
<BackgroundLayer />
<Sidebar />
<div className="flex flex-1 flex-col overflow-hidden">
<Header />
<main className="flex-1 overflow-y-auto">
<main id="main-content" className="flex-1 overflow-y-auto" tabIndex={-1}>
<Outlet />
</main>
</div>
Expand Down