Skip to content

Commit 975669b

Browse files
committed
feat(web): update badge page to include navigation link in button for improved accessibility
1 parent 148b9b8 commit 975669b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

apps/web/app/badge/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
import Link from 'next/link'
2+
13
import { Button } from '@tech-stack/ui/components/button'
24

35
export default function Page() {
46
return (
57
<div className="flex flex-1 flex-col items-center justify-center gap-4">
68
<h1 className="font-bold text-2xl">Work in progress</h1>
7-
<Button size="sm">Home</Button>
9+
<Button size="sm" asChild>
10+
<Link href="/">Home</Link>
11+
</Button>
812
</div>
913
)
1014
}

0 commit comments

Comments
 (0)