docs(www): link get started to installation

This commit is contained in:
shadcn
2025-02-25 16:00:19 +04:00
parent 57d15bb2d5
commit 190ae2dcd8
2 changed files with 5 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ export default function IndexPage() {
<PageHeaderDescription>{description}</PageHeaderDescription>
<PageActions>
<Button asChild size="sm">
<Link href="/docs">Get Started</Link>
<Link href="/docs/installation">Get Started</Link>
</Button>
<Button asChild size="sm" variant="ghost">
<Link href="/blocks">Browse Blocks</Link>

View File

@@ -20,10 +20,12 @@ export function MainNav() {
</Link>
<nav className="flex items-center gap-4 text-sm xl:gap-6">
<Link
href="/docs"
href="/docs/installation"
className={cn(
"transition-colors hover:text-foreground/80",
pathname === "/docs" ? "text-foreground" : "text-foreground/80"
pathname === "/docs/installation"
? "text-foreground"
: "text-foreground/80"
)}
>
Docs