snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
30
apps/v4/registry/bases/aria/blocks/sidebar-16/page.tsx
Normal file
30
apps/v4/registry/bases/aria/blocks/sidebar-16/page.tsx
Normal file
@@ -0,0 +1,30 @@
|
||||
import { AppSidebar } from "@/registry/bases/aria/blocks/sidebar-16/components/app-sidebar"
|
||||
import { SiteHeader } from "@/registry/bases/aria/blocks/sidebar-16/components/site-header"
|
||||
import { SidebarInset, SidebarProvider } from "@/registry/bases/aria/ui/sidebar"
|
||||
|
||||
export const iframeHeight = "800px"
|
||||
|
||||
export const description = "A sidebar with a header and a search form."
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<div className="[--header-height:calc(--spacing(14))]">
|
||||
<SidebarProvider className="flex flex-col">
|
||||
<SiteHeader />
|
||||
<div className="flex flex-1">
|
||||
<AppSidebar />
|
||||
<SidebarInset>
|
||||
<div className="flex flex-1 flex-col gap-4 p-4">
|
||||
<div className="grid auto-rows-min gap-4 md:grid-cols-3">
|
||||
<div className="aspect-video rounded-xl bg-muted/50" />
|
||||
<div className="aspect-video rounded-xl bg-muted/50" />
|
||||
<div className="aspect-video rounded-xl bg-muted/50" />
|
||||
</div>
|
||||
<div className="min-h-screen flex-1 rounded-xl bg-muted/50 md:min-h-min" />
|
||||
</div>
|
||||
</SidebarInset>
|
||||
</div>
|
||||
</SidebarProvider>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user