export default function ResumeView({ data, onClose }) { const { profile, careers, projects, skills, main_introduction } = data; const handlePrint = () => { window.print(); }; return (
{/* 헤더 */}

{profile.name}

{profile.role}

{profile.email && {profile.email}} {profile.phone && {profile.phone}} {profile.github_url && {profile.github_url}}
{/* About */} {(main_introduction?.content || profile.bio) && (

About

{main_introduction?.content || profile.bio}

)} {/* Experience */} {careers.length > 0 && (

Experience

{careers.map(c => (
{c.role} {c.organization} {c.start_date} — {c.end_date || '현재'}
{c.description &&

{c.description}

}
))}
)} {/* Projects */} {projects.length > 0 && (

Projects

{projects.map(p => (
{p.title} {p.start_date} — {p.end_date || '현재'}
{p.description &&

{p.description}

} {p.tech_stack?.length > 0 && (

{p.tech_stack.join(' · ')}

)}
))}
)} {/* Skills */} {skills.length > 0 && (

Skills

{skills.map(s => s.name).join(' · ')}

)}
); }