Skip to content

Commit 37ce6a4

Browse files
fix: Fix the Github link in the Hero section
1 parent 5be85f4 commit 37ce6a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/landing/hero.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ export function Hero() {
2828
Cloudflare Workers, and everything you need to launch quickly.
2929
</p>
3030
<div className="mt-10 flex items-center justify-center gap-x-4 md:gap-x-6">
31-
<a href={GITHUB_REPO_URL} target="_blank">
32-
<Button size="lg" className="rounded-full">
31+
<Button size="lg" className="rounded-full" asChild>
32+
<a href={GITHUB_REPO_URL} target="_blank">
3333
View on GitHub
34-
</Button>
35-
</a>
34+
</a>
35+
</Button>
3636
<Link href="/sign-in">
3737
<Button variant="outline" size="lg" className="rounded-full">
3838
Try Demo

0 commit comments

Comments
 (0)