readme.md updated, suggested change

This commit is contained in:
Joan Jeremiah J 2022-10-02 22:09:10 +05:30
parent 29a75d06cd
commit 9605a47a2a
2 changed files with 11 additions and 1 deletions

View File

@ -205,6 +205,9 @@ const config = {
projects: [], // These projects will not be displayed. example: ['my-project1', 'my-project2'] projects: [], // These projects will not be displayed. example: ['my-project1', 'my-project2']
}, },
}, },
resume:{
fileName: 'resume.pdf' // Place the resume file in public folder with the same name as the 'fileName' property.
},
social: { social: {
linkedin: '', linkedin: '',
twitter: '', twitter: '',

View File

@ -56,7 +56,14 @@ const AvatarCard = ({ profile, loading, avatarRing, resume }) => {
</div> </div>
</div> </div>
{ resume?.fileName && { resume?.fileName &&
<a href= { resume.fileName } target="_blank" className='btn mt-4' download>Download my resume</a> <a
href={resume.fileName}
target="_blank"
className="btn btn-outline btn-primary text-xs mt-6"
download
>
Download Resume
</a>
} }
</div> </div>
</div> </div>