Skip to content

Commit f56c655

Browse files
authored
new landing — try it out link (#44)
* Add [Try it out] link to the Hero * Add redirect from /docs to /learn
1 parent e0ea092 commit f56c655

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ export function Hero() {
2929
</ul>
3030

3131
<div className="flex items-center gap-4">
32-
<Button href="/learn" className="max-sm:w-full">
33-
Learn more<span className="sr-only"> about GraphQL</span>
32+
<Button href="/learn/#try-it-out">Try it out</Button>
33+
<Button href="/learn" variant="secondary">
34+
<span className="sr-only">Read the </span> Docs
3435
</Button>
3536
</div>
3637
</div>

vercel.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,11 @@
590590
"destination": "https://landscape.graphql.org",
591591
"permanent": true
592592
},
593+
{
594+
"source": "/docs",
595+
"destination": "/learn",
596+
"permanent": true
597+
},
593598
{
594599
"source": "/conf/2025/event-resources",
595600
"destination": "https://sites.google.com/linuxfoundation.org/graphqlconf2025event-resources/event-resources",

0 commit comments

Comments
 (0)