Skip to content

Commit 1e87bb7

Browse files
committed
docs: various improvements
1 parent f374326 commit 1e87bb7

File tree

7 files changed

+476
-729
lines changed

7 files changed

+476
-729
lines changed

docs/app/app.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ export default defineAppConfig({
1111
llms: {
1212
domain: 'https://docs.npmx.dev',
1313
},
14+
github: {
15+
rootDir: 'docs',
16+
},
1417
})

docs/app/assets/css/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@import 'tailwindcss';
2+
@import '@nuxt/ui';
3+
4+
@theme {
5+
--font-sans: 'Geist', sans-serif;
6+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<template>
2+
<UButton
3+
to="https://npmx.dev"
4+
external
5+
color="neutral"
6+
variant="subtle"
7+
size="xs"
8+
trailingIcon="i-lucide-arrow-up-right"
9+
label="npmx.dev"
10+
/>
11+
</template>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<template>
2+
<div class="flex items-center">
3+
<svg
4+
aria-hidden="true"
5+
xmlns="http://www.w3.org/2000/svg"
6+
viewBox="0 0 512 512"
7+
class="w-8 h-8"
8+
>
9+
<title>npmx</title>
10+
)" width="512" height="512" rx="64" />
11+
<rect fill="currentColor" x="110" y="310" width="60" height="60" />
12+
<text
13+
fill="var(--ui-primary)"
14+
x="320"
15+
y="370"
16+
font-family="'Geist Mono',ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace"
17+
font-size="420"
18+
font-weight="500"
19+
text-anchor="middle"
20+
style="user-select: none"
21+
>
22+
<tspan>/</tspan>
23+
</text>
24+
</svg>
25+
<span class="text-base font-medium">npmx <span class="text-primary">docs</span></span>
26+
</div>
27+
</template>

docs/nuxt.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
export default defineNuxtConfig({
22
extends: ['docus'],
3+
css: ['~/assets/css/main.css'],
34
llms: {
45
domain: 'https://docs.npmx.dev',
56
},
7+
site: {
8+
name: 'npmx docs',
9+
},
610
})

docs/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
"preview": "nuxt preview"
2020
},
2121
"dependencies": {
22+
"@nuxt/ui": "4.5.0",
2223
"@nuxtjs/mdc": "0.20.1",
2324
"better-sqlite3": "12.6.2",
2425
"docus": "5.6.1",
25-
"nuxt": "4.3.1"
26+
"nuxt": "4.3.1",
27+
"tailwindcss": "4.2.1"
2628
}
2729
}

pnpm-lock.yaml

Lines changed: 422 additions & 728 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)