diff --git a/frontend/src/lib/components/chatbotDemo/Chatbot.svelte b/frontend/src/lib/components/chatbotDemo/Chatbot.svelte
index abe0af4..6445109 100644
--- a/frontend/src/lib/components/chatbotDemo/Chatbot.svelte
+++ b/frontend/src/lib/components/chatbotDemo/Chatbot.svelte
@@ -1,23 +1,80 @@
- {#each chat.messages as message, idx (idx)}
-
- {@html message.content}
-
+
+ {#each messages as message, idx (idx)}
+ {#if message.role === "assistant"}
+
+
+ {@html message.content || ""}
+
+
+ {:else if message.role === "user"}
+
+
+ {@html message.content}
+
+
+ {:else}
+
+
+ {@html message.content}
+
+
+ {/if}
{/each}
+ {#if streaming}
+
+ {/if}
diff --git a/frontend/src/lib/components/staticPageRows/VoicebotPreview.svelte b/frontend/src/lib/components/staticPageRows/VoicebotPreview.svelte
index 8cdc3bc..6b7d1e4 100644
--- a/frontend/src/lib/components/staticPageRows/VoicebotPreview.svelte
+++ b/frontend/src/lib/components/staticPageRows/VoicebotPreview.svelte
@@ -4,6 +4,7 @@
import ProductCategoryFrame from "../widgets/ProductCategoryFrame.svelte"
import CrinkledSection from "../CrinkledSection.svelte"
import { createVoicebotPreviewController } from "../voicebotDemo/voicebotPreviewController"
+ import Label from "../widgets/Label.svelte"
const voiceProperties: Array<{ title: string; icon: string; color: string }> = [
{
@@ -65,22 +66,23 @@
aria-pressed={$status === "connected"}
aria-busy={$status === "connecting"}
aria-label="Voicebot Demo starten"
- on:click={() => void toggle()}
- on:keydown={handleKeydown}
+ onclick={() => void toggle()}
+ onkeydown={handleKeydown}
>
-
- {$statusHint}
-
+