"use client"; import { AnimatePresence, motion } from "motion/react"; import { ExpandedGifOverlay, useExpandedGif } from "@/components/ui/expanded-gif-overlay"; const useCases = [ { title: "Search & Citation", description: "Ask questions and get Perplexity-style cited responses from your knowledge base.", src: "/homepage/hero_tutorial/BSNCGif.gif", }, { title: "Document Mention QNA", description: "Mention specific documents in your queries for targeted answers.", src: "/homepage/hero_tutorial/BQnaGif_compressed.gif", }, { title: "Report Generation", description: "Generate and export reports in many formats.", src: "/homepage/hero_tutorial/ReportGenGif_compressed.gif", }, { title: "Podcast Generation", description: "Turn your knowledge into podcasts in under 20 seconds.", src: "/homepage/hero_tutorial/PodcastGenGif.gif", }, { title: "Image Generation", description: "Generate images directly from your conversations.", src: "/homepage/hero_tutorial/ImageGenGif.gif", }, { title: "Realtime Chat", description: "Chat together in realtime with your team.", src: "/homepage/hero_realtime/RealTimeChatGif.gif", }, { title: "Realtime Comments", description: "Add comments and tag teammates on any message.", src: "/homepage/hero_realtime/RealTimeCommentsFlow.gif", }, ]; function UseCaseCard({ title, description, src, className, }: { title: string; description: string; src: string; className?: string; }) { const { expanded, open, close } = useExpandedGif(); return ( <>
{title}

{title}

{description}

{expanded && } ); } export function UseCasesGrid() { return (

What You Can Do

{/* Row 1: 2 larger cards */}
{useCases.slice(0, 2).map((useCase) => ( ))}
{/* Row 2: 3 equal cards */}
{useCases.slice(2, 5).map((useCase) => ( ))}
{/* Row 3: 2 cards */}
{useCases.slice(5).map((useCase) => ( ))}

And more coming soon.

); }