diff --git a/README.md b/README.md index 1acfaf8..4eb8f9e 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,7 @@ const config = { }, }, resume: { - fileName: 'resume.pdf', // Place the resume file in public folder with the same name as the 'fileName' property. + fileUrl: '', // Empty fileUrl will hide the `Download Resume` button. }, social: { linkedin: '', diff --git a/gitprofile.config.js b/gitprofile.config.js index 312abba..c2f6786 100644 --- a/gitprofile.config.js +++ b/gitprofile.config.js @@ -11,7 +11,7 @@ const config = { }, }, resume: { - fileName: 'resume.pdf', // Place the resume file in public folder with the same name as the 'fileName' property. + fileUrl: 'resume.pdf', // Empty fileUrl will hide the `Download Resume` button. }, social: { linkedin: 'ariful-alam', diff --git a/public/resume.pdf b/public/resume.pdf index e6dc3ff..774c2ea 100644 Binary files a/public/resume.pdf and b/public/resume.pdf differ diff --git a/src/components/avatar-card/index.jsx b/src/components/avatar-card/index.jsx index 8379062..525c8dd 100644 --- a/src/components/avatar-card/index.jsx +++ b/src/components/avatar-card/index.jsx @@ -55,9 +55,9 @@ const AvatarCard = ({ profile, loading, avatarRing, resume }) => { : profile.bio} - {resume?.fileName && ( + {resume?.fileUrl && ( { }, }, resume: { - fileName: config?.resume?.fileName || false, + fileUrl: config?.resume?.fileUrl || '', }, social: { linkedin: config?.social?.linkedin,