Skip to content

Commit 8b28c0f

Browse files
add missing resume sections
1 parent b058b3e commit 8b28c0f

File tree

2 files changed

+197
-34
lines changed

2 files changed

+197
-34
lines changed

index.html

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,139 @@ <h1 class="name" x-text="resume.basics.name"></h1>
6565
</ul>
6666
</article>
6767
</template>
68+
69+
<template x-if="resume.volunteer && resume.volunteer.length">
70+
<p class="subheader ml-12 text-base">Volunteering</p>
71+
</template>
72+
73+
<template x-for="volunteer in resume.volunteer">
74+
<article class="mb-6 last:mb-0">
75+
<header class="flex items-start gap-x-4">
76+
<figure class="h-8 aspect-square">
77+
<template x-if="volunteer.logo">
78+
<img :src="volunteer.logo" class="h-full w-full" />
79+
</template>
80+
81+
<template x-if="!volunteer.logo">
82+
<div></div>
83+
</template>
84+
</figure>
85+
86+
<div class="grow">
87+
<p class="title">
88+
<span x-text="volunteer.position"></span> @
89+
<template x-if="volunteer.url">
90+
<a :href="volunteer.url" x-text="volunteer.organization" target="_blank"></a>
91+
</template>
92+
<template x-if="!volunteer.url">
93+
<span x-text="volunteer.organization"></span>
94+
</template>
95+
</p>
96+
97+
<p class="subtitle mb-2" x-text="volunteer.summary"></p>
98+
</div>
99+
100+
<div class="shrink-0 text-right subtitle">
101+
<div>
102+
<span x-text="volunteer.startDate"></span> -
103+
<span x-text="volunteer.endDate"></span>
104+
</div>
105+
</div>
106+
</header>
107+
108+
<ul class="ml-12">
109+
<template x-for="line in volunteer.highlights">
110+
<li x-text="line"></li>
111+
</template>
112+
</ul>
113+
</article>
114+
</template>
115+
116+
<template x-if="resume.projects && resume.projects.length">
117+
<p class="subheader ml-12 text-base">Projects</p>
118+
</template>
119+
120+
<template x-for="project in resume.projects">
121+
<article class="mb-6 last:mb-0">
122+
<header class="flex items-start gap-x-4">
123+
<figure class="h-8 aspect-square">
124+
<template x-if="project.logo">
125+
<img :src="project.logo" class="h-full w-full" />
126+
</template>
127+
128+
<template x-if="!project.logo">
129+
<div></div>
130+
</template>
131+
</figure>
132+
133+
<div class="grow">
134+
<p class="title">
135+
<template x-if="project.url">
136+
<a :href="project.url" x-text="project.name" target="_blank"></a>
137+
</template>
138+
<template x-if="!project.url">
139+
<span x-text="project.name"></span>
140+
</template>
141+
</p>
142+
143+
<p class="subtitle mb-2" x-text="project.summary"></p>
144+
</div>
145+
146+
<div class="shrink-0 text-right subtitle">
147+
<div>
148+
<span x-text="project.startDate"></span> -
149+
<span x-text="project.endDate"></span>
150+
</div>
151+
</div>
152+
</header>
153+
154+
<ul class="ml-12">
155+
<template x-for="line in project.highlights">
156+
<li x-text="line"></li>
157+
</template>
158+
</ul>
159+
</article>
160+
</template>
161+
162+
<template x-if="resume.publications && resume.publications.length">
163+
<p class="subheader ml-12 text-base">Publications</p>
164+
</template>
165+
166+
<template x-for="publication in resume.publications">
167+
<article class="mb-6 last:mb-0">
168+
<header class="flex items-start gap-x-4">
169+
<figure class="h-8 aspect-square">
170+
<template x-if="publication.logo">
171+
<img :src="publication.logo" class="h-full w-full" />
172+
</template>
173+
174+
<template x-if="!publication.logo">
175+
<div></div>
176+
</template>
177+
</figure>
178+
179+
<div class="grow">
180+
<p class="title">
181+
<template x-if="publication.url">
182+
<a :href="publication.url" x-text="publication.name" target="_blank"></a>
183+
</template>
184+
<template x-if="!publication.url">
185+
<span x-text="publication.name"></span>
186+
</template> @
187+
<span x-text="publication.publisher"></span>
188+
</p>
189+
190+
<p class="subtitle mb-2" x-text="publication.summary"></p>
191+
</div>
192+
193+
<div class="shrink-0 text-right subtitle">
194+
<div>
195+
<span x-text="publication.releaseDate"></span>
196+
</div>
197+
</div>
198+
</header>
199+
</article>
200+
</template>
68201
</main>
69202

70203
<aside class="p-6">
@@ -125,6 +258,27 @@ <h1 class="name" x-text="resume.basics.name"></h1>
125258
</section>
126259
</template>
127260

261+
<template x-if="resume.awards && resume.awards.length">
262+
<section>
263+
<p class="subheader">Awards</p>
264+
265+
<template x-for="award in resume.awards">
266+
<div>
267+
<p x-text="award.title" class="title"></p>
268+
<p>
269+
<template x-if="award.url">
270+
<a :href="award.url" x-text="award.awarder" target="_blank"></a>
271+
</template>
272+
<template x-if="!award.url">
273+
<span x-text="award.awarder"></span>
274+
</template>
275+
</p>
276+
<p x-text="award.date" class="subtitle"></p>
277+
</div>
278+
</template>
279+
</section>
280+
</template>
281+
128282
<template x-if="resume.education && resume.education.length">
129283
<section>
130284
<p class="subheader">Education</p>

resume.json

Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -87,27 +87,32 @@
8787
"location": "New York, NY"
8888
}
8989
],
90-
"volunteer": [{
91-
"organization": "Organization",
92-
"position": "Volunteer",
93-
"url": "https://organization.com/",
94-
"startDate": "2012-01-01",
95-
"endDate": "2013-01-01",
96-
"summary": "Description…",
97-
"highlights": [
98-
"Awarded 'Volunteer of the Month'"
99-
]
100-
}],
101-
"projects": [{
102-
"name": "Project",
103-
"startDate": "2019-01-01",
104-
"endDate": "2021-01-01",
105-
"summary": "Summary...",
106-
"highlights": [
107-
"Won award at AIHacks 2016"
108-
],
109-
"url": "https://project.com/"
110-
}],
90+
"volunteer": [
91+
{
92+
"organization": "Beach Cleanup",
93+
"position": "Volunteer",
94+
"url": "https://organization.com",
95+
"startDate": "2012-01-01",
96+
"endDate": "2013-01-01",
97+
"summary": "Cleanup south Italy beaches every weekend",
98+
"highlights": [
99+
"Awarded 'Volunteer of the Month'",
100+
"Removed tons and tons of trash from the beaches"
101+
]
102+
}
103+
],
104+
"projects": [
105+
{
106+
"name": "An amazing Project",
107+
"startDate": "2023-01-01",
108+
"endDate": "2023-05-01",
109+
"summary": "Summary...",
110+
"highlights": [
111+
"Won award at AIHacks 2016"
112+
],
113+
"url": "https://project.com/"
114+
}
115+
],
111116
"skills": [
112117
{
113118
"name": "Java",
@@ -150,17 +155,21 @@
150155
"url": "https://www.pmi.org/certifications/types/project-management-pmp"
151156
}
152157
],
153-
"awards": [{
154-
"title": "Award",
155-
"date": "2014-11-01",
156-
"awarder": "Company",
157-
"summary": "There is no spoon."
158-
}],
159-
"publications": [{
160-
"name": "Publication",
161-
"publisher": "Company",
162-
"releaseDate": "2014-10-01",
163-
"url": "https://publication.com",
164-
"summary": "Description…"
165-
}]
158+
"awards": [
159+
{
160+
"title": "TopDad",
161+
"date": "2023-03-12",
162+
"awarder": "Family",
163+
"summary": "Best dad ever"
164+
}
165+
],
166+
"publications": [
167+
{
168+
"name": "New semiconductor materials",
169+
"publisher": "IEEE",
170+
"releaseDate": "2023-10-01",
171+
"url": "https://www.ieee.org/",
172+
"summary": "A new way to create semiconductors"
173+
}
174+
]
166175
}

0 commit comments

Comments
 (0)