1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat: ATS-compliant resume download links

This commit is contained in:
2025-05-11 17:21:53 +00:00
parent 9cf3901307
commit 9a4d6966d0
4 changed files with 35 additions and 13 deletions
+15 -8
View File
@@ -21,15 +21,22 @@ const ResumePage: React.FC = () => (
<h1>Who are you looking for?</h1>
<div className={ cls.resumeButtons }>
{ resumeList.map(i =>
<Button key={ i.key } className={ cls.button }
href={ `/resume/download?type=${i.key}` } download
icon={
<Image className={ cls.image } src={ i.image.src } priority draggable={ false }
aria-hidden alt={ i.image.alt } />
}>
<div key={ i.key } className={ cls.buttonContainer }>
<Button className={ cls.button }
href={ `/resume/download?type=${i.key}` } download
icon={
<Image className={ cls.image } src={ i.image.src } priority draggable={ false }
aria-hidden alt={ i.image.alt } />
}>
{ i.label }
</Button>
{ i.label }
</Button>
{ process.env.ATS_RESUME_URL &&
<a className={ cls.atsLink } href={ `/resume/download?type=${i.key}&ats=true` } download>
ATS-compatible version
</a>
}
</div>
) }
</div>