"use client"; import React from "react"; import { Course, getImageUrl } from "@/lib/api"; import { Target, Zap, Clock, Award, CheckCircle2, Info, Calendar, Users } from "lucide-react"; interface AboutCourseProps { course: Course; instructors: any[]; } export default function AboutCourse({ course, instructors }: AboutCourseProps) { const meta = course.marketing_metadata || {}; return (
{/* ── HERO GRID ── */}
{course.course_image_url ? ( {course.title} ) : (

{course.title}

)}
Official Curriculum {course.pacing_mode && ( {course.pacing_mode.replace("_", " ")} )}

{course.title}

{/* ── MANIFESTO GRID ── */}
{/* Right: Core Meta */}
Key Information

Duration

{meta.duration || "Self-paced immersion"}

Certification

{meta.certification_info || "Accredited Certificate"}

Passing Grade

{course.passing_percentage}% Proficiency

Course Faculty

{instructors.map((inst) => (
{inst.full_name?.charAt(0) || inst.email?.charAt(0)}
{inst.full_name}

{inst.role || "Instructor"}

))}
{/* Left: Objectives & Manifesto */}

Learning Objectives

{meta.objectives || "Comprehensive learning path designed to master core concepts and advanced applications."}

Prerequisites

{meta.requirements || "No specific prerequisites required. An open mind and dedication to learning are the only things needed to succeed."}

Curriculum Insight

Each module is structured to provide both theoretical knowledge and practical applications in real-world scenarios.

The Modules Deep-Dive

{meta.modules_summary || "Explore the rich content structured across multiple interactive modules. Each section builds upon the previous one to ensure a cohesive learning experience."}

); }