Skip to content

Commit b9bcfc8

Browse files
authored
Fix "Try it out" button (#2287)
The anchor doesn't seem to work.
1 parent fda40e0 commit b9bcfc8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/index-page/hero/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function Hero() {
2929
</ul>
3030

3131
<div className="flex items-center gap-4">
32-
<Button href="/#try-it-out">Try it out</Button>
32+
<Button href="/#how-it-works">Try it out</Button>
3333
<Button href="/learn" variant="secondary">
3434
<span className="sr-only">Read the </span> Docs
3535
</Button>

src/components/index-page/how-it-works/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export function HowItWorks() {
3232
return (
3333
<section
3434
ref={sectionRef}
35+
id="how-it-works"
3536
className="gql-container gql-section xl:py-20"
3637
// this is mostly for Playwright, we're not getting a hydration warning normally
3738
suppressHydrationWarning

0 commit comments

Comments
 (0)