feat: add main page

This commit is contained in:
2026-09-05 10:25:18 +05:00
parent 61ecb8bb90
commit af990e1b32
19 changed files with 1580 additions and 3 deletions
@@ -0,0 +1,26 @@
<script lang="ts">
import { logoById } from '$lib/duck/logos';
let {
id,
size = 24,
x = undefined,
y = undefined,
color = 'currentColor'
}: { id: string; size?: number; x?: number; y?: number; color?: string } = $props();
const def = $derived(logoById(id));
</script>
{#if def}
<svg
viewBox="0 0 24 24"
width={size}
height={size}
x={x}
y={y}
style:color={def.mono ? color : undefined}
role="img"
aria-label={def.label}
>{@html def.svg}</svg>
{/if}