Skip to content

Commit f682e8f

Browse files
committed
added project section to template
1 parent b7cc0ad commit f682e8f

File tree

2 files changed

+62
-2
lines changed

2 files changed

+62
-2
lines changed

resume.handlebars

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,57 @@
229229
</section>
230230
{{/if}}
231231

232+
{{#if resume.projects.length}}
233+
<section id="projects">
234+
<h2>Projects</h2>
235+
{{#each resume.projects}}
236+
<div class="item">
237+
{{#if name}}
238+
<h3 class="project_name">
239+
{{#if url}}
240+
<a href="{{url}}" target="_blank" rel="noopener noreferrer">{{name}}</a>
241+
{{else}}
242+
{{name}}
243+
{{/if}}
244+
</h3>
245+
{{/if}}
246+
247+
<div class="split">
248+
{{#if entity}}
249+
<div class="project_entity">
250+
{{entity}}
251+
</div>
252+
{{/if}}
253+
254+
<div class="project_date">
255+
{{#if startDate}}
256+
{{#if endDate}}
257+
{{{date startDate}}} - {{{date endDate}}}
258+
{{else}}
259+
{{{date startDate}}}
260+
{{/if}}
261+
{{/if}}
262+
</div>
263+
264+
</div>
265+
266+
{{#if description}}
267+
<div class="summary">
268+
<p>{{{markdown description}}}</p>
269+
</div>
270+
{{/if}}
271+
{{#if highlights.length}}
272+
<ul class="highlights">
273+
{{#each highlights}}
274+
<li>{{{markdown .}}}</li>
275+
{{/each}}
276+
</ul>
277+
{{/if}}
278+
</div>
279+
{{/each}}
280+
</section>
281+
{{/if}}
282+
232283
{{#if resume.education.length}}
233284
<section id="education">
234285
<h2>Education</h2>

style.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ header h2 {
8282
margin-right: 2em;
8383
}
8484

85+
.project_entity,
86+
.project_date,
87+
.project_website {
88+
margin-bottom: 10px;
89+
width: 30%;
90+
}
91+
8592
.website,
8693
.email,
8794
.phone,
@@ -117,13 +124,15 @@ header h2 {
117124
}
118125

119126
#work,
120-
#volunteer {
127+
#volunteer,
128+
#projects {
121129
padding-bottom: 5px;
122130
border-bottom: 1px var(--separator-color) solid;
123131
}
124132

125133
#work .item,
126-
#volunteer .item {
134+
#volunteer .item,
135+
#projects .item {
127136
margin: 25px 0;
128137
}
129138

0 commit comments

Comments
 (0)