import React from 'react';
import { Play, Info, AlertTriangle } from 'lucide-react';
import { Course } from '../types';
interface HeroBannerProps {
course: (Course & { progress?: number; totalLessons?: number }) | null;
onPlay: (courseId: string) => void;
subscriptionStatus: string;
setView: (view: string) => void;
}
export default function HeroBanner({ course, onPlay, subscriptionStatus, setView }: HeroBannerProps) {
if (!course) {
return (
Nenhum curso em destaque disponĂvel.
);
}
const isBlocked = subscriptionStatus === 'OVERDUE' || subscriptionStatus === 'CANCELED';
return (
{/* Background Image / Gradient */}

{/* Gradients */}
{/* Content Container */}
{/* Category Tag */}
{course.category}
{/* Title */}
{course.title}
{/* Description */}
{course.description}
{/* Progress Bar (If started) */}
{course.progress !== undefined && course.progress > 0 && (
Seu Progresso
{course.progress}% concluĂdo
)}
{/* Buttons */}
{isBlocked ? (
) : (
)}
);
}