({ segments }: { segments: TranscriptSegment[] })
| 631 | borderColor: `${START_ACCENT}33`, |
| 632 | }} |
| 633 | > |
| 634 | <Waveform bars={11} height={22} /> |
| 635 | </div> |
| 636 | <div className="max-w-[15rem] space-y-1.5"> |
| 637 | <p className="text-[14px] font-semibold text-[#fafafa]"> |
| 638 | Listening for the room |
| 639 | </p> |
| 640 | <p className="text-[12.5px] leading-relaxed text-[#a1a1aa]"> |
| 641 | As people speak, their words appear here live, captioned for everyone. |
| 642 | </p> |
| 643 | </div> |
| 644 | </div> |
| 645 | ); |
| 646 | } |
| 647 | |
| 648 | function AskFallback() { |
| 649 | return ( |
| 650 | <FallbackState |
| 651 | rootClassName="min-h-0 flex-1" |
| 652 | title="Ask the meeting" |
| 653 | description="Get a private answer drawn from everything that's been said. Only you see it." |
| 654 | preview={ |
| 655 | <div className="flex flex-col gap-2.5"> |
| 656 | <div className="flex justify-end"> |
| 657 | <div className="h-7 w-32 rounded-2xl rounded-br-md bg-[#F95F4A]/25" /> |
| 658 | </div> |
| 659 | <div className="space-y-1.5 rounded-2xl rounded-bl-md border border-white/10 bg-white/[0.04] px-3 py-2.5 text-left"> |
| 660 | <Bar className="h-2 w-full bg-white/[0.07]" /> |
| 661 | <Bar className="h-2 w-5/6 bg-white/[0.07]" /> |
| 662 | <div className="flex gap-1 pt-0.5"> |
| 663 | <span className="web-chat-typing-dot h-1.5 w-1.5 rounded-full bg-[#a1a1aa]/70" /> |
| 664 | <span className="web-chat-typing-dot h-1.5 w-1.5 rounded-full bg-[#a1a1aa]/70" /> |
| 665 | <span className="web-chat-typing-dot h-1.5 w-1.5 rounded-full bg-[#a1a1aa]/70" /> |
| 666 | </div> |
| 667 | </div> |
| 668 | </div> |
| 669 | } |
| 670 | /> |
| 671 | ); |
| 672 | } |
| 673 | |
| 674 | const MinutesFadedPreview = ( |
| 675 | <div className="space-y-3.5 text-left"> |
| 676 | {[ |
| 677 | { label: "w-16", lines: ["w-full", "w-3/4"] }, |
| 678 | { label: "w-20", lines: ["w-5/6"] }, |
| 679 | ].map((section, index) => ( |
| 680 | <div key={index} className="space-y-2"> |
| 681 | <div className="flex items-center gap-2"> |
| 682 | <div className="h-3.5 w-3.5 rounded bg-white/[0.07]" /> |
| 683 | <Bar className={`h-2.5 ${section.label}`} /> |
| 684 | <div className="ml-auto h-4 w-5 rounded-full bg-white/[0.05]" /> |
| 685 | </div> |
| 686 | <div className="space-y-1.5 border-l-2 border-white/10 pl-3"> |
| 687 | {section.lines.map((line, lineIndex) => ( |
| 688 | <Bar key={lineIndex} className={`h-2 ${line} bg-white/[0.06]`} /> |
| 689 | ))} |
| 690 | </div> |
nothing calls this directly
no test coverage detected