"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", }, ]; function UseCaseCard({ title, description, src, className, }: { title: string; description: string; src: string; className?: string; }) { const { expanded, open, close } = useExpandedGif(); return ( <> {title} {description} {expanded && } > ); } export function UseCasesGrid() { return ( What You Can Do {/* First row: 2 larger cards */} {useCases.slice(0, 2).map((useCase) => ( ))} {/* Second row: 3 equal cards */} {useCases.slice(2).map((useCase) => ( ))} And more coming soon. ); }
{description}
And more coming soon.