{appEmoji}

{appName} einrichten

Schritt {store.currentStep + 1} von {store.totalSteps}

{#if store.currentStepConfig} {@const step = store.currentStepConfig}
{#if step.emoji} {@const gradient = step.gradient || { from: 'primary', to: 'primary/70' }}
{step.emoji}
{/if}

{step.question}

{#if step.description}

{step.description}

{/if}
{#if step.type === 'select'} {@const selectStep = step as AppOnboardingSelectStep}
{#each selectStep.options as option} {/each}
{:else if step.type === 'toggle'} {@const toggleStep = step as AppOnboardingToggleStep} {@const isEnabled = store.preferences[step.id] ?? toggleStep.defaultValue ?? false} {:else if step.type === 'info'} {#if step.bullets}
    {#each step.bullets as bullet}
  • • {bullet}
  • {/each}
{/if} {/if}
{/if}