De-emphasize link meta
This commit is contained in:
parent
0a9d3cfb49
commit
ce4ecedf7e
1 changed files with 44 additions and 39 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {writable} from "svelte/store"
|
import {writable} from "svelte/store"
|
||||||
|
import {slide} from "@lib/transition"
|
||||||
import AltArrowLeft from "@assets/icons/alt-arrow-left.svg?dataurl"
|
import AltArrowLeft from "@assets/icons/alt-arrow-left.svg?dataurl"
|
||||||
import GallerySend from "@assets/icons/gallery-send.svg?dataurl"
|
import GallerySend from "@assets/icons/gallery-send.svg?dataurl"
|
||||||
import Spinner from "@lib/components/Spinner.svelte"
|
import Spinner from "@lib/components/Spinner.svelte"
|
||||||
|
|
@ -83,6 +84,19 @@
|
||||||
<ModalTitle>{heading}</ModalTitle>
|
<ModalTitle>{heading}</ModalTitle>
|
||||||
<ModalSubtitle>on <RelayName {url} class="text-primary" /></ModalSubtitle>
|
<ModalSubtitle>on <RelayName {url} class="text-primary" /></ModalSubtitle>
|
||||||
</ModalHeader>
|
</ModalHeader>
|
||||||
|
<Field>
|
||||||
|
{#snippet label()}
|
||||||
|
Link
|
||||||
|
{/snippet}
|
||||||
|
{#snippet info()}
|
||||||
|
<p>A URL or nostr link (note, nevent, naddr, npub, or nprofile).</p>
|
||||||
|
{/snippet}
|
||||||
|
{#snippet input()}
|
||||||
|
<input bind:value class="input w-full" placeholder="URL or nevent..." />
|
||||||
|
{/snippet}
|
||||||
|
</Field>
|
||||||
|
{#if value.trim()}
|
||||||
|
<div transition:slide class="card card-sm flex flex-col gap-4 opacity-75">
|
||||||
<Field>
|
<Field>
|
||||||
{#snippet label()}
|
{#snippet label()}
|
||||||
Title
|
Title
|
||||||
|
|
@ -122,17 +136,8 @@
|
||||||
<StringMultiInput bind:value={topics} placeholder="Add a topic..." />
|
<StringMultiInput bind:value={topics} placeholder="Add a topic..." />
|
||||||
{/snippet}
|
{/snippet}
|
||||||
</Field>
|
</Field>
|
||||||
<Field>
|
</div>
|
||||||
{#snippet label()}
|
{/if}
|
||||||
Link
|
|
||||||
{/snippet}
|
|
||||||
{#snippet info()}
|
|
||||||
<p>A URL or nostr link (note, nevent, naddr, npub, or nprofile).</p>
|
|
||||||
{/snippet}
|
|
||||||
{#snippet input()}
|
|
||||||
<input bind:value class="input w-full" placeholder="URL or nevent..." />
|
|
||||||
{/snippet}
|
|
||||||
</Field>
|
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
<ModalFooter>
|
<ModalFooter>
|
||||||
<Button class="button button-link" onclick={back}>
|
<Button class="button button-link" onclick={back}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue