Skip to content

Commit

Permalink
docs: Updated the website with pkg json version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blankeos committed Oct 21, 2024
1 parent 588cbe2 commit feeda05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/pages/+Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { IconShuffle } from '../icons/shuffle';
import { IconSolidJS } from '../icons/solidjs';
import { Markdown } from '../markdown';

import pkgJSON from 'src/../package.json';

// @ts-ignore idk what type I need to override.
import Usage from '../markdown/usage.md';

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

0 comments on commit feeda05

Please sign in to comment.