Posts

import { Button } from "@/components/ui/button" export default function ResumePreview({ data }) { const downloadResume = () => { const element = document.createElement("a") const file = new Blob([document.getElementById('resume-preview').innerHTML], {type: 'text/html'}) element.href = URL.createObjectURL(file) element.download = "resume.html" document.body.appendChild(element) element.click() } return (

{data.name}

{data.email} | {data.phone}

Summary

{data.summary}

Experience

{data.experience.map((exp, index) => (

{exp.company}

{exp.position}

{exp.description}

))}

Education

{data.education.map((edu, index) => (

{edu.school}

{edu.degree}, {edu.year}

))}

Skills

{data.skills.join(', ')}

) }
There's nothing here!