mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
chore: delete dead code, dead data model and unused assets
profile-photo.webp~ (1.2 MB) was a stray editor backup sitting in public/ and served as a real asset; icons.svg had no reference in any file; the components barrel exported 14 names with 0 importers. ProjectSection.number (16 entries), FeaturedAchievement with ExperienceEntry.achievements, and Profile.resumeUrl were never rendered by any surface. fadeInUp/.animate-in and the download-resume selectors had no consumers - motion owns entrance animation. Four unreferenced string keys removed.
This commit is contained in:
1 parent
58e45bb47c
commit
a5a7eb6b31
12 files changed
-124
No files matched your search
@@ -97,22 +97,6 @@ function renderExperience(exps: typeof experiences): string {
|
||||
<ul class="exp-responsibilities">
|
||||
${resolveField(exp.responsibilitiesEn, exp.responsibilities).map(r => `<li>${r}</li>`).join('')}
|
||||
</ul>
|
||||
${exp.achievements?.map(ach => `
|
||||
<div class="achievement avoid-break">
|
||||
<div class="achievement-title">${resolveField(ach.titleEn, ach.title)}</div>
|
||||
<div class="achievement-context">${resolveField(ach.contextEn, ach.context)}</div>
|
||||
${ach.technicalWork?.length ? `
|
||||
<ul class="achievement-technical">
|
||||
${ach.technicalWork.map(t => `<li>${t}</li>`).join('')}
|
||||
</ul>
|
||||
` : ''}
|
||||
<div class="achievement-tech">
|
||||
${ach.technologies.map(t => `<span>${t}</span>`).join('')}
|
||||
</div>
|
||||
${ach.impact ? `<div class="achievement-impact">${resolveField(ach.impactEn, ach.impact)}</div>` : ''}
|
||||
${ach.metrics?.length ? `<div class="achievement-metrics">${ach.metrics.join(', ')}</div>` : ''}
|
||||
</div>
|
||||
`).join('')}
|
||||
</div>
|
||||
`).join('');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user