diff --git a/.husky/commit-msg b/.husky/commit-msg index c77682cf..70bd3dd2 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,10 +1 @@ -npx --no-install commitlint --edit "$1" - - - - - - - - - +npx --no-install commitlint --edit "$1" diff --git a/src/components/home/CallDemoShowcase.tsx b/src/components/home/CallDemoShowcase.tsx index 394437fa..32a24bfb 100644 --- a/src/components/home/CallDemoShowcase.tsx +++ b/src/components/home/CallDemoShowcase.tsx @@ -1,7 +1,10 @@ "use client"; +import dynamic from "next/dynamic"; import Image from "next/image"; +import Link from "next/link"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; +import { useShallow } from "zustand/react/shallow"; import SessionMonitor from "@/components/deal_scale/talkingCards/SessionMonitor"; import { CallCompleteModal } from "@/components/deal_scale/talkingCards/session/CallCompleteModal"; @@ -29,9 +32,6 @@ import { DEFAULT_PERSONA_KEY, PERSONA_LABELS } from "@/data/personas/catalog"; import demoTranscript from "@/data/transcripts"; import { cn } from "@/lib/utils"; import { usePersonaStore } from "@/stores/usePersonaStore"; -import dynamic from "next/dynamic"; -import Link from "next/link"; -import { useShallow } from "zustand/react/shallow"; type PreviewType = "call" | "text"; type CallDemoMode = "video" | "live" | "handoff"; @@ -505,195 +505,193 @@ const CallDemoInteractive = () => { className="w-full" colorScheme="dark" > - <> -
+
+
+ AI Text Demo +
+
+
+
- AI Text Demo -
-
-
-
-
- - {TEXT_DEMO_MESSAGES.map((message, index) => { - const hasAttachments = Boolean( - message.attachments?.length, - ); - return ( + {TEXT_DEMO_MESSAGES.map((message, index) => { + const hasAttachments = Boolean( + message.attachments?.length, + ); + return ( +
-
-

- {message.text} -

- {hasAttachments ? ( - - {message.attachments?.map((attachment) => ( - - - - {attachment.type === "image" && "🖼️"} - {attachment.type === "gif" && "🎞️"} - {attachment.type === "video" && "▶️"} - {attachment.type === "file" && "📄"} +

+ {message.text} +

+ {hasAttachments ? ( + + {message.attachments?.map((attachment) => ( + + + + {attachment.type === "image" && "🖼️"} + {attachment.type === "gif" && "🎞️"} + {attachment.type === "video" && "▶️"} + {attachment.type === "file" && "📄"} + + + + {attachment.title} - - - {attachment.title} - - - {attachment.meta} - + + {attachment.meta} - - -
-
- - {attachment.type === "image" && - "🖼️"} - {attachment.type === "gif" && - "🎬"} - {attachment.type === "video" && - "🎥"} - {attachment.type === "file" && - "📎"} + + + +
+
+ + {attachment.type === "image" && + "🖼️"} + {attachment.type === "gif" && + "🎬"} + {attachment.type === "video" && + "🎥"} + {attachment.type === "file" && + "📎"} + +
+ + {attachment.title} -
- - {attachment.title} - - - {attachment.meta} + + {attachment.meta} + + {attachment.description ? ( + + {attachment.description} - {attachment.description ? ( - - {attachment.description} - - ) : null} -
+ ) : null}
- - - ))} - - ) : null} -
+
+ + + ))} + + ) : null}
- ); - })} - -
-
-
-

- Live Text Outreach -

+
+ ); + })} +
-
- - iMessage Support - -
-
- {!isTextDemoPlaying ? ( - - ) : ( - - )} -
- - - + iMessage Support + +
+
+ {!isTextDemoPlaying ? ( + + ) : ( + + )}
- + + + +
@@ -718,36 +716,34 @@ const CallDemoInteractive = () => { className="relative w-full max-w-[26rem]" colorScheme="dark" > - <> -