feat: replace "Add a block" button with "View Components" linking to /docs/components (#10154)

https://claude.ai/code/session_01NnmghguJjhqSxuHE8PBLNi

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
shadcn
2026-03-24 10:13:30 +04:00
committed by GitHub
parent d3ab7fb00b
commit ef78384bfd

View File

@@ -56,7 +56,7 @@ export default function BlocksLayout({
<a href="#blocks">Browse Blocks</a>
</Button>
<Button asChild variant="ghost" size="sm">
<Link href="/docs/blocks">Add a block</Link>
<Link href="/docs/components">View Components</Link>
</Button>
</PageActions>
</PageHeader>