Add external link where Radicle CLI is mentioned

This commit is contained in:
Rūdolfs Ošiņš
2024-03-26 14:15:42 +01:00
parent 746e478da3
commit 663265f382
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -6,6 +6,7 @@
import Button from "@app/components/Button.svelte";
import Command from "@app/components/Command.svelte";
import ExternalLink from "@app/components/ExternalLink.svelte";
import Icon from "@app/components/Icon.svelte";
import IconSmall from "@app/components/IconSmall.svelte";
import Popover from "@app/components/Popover.svelte";
@@ -74,7 +75,9 @@
{#if radicle}
<label for="rad-clone-url">
Use the Radicle CLI to clone this project.
Use the <ExternalLink href="https://radicle.xyz">
Radicle CLI
</ExternalLink> to clone this project.
</label>
<Command command={radCloneUrl} />
{:else}
+4 -1
View File
@@ -6,6 +6,7 @@
import Button from "@app/components/Button.svelte";
import Command from "@app/components/Command.svelte";
import ErrorModal from "@app/modals/ErrorModal.svelte";
import ExternalLink from "@app/components/ExternalLink.svelte";
import IconSmall from "@app/components/IconSmall.svelte";
import Popover from "@app/components/Popover.svelte";
@@ -139,7 +140,9 @@
</Button>
{:else}
<span class="seed-label">
Use the Radicle CLI to {seeding ? "stop" : "start"} seeding this project.
Use the <ExternalLink href="https://radicle.xyz">
Radicle CLI
</ExternalLink> to {seeding ? "stop" : "start"} seeding this project.
</span>
<Command command={`rad ${seeding ? "unseed" : "seed"} ${projectId}`} />
{/if}