Skip to content

Commit

Permalink
added volunteer section to professional theme
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdavis committed Oct 18, 2024
1 parent 40b46fe commit ff68ace
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/jsonresume-theme-professional/src/ui/Resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Skills from './Skills';
import Interests from './Interests';
import Languages from './Languages';
import References from './References';
import Volunteer from './Volunteer';

const Layout = styled.div`
max-width: 660px;
Expand All @@ -27,6 +28,7 @@ const Resume = ({ resume }) => {
<Education education={resume.education} />
<Work work={resume.work} />
<Projects projects={resume.projects} />
<Volunteer volunteer={resume.volunteer} />
<Certificates certificates={resume.certificates} />
<Publications publications={resume.publications} />
<Awards awards={resume.awards} />
Expand Down
30 changes: 30 additions & 0 deletions packages/jsonresume-theme-professional/src/ui/Volunteer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import Section from './Section';
import Experience from './Experience';

const Volunteer = ({ volunteer }) => {
if (!volunteer) {
return null;
}

return (
<div>
<Section title="Volunteer">
{volunteer.map((w, key) => {
return (
<Experience
title={w.position}
subTitle={w.organization}
startDate={w.startDate}
endDate={w.endDate}
summary={w.summary}
highlights={w.highlights}
key={key}
/>
);
})}
</Section>
</div>
);
};

export default Volunteer;

0 comments on commit ff68ace

Please sign in to comment.