Skip to content

Commit 96bd89e

Browse files
committed
feat: add call to action to try-it-now anchor
1 parent ce5e5cb commit 96bd89e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/ApiExplorer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import { Aside } from '@astrojs/starlight/components'
4242
</style>
4343
4444
<section class="py-12">
45-
<h2 class="text-center" style="margin-bottom: 32px">Try it now!</h2>
45+
<h2 id="try-it-now" class="text-center" style="margin-bottom: 32px">Try it now!</h2>
4646
4747
<Aside type="tip" title="Need a hint?">
4848
Try <code>pokemon/ditto</code>, <code>pokemon-species/aegislash</code>, <code>type/3</code>,

src/content/docs/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ hero:
1313
link: ./v2/
1414
icon: open-book
1515
variant: primary
16-
- text: View on GitHub
17-
link: https://github.com/pokeapi/pokeapi
18-
icon: github
16+
- text: Try it out!
17+
link: "#try-it-now"
18+
icon: rocket
1919
variant: secondary
2020
attrs:
2121
rel: me

0 commit comments

Comments
 (0)