feat: certificates, landing pages, ai tutor, website update, compliance

This commit is contained in:
Rotimi Best
2026-05-18 03:47:22 +01:00
parent c31ad63955
commit ac3a2c14a7
644 changed files with 56050 additions and 5439 deletions
@@ -12,9 +12,7 @@
isRequired?: boolean;
className?: string;
bgColor?: string;
isAIEnabled?: boolean;
initAIPrompt?: string;
aiAlignPopover?: string;
labelAction?: import('svelte').Snippet;
iconbutton?: import('svelte').Snippet;
}
@@ -26,6 +24,7 @@
isRequired = false,
className = '',
bgColor = '',
labelAction,
iconbutton,
value = $bindable(),
...textareaProps
@@ -34,12 +33,15 @@
<Field.Field class={className}>
{#if label}
<Field.Label class={labelClassName}>
{label}
{#if isRequired}
<span class="ui:text-red-700">*</span>
{/if}
</Field.Label>
<div class="flex items-center justify-between">
<Field.Label class={labelClassName}>
{label}
{#if isRequired}
<span class="ui:text-red-700">*</span>
{/if}
</Field.Label>
{@render labelAction?.()}
</div>
{/if}
<Textarea