import { BookOpen, Clock, Heart } from "lucide-react" import { Card, CardContent } from "../ui/card" import Link from "next/link" import { routes } from "@/lib/routes" interface CourseInterface { id : string , image :string | null title : string category : string lessons : string duration : string instructor : { image : string name : string } } const CourseCard : React.FC = ({ id, image, title, category, lessons , instructor, duration }) => { return(
{title} {category} {/* */}
{lessons} Lesson
{duration}

{title}

{instructor?.name} {instructor?.name}
Free
) } export default CourseCard