mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
Squash merge of shadcn-ui/ui main branch into hanzo/ui, bringing in: - [email protected] through [email protected] releases - New apps/v4 directory structure - Registry system improvements and MCP server - Framework support (Vue, Svelte, React Native) - New templates (vite-app, monorepo-next, laravel) - Zod 4 compatibility (scoped override for zod@>4) - Test fixture corrections for alias resolution All 867 merge conflicts resolved preserving Hanzo customizations. 1020/1020 shadcn tests pass.
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
import { Button } from "@/examples/base/ui/button"
|
|
import {
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyDescription,
|
|
EmptyHeader,
|
|
EmptyMedia,
|
|
EmptyTitle,
|
|
} from "@/examples/base/ui/empty"
|
|
import { IconFolderCode } from "@tabler/icons-react"
|
|
import { ArrowUpRightIcon } from "lucide-react"
|
|
|
|
export default function EmptyDemo() {
|
|
return (
|
|
<Empty>
|
|
<EmptyHeader>
|
|
<EmptyMedia variant="icon">
|
|
<IconFolderCode />
|
|
</EmptyMedia>
|
|
<EmptyTitle>No Projects Yet</EmptyTitle>
|
|
<EmptyDescription>
|
|
You haven't created any projects yet. Get started by creating
|
|
your first project.
|
|
</EmptyDescription>
|
|
</EmptyHeader>
|
|
<EmptyContent className="flex-row justify-center gap-2">
|
|
<Button>Create Project</Button>
|
|
<Button variant="outline">Import Project</Button>
|
|
</EmptyContent>
|
|
<Button
|
|
variant="link"
|
|
render={<a href="#" />}
|
|
className="text-muted-foreground"
|
|
size="sm"
|
|
nativeButton={false}
|
|
>
|
|
Learn More <ArrowUpRightIcon />
|
|
</Button>
|
|
</Empty>
|
|
)
|
|
}
|