mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 12:27:17 +00:00
Adds a Certifications section
This commit is contained in:
@@ -7,6 +7,7 @@ import AvatarCard from './avatar-card';
|
||||
import Details from './details';
|
||||
import Skill from './skill';
|
||||
import Experience from './experience';
|
||||
import Certifications from './certifications';
|
||||
import Education from './education';
|
||||
import Project from './project';
|
||||
import Blog from './blog';
|
||||
@@ -183,6 +184,10 @@ const GitProfile = ({ config }) => {
|
||||
loading={loading}
|
||||
experiences={sanitizedConfig.experiences}
|
||||
/>
|
||||
<Certifications
|
||||
loading={loading}
|
||||
certifications={sanitizedConfig.certifications}
|
||||
/>
|
||||
<Education
|
||||
loading={loading}
|
||||
education={sanitizedConfig.education}
|
||||
@@ -272,6 +277,13 @@ GitProfile.propTypes = {
|
||||
to: PropTypes.string,
|
||||
})
|
||||
),
|
||||
certifications: PropTypes.arrayOf(
|
||||
PropTypes.shape({
|
||||
body: PropTypes.string,
|
||||
name: PropTypes.string,
|
||||
year: PropTypes.string,
|
||||
})
|
||||
),
|
||||
education: PropTypes.arrayOf(
|
||||
PropTypes.shape({
|
||||
institution: PropTypes.string,
|
||||
|
||||
Reference in New Issue
Block a user