beeeeg update
Some checks failed
Test and deploy staging / staging (push) Has been cancelled

This commit is contained in:
2026-09-23 04:15:10 +00:00
parent 487eff5bb2
commit d0c7b6548b
135 changed files with 9531 additions and 1777 deletions

View File

@@ -0,0 +1,23 @@
<script lang="ts">
let { src, class: className = '' }: { src?: string; class?: string } = $props();
let failed = $state(false);
$effect(() => {
void src;
failed = false;
});
</script>
<div class={`overflow-hidden rounded bg-gray-200 ${className}`}>
{#if src?.startsWith('https://') && !failed}<img
{src}
alt=""
class="h-full w-full object-cover"
loading="lazy"
onerror={() => (failed = true)}
/>{:else}<div
class="flex h-full items-center justify-center text-2xl text-gray-500"
aria-hidden="true"
>
♫
</div>{/if}
</div>