|
4 | 4 | description: A fast, modern browser for the npm registry |
5 | 5 | --- |
6 | 6 |
|
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."} |
14 | 8 | #links |
15 | 9 | :::u-button{color="neutral" size="xl" to="/getting-started/introduction" trailing-icon="i-lucide-arrow-right"} |
16 | 10 | Get Started |
17 | 11 | ::: |
18 | 12 |
|
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"} |
20 | 14 | View on GitHub |
21 | 15 | ::: |
22 | 16 | :: |
23 | 17 |
|
24 | | -::u-page-section |
25 | | -#title |
26 | | -What you can do |
27 | | - |
| 18 | +::u-page-section{title="What you can do"} |
28 | 19 | #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."} |
35 | 21 | ::: |
36 | 22 |
|
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."} |
43 | 24 | ::: |
44 | 25 |
|
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."} |
51 | 27 | ::: |
52 | 28 |
|
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."} |
59 | 30 | ::: |
60 | 31 |
|
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."} |
67 | 33 | ::: |
68 | 34 |
|
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."} |
75 | 36 | ::: |
76 | 37 | :: |
0 commit comments