Skip to content

Commit bd47bae

Browse files
authored
fix(docs): resolve SSR hydration mismatch on landing page (#333)
1 parent 201f475 commit bd47bae

1 file changed

Lines changed: 20 additions & 8 deletions

File tree

docs/content/index.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,27 @@ seo:
44
description: A fast, modern browser for the npm registry
55
---
66

7-
::u-page-hero{title="npmx.dev" description="A fast, modern browser for the npm registry. Speed first, URL compatible, and simple."}
8-
#links
9-
:::u-button{color="neutral" size="xl" to="/getting-started/introduction" trailing-icon="i-lucide-arrow-right"}
10-
Get Started
11-
:::
7+
## ::u-page-hero
8+
9+
title: npmx.dev
10+
description: A fast, modern browser for the npm registry. Speed first, URL compatible, and simple.
11+
links:
12+
13+
- label: Get Started
14+
to: /getting-started/introduction
15+
color: neutral
16+
size: xl
17+
trailingIcon: i-lucide-arrow-right
18+
- label: View on GitHub
19+
to: https://github.com/npmx-dev/npmx.dev
20+
target: \_blank
21+
color: neutral
22+
size: xl
23+
icon: i-simple-icons-github
24+
variant: outline
25+
26+
---
1227

13-
:::u-button{color="neutral" icon="i-simple-icons-github" size="xl" to="https://github.com/npmx-dev/npmx.dev" target="\_blank" variant="outline"}
14-
View on GitHub
15-
:::
1628
::
1729

1830
::u-page-section{title="What you can do"}

0 commit comments

Comments
 (0)