johnandersen777.bsky.social/knotless
git that lives in your Atmosphere account
Forked from chadtmiller.com/knotless
0
0
<script lang="ts">
import type { CheckImageView } from '#lib/lexicons/dev/knotless/defs.ts';
/** The pictures a check made, each linked to itself at full size, under what it shows. The link is to the server, not a page, so SvelteKit leaves it to the browser. */
let { images }: { images: CheckImageView[] } = $props();
</script>
{#if images.length}
<div class="run-images">
{#each images as image, i (i)}
<figure>
<a href={image.url} data-sveltekit-reload
><img src={image.url} alt={image.alt} loading="lazy" /></a
>
<figcaption class="mute">{image.alt}</figcaption>
</figure>
{/each}
</div>
{/if}