Skip to content

Commit ee42ab6

Browse files
committed
feat: add ApiExplorer to home page
1 parent ba26ee6 commit ee42ab6

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/content/docs/index.mdx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,24 @@ hero:
2121
rel: me
2222
---
2323

24+
import ApiExplorer from '../../components/ApiExplorer.astro';
25+
import { Card, CardGrid } from '@astrojs/starlight/components'
26+
2427
<div class="text-2xl text-center leading-[1.8]">
2528
All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API.
2629
</div>
2730

28-
---
29-
30-
import { Card, CardGrid } from '@astrojs/starlight/components';
31+
<ApiExplorer />
3132

3233
<CardGrid stagger>
33-
<Card title="What is this?" icon="puzzle">
34+
35+
<Card title="What is this?" icon="puzzle">
3436
This is a full **RESTful API** linked to an extensive database detailing everything about the Pokémon main game series.
3537
<br/>
3638
We've covered everything from Pokémon to Berry Flavors.
3739
</Card>
38-
<Card title="Where do I start?" icon="rocket">
40+
41+
<Card title="Where do I start?" icon="rocket">
3942
We have awesome [documentation](./v2/) on how to use this API. It takes minutes to get started.
4043
<br/>
4144
This API will always be publicly available and will never require any extensive setup process to consume.

0 commit comments

Comments
 (0)