Skip to content

Commit 1e0c2be

Browse files
committed
fix: simpler index formatting
1 parent f722d09 commit 1e0c2be

1 file changed

Lines changed: 9 additions & 48 deletions

File tree

docs/content/index.md

Lines changed: 9 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -4,73 +4,34 @@ seo:
44
description: A fast, modern browser for the npm registry
55
---
66

7-
::u-page-hero
8-
#title
9-
npmx.dev
10-
11-
#description
12-
A fast, modern browser for the npm registry. Speed first, URL compatible, and simple.
13-
7+
::u-page-hero{title="npmx.dev" description="A fast, modern browser for the npm registry. Speed first, URL compatible, and simple."}
148
#links
159
:::u-button{color="neutral" size="xl" to="/getting-started/introduction" trailing-icon="i-lucide-arrow-right"}
1610
Get Started
1711
:::
1812

19-
:::u-button{color="neutral" icon="i-simple-icons-github" size="xl" to="https://github.com/npmx-dev/npmx.dev" target="_blank" variant="outline"}
13+
:::u-button{color="neutral" icon="i-simple-icons-github" size="xl" to="https://github.com/npmx-dev/npmx.dev" target="\_blank" variant="outline"}
2014
View on GitHub
2115
:::
2216
::
2317

24-
::u-page-section
25-
#title
26-
What you can do
27-
18+
::u-page-section{title="What you can do"}
2819
#features
29-
:::u-page-feature{icon="i-lucide-search" to="/guide/features"}
30-
#title
31-
Search packages
32-
33-
#description
34-
Fast package search with instant results, infinite scroll, and keyboard navigation.
20+
:::u-page-feature{icon="i-lucide-search" to="/guide/features" title="Search packages" description="Fast package search with instant results, infinite scroll, and keyboard navigation."}
3521
:::
3622

37-
:::u-page-feature{icon="i-lucide-code" to="/guide/features"}
38-
#title
39-
Browse source code
40-
41-
#description
42-
View package source code with syntax highlighting and permalink to specific lines.
23+
:::u-page-feature{icon="i-lucide-code" to="/guide/features" title="Browse source code" description="View package source code with syntax highlighting and permalink to specific lines."}
4324
:::
4425

45-
:::u-page-feature{icon="i-lucide-link" to="/guide/url-structure"}
46-
#title
47-
Use familiar URLs
48-
49-
#description
50-
Replace npmjs.com with npmx.dev in any URL and it just works.
26+
:::u-page-feature{icon="i-lucide-link" to="/guide/url-structure" title="Use familiar URLs" description="Replace npmjs.com with npmx.dev in any URL and it just works."}
5127
:::
5228

53-
:::u-page-feature{icon="i-lucide-keyboard" to="/guide/keyboard-shortcuts"}
54-
#title
55-
Navigate with keyboard
56-
57-
#description
58-
Press `/` to search, `.` for code viewer, arrow keys to navigate results.
29+
:::u-page-feature{icon="i-lucide-keyboard" to="/guide/keyboard-shortcuts" title="Navigate with keyboard" description="Press / to search, . for code viewer, arrow keys to navigate results."}
5930
:::
6031

61-
:::u-page-feature{icon="i-lucide-shield-check" to="/guide/features"}
62-
#title
63-
Check security
64-
65-
#description
66-
Vulnerability warnings from OSV database and provenance indicators for verified builds.
32+
:::u-page-feature{icon="i-lucide-shield-check" to="/guide/features" title="Check security" description="Vulnerability warnings from OSV database and provenance indicators for verified builds."}
6733
:::
6834

69-
:::u-page-feature{icon="i-lucide-moon" to="/guide/features"}
70-
#title
71-
Enjoy dark mode
72-
73-
#description
74-
Dark mode by default for a better viewing experience.
35+
:::u-page-feature{icon="i-lucide-moon" to="/guide/features" title="Enjoy dark mode" description="Dark mode by default for a better viewing experience."}
7536
:::
7637
::

0 commit comments

Comments
 (0)