mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
eslint fix
This commit is contained in:
@@ -10,8 +10,8 @@ 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:{
|
resume: {
|
||||||
fileName: 'resume.pdf' // Place the resume file in public folder with the same name as the 'fileName' property.
|
fileName: 'resume.pdf', // Place the resume file in public folder with the same name as the 'fileName' property.
|
||||||
},
|
},
|
||||||
social: {
|
social: {
|
||||||
linkedin: 'ariful-alam',
|
linkedin: 'ariful-alam',
|
||||||
|
|||||||
@@ -55,16 +55,17 @@ const AvatarCard = ({ profile, loading, avatarRing, resume }) => {
|
|||||||
: profile.bio}
|
: profile.bio}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{ resume?.fileName &&
|
{resume?.fileName && (
|
||||||
<a
|
<a
|
||||||
href={resume.fileName}
|
href={resume.fileName}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
className="btn btn-outline btn-primary text-xs mt-6"
|
className="btn btn-outline btn-primary text-xs mt-6"
|
||||||
download
|
download
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Download Resume
|
Download Resume
|
||||||
</a>
|
</a>
|
||||||
}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@@ -74,7 +75,7 @@ AvatarCard.propTypes = {
|
|||||||
profile: PropTypes.object,
|
profile: PropTypes.object,
|
||||||
loading: PropTypes.bool.isRequired,
|
loading: PropTypes.bool.isRequired,
|
||||||
avatarRing: PropTypes.bool.isRequired,
|
avatarRing: PropTypes.bool.isRequired,
|
||||||
resume: PropTypes.object
|
resume: PropTypes.object,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default AvatarCard;
|
export default AvatarCard;
|
||||||
|
|||||||
@@ -144,8 +144,8 @@ export const sanitizeConfig = (config) => {
|
|||||||
projects: config?.github?.exclude?.projects || [],
|
projects: config?.github?.exclude?.projects || [],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
resume:{
|
resume: {
|
||||||
fileName: config?.resume?.fileName || false
|
fileName: config?.resume?.fileName || false,
|
||||||
},
|
},
|
||||||
social: {
|
social: {
|
||||||
linkedin: config?.social?.linkedin,
|
linkedin: config?.social?.linkedin,
|
||||||
|
|||||||
Reference in New Issue
Block a user