import { Award, Calendar } from 'lucide-react'; interface CertificatePreviewProps { template: { name: string; logo_path?: string | null; template_data: { primaryColor: string; secondaryColor: string; backgroundColor: string; borderColor: string; titleText: string; descriptionText: string; completionText: string; footerText: string; fontFamily: string; }; }; studentName: string; courseName: string; completionDate: string; logoUrl?: string | null; } const CertificatePreview = ({ template, studentName, courseName, completionDate, logoUrl }: CertificatePreviewProps) => { const { template_data } = template; return (
{template_data.descriptionText}
{/* Student Name */}{studentName}
{template_data.completionText}
{/* Course Name */}{courseName}
{/* Completion Date */}Completed on: {completionDate}
{template_data.footerText}