adds privacy settings

This commit is contained in:
Christian Beutel
2024-12-17 00:53:27 +01:00
parent 43b6be8fb2
commit 92f0b033fa
25 changed files with 2025 additions and 28 deletions

View File

@@ -3,6 +3,7 @@
text: string;
value: string;
icon?: string;
description?: string;
};
</script>
@@ -32,6 +33,13 @@
class="w-4 h-4 accent-primary border-input-border focus:ring-input-ring focus:ring-2"
on:change={() => handleRadioChange(i)}
/>
<label for="{name}-radio-{i}" class="ms-2 text-sm">{item.text}</label>
<div class="ms-2 text-sm">
<label for="{name}-radio-{i}"
>{item.text}
{#if item.description}
<p class="text-gray-500">{item.description}</p>
{/if}
</label>
</div>
</div>
{/each}