import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Link } from "react-router-dom"; import { Video, Headphones, Github, Download, LucideIcon } from "lucide-react"; import { useDocsTheme } from "@/contexts/DocsThemeContext"; export interface LearningResource { title: string; description: string; icon: LucideIcon; count: string; link: string; color: string; } const defaultResources: LearningResource[] = [ { title: "Video tutorials", description: "Visual learning with step-by-step walkthroughs", icon: Video, count: "50+ videos", link: "/tutorials", color: "from-red-500 to-pink-600", }, { title: "Podcast series", description: "Deep dives into AeThex technology and strategy", icon: Headphones, count: "20+ episodes", link: "/blog", color: "from-purple-500 to-indigo-600", }, { title: "Code examples", description: "Production-ready snippets maintained by the platform team", icon: Github, count: "100+ repos", link: "/docs/examples", color: "from-green-500 to-emerald-600", }, { title: "Downloads", description: "SDKs, design kits, and tooling for every platform", icon: Download, count: "Latest releases", link: "/docs/getting-started#setup-workflow", color: "from-blue-500 to-cyan-600", }, ]; interface LearningResourcesGridProps { resources?: LearningResource[]; } export default function LearningResourcesGrid({ resources = defaultResources, }: LearningResourcesGridProps) { const { colors, theme } = useDocsTheme(); const hoverBorderColor = theme === "professional" ? "hover:border-gray-400" : "hover:border-purple-500/50"; return (

Learning resources

{resources.map((resource, index) => { const Icon = resource.icon; return (
{resource.title} {resource.description}
{resource.count}
); })}
); }