Skip to content

Commit feeda05

Browse files
committed
docs: Updated the website with pkg json version.
1 parent 588cbe2 commit feeda05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/pages/+Page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { IconShuffle } from '../icons/shuffle';
88
import { IconSolidJS } from '../icons/solidjs';
99
import { Markdown } from '../markdown';
1010

11+
import pkgJSON from 'src/../package.json';
12+
1113
// @ts-ignore idk what type I need to override.
1214
import Usage from '../markdown/usage.md';
1315

@@ -69,7 +71,7 @@ export default function HomePage() {
6971
<div class="mx-auto flex w-full max-w-4xl flex-col items-center gap-y-5 px-8 py-20">
7072
<span class="flex items-center gap-x-1.5 text-base">
7173
<IconSolidJS class="h-6 w-6" /> NumberFlow{' '}
72-
<span class="text-sm text-zinc-400">v0.3.0</span>
74+
<span class="text-sm text-zinc-400">v{pkgJSON.version}</span>
7375
</span>
7476
<NumberFlow
7577
class="text-6xl"

0 commit comments

Comments
 (0)