import { Calendar, ClipboardList } from 'lucide-react'; interface MarksheetPreviewProps { template: { name: string; logo_path?: string | null; template_data: { primaryColor: string; secondaryColor: string; backgroundColor: string; borderColor: string; headerText: string; institutionName: string; footerText: string; fontFamily: string; }; }; studentName: string; courseName: string; completionDate: string; logoUrl?: string | null; } const MarksheetPreview = ({ template, studentName, courseName, completionDate, logoUrl }: MarksheetPreviewProps) => { const { template_data } = template; const overallGrade = 'A'; const overallPercentage = 91; return (
{/* Header Section */}
{logoUrl || template.logo_path ? (
Logo
) : ( )}

{template_data.headerText}

{template_data.institutionName}

{/* Student Info */}

Student Name

{studentName}

Course

{courseName}

Completion Date

{completionDate}

Overall Grade

{overallGrade} ({overallPercentage}%)

{/* Exam Type Section */}

Exam Type

Exam Type Total Marks
Assignment 10/50
Quiz 0/0
{/* Footer */}

{template_data.footerText}

); }; export default MarksheetPreview;