mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 10:57:04 +00:00
remove some alts
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
<div class="bg-alt flex max-w-xl flex-col leading-normal">
|
<div class="bg-alt flex max-w-xl flex-col leading-normal">
|
||||||
{#if preview.image && !hideImage}
|
{#if preview.image && !hideImage}
|
||||||
<img
|
<img
|
||||||
alt="Link preview"
|
alt=""
|
||||||
onerror={onError}
|
onerror={onError}
|
||||||
src={preview.image}
|
src={preview.image}
|
||||||
class="bg-alt max-h-72 rounded-t-box object-contain object-center" />
|
class="bg-alt max-h-72 rounded-t-box object-contain object-center" />
|
||||||
|
|||||||
@@ -19,6 +19,6 @@
|
|||||||
|
|
||||||
<ImageIcon
|
<ImageIcon
|
||||||
{size}
|
{size}
|
||||||
|
alt=""
|
||||||
class={cx(props.class, "rounded-full")}
|
class={cx(props.class, "rounded-full")}
|
||||||
src={$profile?.picture || UserRounded}
|
src={$profile?.picture || UserRounded} />
|
||||||
alt="Profile picture" />
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</Button>
|
</Button>
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
<Link external href={pubkeyLink(pubkey)} class="btn btn-neutral">
|
<Link external href={pubkeyLink(pubkey)} class="btn btn-neutral">
|
||||||
<ImageIcon alt="Open in Coracle" src="/coracle.png" />
|
<ImageIcon alt="" src="/coracle.png" />
|
||||||
Open in Coracle
|
Open in Coracle
|
||||||
</Link>
|
</Link>
|
||||||
<Button onclick={openChat} class="btn btn-primary">
|
<Button onclick={openChat} class="btn btn-primary">
|
||||||
|
|||||||
@@ -14,8 +14,4 @@
|
|||||||
const relay = deriveRelay(url)
|
const relay = deriveRelay(url)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ImageIcon
|
<ImageIcon {size} alt="" src={$relay?.icon || RemoteControllerMinimalistic} class={props.class} />
|
||||||
{size}
|
|
||||||
src={$relay?.icon || RemoteControllerMinimalistic}
|
|
||||||
alt="Relay image"
|
|
||||||
class={props.class} />
|
|
||||||
|
|||||||
@@ -117,7 +117,7 @@
|
|||||||
{#if imagePreview}
|
{#if imagePreview}
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<span class="text-sm opacity-75">Selected:</span>
|
<span class="text-sm opacity-75">Selected:</span>
|
||||||
<ImageIcon src={imagePreview} alt="Room icon preview" />
|
<ImageIcon src={imagePreview} alt="" />
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<span class="text-sm opacity-75">No icon selected</span>
|
<span class="text-sm opacity-75">No icon selected</span>
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
{#snippet input()}
|
{#snippet input()}
|
||||||
<label class="input input-bordered flex w-full items-center gap-2">
|
<label class="input input-bordered flex w-full items-center gap-2">
|
||||||
{#if imagePreview}
|
{#if imagePreview}
|
||||||
<ImageIcon src={imagePreview} alt="Room icon preview" />
|
<ImageIcon src={imagePreview} alt="" />
|
||||||
{:else}
|
{:else}
|
||||||
<Icon icon={Hashtag} />
|
<Icon icon={Hashtag} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if $room.picture}
|
{#if $room.picture}
|
||||||
<ImageIcon src={$room.picture} {size} alt="Room icon" class="rounded-lg" />
|
<ImageIcon src={$room.picture} {size} alt="" class="rounded-lg" />
|
||||||
{:else}
|
{:else}
|
||||||
<Icon icon={Hashtag} {size} />
|
<Icon icon={Hashtag} {size} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
{#if imagePreview}
|
{#if imagePreview}
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<span class="text-sm opacity-75">Selected:</span>
|
<span class="text-sm opacity-75">Selected:</span>
|
||||||
<ImageIcon src={imagePreview} alt="Room icon preview" />
|
<ImageIcon src={imagePreview} alt="" />
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<span class="text-sm opacity-75">No icon selected</span>
|
<span class="text-sm opacity-75">No icon selected</span>
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
{#snippet input()}
|
{#snippet input()}
|
||||||
<label class="input input-bordered flex w-full items-center gap-2">
|
<label class="input input-bordered flex w-full items-center gap-2">
|
||||||
{#if imagePreview}
|
{#if imagePreview}
|
||||||
<ImageIcon src={imagePreview} alt="Room icon preview" />
|
<ImageIcon src={imagePreview} alt="" />
|
||||||
{:else}
|
{:else}
|
||||||
<Icon icon={SettingsMinimalistic} />
|
<Icon icon={SettingsMinimalistic} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user