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
@@ -1,7 +1,6 @@
<script lang="ts">
import type { WidgetDetail } from '../utils/types';
import { widgetEditorStore } from '../store/widget-editor.store.svelte';
import { currentOrg } from '$lib/utils/store/org';
import { t } from '$lib/utils/functions/translations';
import { IconButton } from '@cio/ui/custom/icon-button';
import WidgetIframePreview from '../components/widget-iframe-preview.svelte';
@@ -21,12 +20,6 @@
$effect(() => store.syncFromInitial(initialDetail));
$effect(() => {
if (!store.detail || !$currentOrg.id) return;
return store.startPreviewEffect();
});
function navButtonVariant(id: typeof store.activePanel): 'default' | 'ghost' {
return store.activePanel === id ? 'default' : 'ghost';
}
@@ -146,6 +139,7 @@
canUseCustomColors={store.detail.planGatedFields.canUseCustomColors}
canUseCustomCss={store.detail.planGatedFields.canUseCustomCss}
isBrandingForced={store.detail.planGatedFields.isBrandingForced}
errors={store.validationErrors}
/>
{:else}
<EmbedPanel