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 (
{template_data.institutionName}
Student Name
{studentName}
Course
{courseName}
Completion Date
{completionDate}
Overall Grade
{overallGrade} ({overallPercentage}%)
| Exam Type | Total Marks |
|---|---|
| Assignment | 10/50 |
| Quiz | 0/0 |
{template_data.footerText}