mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
Upstream sync from shadcn-ui/ui (1686 commits since last merge base). Key changes: - packages/shadcn upgraded to 4.1.0 (CLI font transformers, scaffold from github, chart colors) - apps/v4 replaces apps/www as the primary docs/registry app - Font system: 25+ heading font registries, font markers utility, @supports override - Chart improvements: recharts v3 compat, radial chart fixes - templates/ updated with monorepo variants (astro, vite, react-router, start) - skills/shadcn AI skill definitions added - deprecated/ removed (auth, auth-firebase, cli, www) Preserved Hanzo-only paths: app/, pkg/, demo/, docs/, template/next/
31 lines
1.2 KiB
TypeScript
31 lines
1.2 KiB
TypeScript
import { AppSidebar } from "@/registry/bases/base/blocks/sidebar-16/components/app-sidebar"
|
|
import { SiteHeader } from "@/registry/bases/base/blocks/sidebar-16/components/site-header"
|
|
import { SidebarInset, SidebarProvider } from "@/registry/bases/base/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>
|
|
)
|
|
}
|