"use client" import Link from "next/link" import type { Module } from "@/lib/types" import { cn } from "@/lib/utils" import { CheckCircle2 } from "lucide-react" interface CourseSidebarProps { courseId: string modules: Module[] activeLessonId: string } export function CourseSidebar({ courseId, modules, activeLessonId }: CourseSidebarProps) { return (