docs: point the site install command at the v1.1.2 release tarball
The READMEs were bumped for 1.1.2 but the docs Hero/GettingStarted still showed the v1.1.1 URL.
This commit is contained in:
parent
a6348d5c46
commit
605c38af51
2 changed files with 4 additions and 4 deletions
|
|
@ -30,12 +30,12 @@ export const GettingStarted: React.FC = () => (
|
||||||
|
|
||||||
<Step n={1} title="Install">
|
<Step n={1} title="Install">
|
||||||
<CodeBlock
|
<CodeBlock
|
||||||
code={`pnpm add https://git.dreamodus.software/Dreamodus/DreamKnob/releases/download/v1.1.1/dreamknob-1.1.1.tgz\n# (or npm install <same url>) · peer deps: react >= 18, react-dom >= 18`}
|
code={`pnpm add https://git.dreamodus.software/Dreamodus/DreamKnob/releases/download/v1.1.2/dreamknob-1.1.2.tgz\n# (or npm install <same url>) · peer deps: react >= 18, react-dom >= 18`}
|
||||||
/>
|
/>
|
||||||
<p className="api-note" style={{ marginTop: 10 }}>
|
<p className="api-note" style={{ marginTop: 10 }}>
|
||||||
Installs straight from the{' '}
|
Installs straight from the{' '}
|
||||||
<a href="https://git.dreamodus.software/Dreamodus/DreamKnob/releases">
|
<a href="https://git.dreamodus.software/Dreamodus/DreamKnob/releases">
|
||||||
v1.1.1 release
|
v1.1.2 release
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
on our Forgejo. Zero runtime dependencies, ESM + CJS, full TypeScript types. No
|
on our Forgejo. Zero runtime dependencies, ESM + CJS, full TypeScript types. No
|
||||||
CSS file to import — everything is SVG and inline styles.
|
CSS file to import — everything is SVG and inline styles.
|
||||||
|
|
|
||||||
|
|
@ -25,10 +25,10 @@ export const Hero: React.FC = () => {
|
||||||
range, any decimal precision, and colors you fully control.
|
range, any decimal precision, and colors you fully control.
|
||||||
</p>
|
</p>
|
||||||
<div className="install">
|
<div className="install">
|
||||||
<span>pnpm add https://git.dreamodus.software/Dreamodus/DreamKnob/releases/download/v1.1.1/dreamknob-1.1.1.tgz</span>
|
<span>pnpm add https://git.dreamodus.software/Dreamodus/DreamKnob/releases/download/v1.1.2/dreamknob-1.1.2.tgz</span>
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
navigator.clipboard.writeText('pnpm add https://git.dreamodus.software/Dreamodus/DreamKnob/releases/download/v1.1.1/dreamknob-1.1.1.tgz');
|
navigator.clipboard.writeText('pnpm add https://git.dreamodus.software/Dreamodus/DreamKnob/releases/download/v1.1.2/dreamknob-1.1.2.tgz');
|
||||||
setCopied(true);
|
setCopied(true);
|
||||||
setTimeout(() => setCopied(false), 1400);
|
setTimeout(() => setCopied(false), 1400);
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue