-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
385 lines (364 loc) · 15 KB
/
index.html
File metadata and controls
385 lines (364 loc) · 15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
---
layout: default
title: Resume
---
<!-- About -->
<section
class="my-12"
id="about"
>
{% if site.include_element.avatar %}
<!-- Avatar -->
<div class="grid grid-cols-1 justify-items-center">
<img
class="rounded-full"
height="320"
width="320"
src="{{ '/assets/img/avatar.webp' | relative_url }}"
alt=""
>
</div>
{% endif %}
<!-- Author -->
<div class="mb-12 mt-8 grid grid-cols-1 justify-items-center">
<h1 class="text-4xl font-bold media-550:text-5xl">
{{ site.author }}
</h1>
</div>
{% if site.include_section.about %}
<!-- Header -->
<div
class="flex flex-col justify-between border-b-2 border-neutral-350 dark:border-neutral-550 media-550:flex-row"
>
<div class="border-b-2 border-neutral-350 pb-1 dark:border-neutral-550 media-550:border-none">
<h2 class="text-2xl font-light leading-none media-640:text-3xl">
{{ site.data.about.title }}
</h2>
</div>
<ul class="my-1.5 flex justify-center space-x-2 media-550:-my-0 media-550:-translate-y-1 media-550:items-end media-550:justify-normal media-640:-translate-y-2">
{% if site.include_element.contact %}
<!-- Email -->
<li>
{% assign url = 'mailto:' | append: site.email %}
{% assign icon = 'icons/ui/at-symbol.svg' %}
{% assign label = 'email' %}
{% assign to_color = 'stroke' %}
{% assign target = null %}
{% assign rel = null %}
{% include components/url-icon.html %}
</li>
{% endif %}
{% if site.include_element.platforms %}
<!-- Social media and development platforms -->
{% for platform in site.platforms %}
{% case platform.platform %}
{% when 'github' %}
{% assign height = 28 %}
{% assign margin-bottom = -2 %}
{% else %}
{% assign height = null %}
{% assign margin-bottom = null %}
{% endcase %}
<li>
{% assign url = platform.link %}
{% assign icon = 'icons/ui/'
| append: platform.platform
| append: '.svg'
%}
{% assign label = platform.platform %}
{% assign to_color = 'fill' %}
{% assign target = '_blank' %}
{% assign rel = 'noopener noreferrer' %}
{% include components/url-icon.html %}
</li>
{% endfor %}
{% endif %}
</ul>
</div>
<!-- Intro -->
<p class="hyphen-auto mt-6 leading-snug">{{ site.data.about.intro }}</p>
{% endif %}
</section>
{% if site.include_section.experience %}
<!-- Experience -->
<section
class="mb-12"
id="experience"
>
<!-- Header -->
<div class="border-b-2 border-neutral-350 pb-1 dark:border-neutral-550">
<h2 class="text-2xl font-bold leading-none media-640:text-3xl">
Experience
</h2>
</div>
<!-- Content -->
<div class="mt-6 grid grid-cols-1 gap-4">
{% for job in site.data.experience %}
<div
class="relative rounded border bg-white p-4 shadow-sm dark:border-neutral-700 dark:bg-neutral-750"
>
{% if job.url %}
<!-- Link -->
{% assign url = job.url %}
{% assign icon = job.urlicon %}
{% assign text = job.urltext %}
{% assign expandwidth = job.urlexpandwidth %}
{% include components/url-icon-expand.html %}
{% endif %}
<!-- Position -->
<h3 class="mb-1 text-xl font-bold leading-tight">
{{ job.position }}
</h3>
<!-- Employer -->
<h4 class="mb-3 text-lg font-medium leading-tight">
{% if job.department %}
{{ job.department }},<br>
{% endif %}
{{ job.company }}
</h4>
<!-- Details -->
<ul class="-mx-1 mb-3 grid list-none grid-cols-1 justify-start rounded border bg-neutral-100 text-neutral-900 shadow-sm dark:border-neutral-700 dark:bg-neutral-800 dark:text-neutral-100 media-500:grid-cols-2 media-720:grid-cols-3 [&>*:not(:last-child)]:border-b [&>*:nth-last-child(-n+2):nth-child(2n+1)]:media-500:border-none [&>*:nth-last-child(-n+2):nth-child(2n+1)~*]:media-500:border-none [&>*:nth-last-child(-n+3):nth-child(3n+1)]:media-720:border-none [&>*:nth-last-child(-n+3):nth-child(3n+1)~*]:media-720:border-none">
{% if job.duration %}
<!-- Duration -->
<li class="flex h-9 items-center px-3 py-2 dark:border-neutral-700">
{% include icons/ui/calendar.svg %}
<span class="ml-3 pt-0.5 leading-none">
{{ job.duration }}
</span>
</li>
{% endif %}
{% if job.location %}
<!-- Location -->
<li class="flex h-9 items-center px-3 py-2 dark:border-neutral-700">
{% include icons/ui/map-pin.svg %}
<span class="ml-3 pt-0.5 leading-none">
{{ job.location }}
</span>
</li>
{% endif %}
{% if job.contract %}
<!-- Contract -->
<li class="flex h-9 items-center px-3 py-2 dark:border-neutral-700">
{% include icons/ui/document-text.svg %}
<span class="ml-3 pt-0.5 leading-none">
{{ job.contract }}
</span>
</li>
{% endif %}
</ul>
{% if job.summaries %}
<!-- Summary -->
<ul class="flex list-disc flex-col space-y-1 pl-6">
{% for summary in job.summaries %}
<li class="leading-tight">{{ summary }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endfor %}
</div>
</section>
{% endif %}
{% if site.include_section.education %}
<!-- Education -->
<section
class="mb-12"
id="education"
>
<!-- Header -->
<div class="border-b-2 border-neutral-350 pb-1 dark:border-neutral-550">
<h2 class="text-2xl font-bold leading-none media-640:text-3xl">
Education
</h2>
</div>
<!-- Content -->
<div class="mt-6 grid grid-cols-1 gap-4 leading-snug">
{% for degree in site.data.education %}
<div
class="relative rounded border bg-white p-4 shadow-sm dark:border-neutral-700 dark:bg-neutral-750"
>
{% if degree.url %}
<!-- Link -->
{% assign url = degree.url %}
{% assign icon = degree.urlicon %}
{% assign text = degree.urltext %}
{% assign expandwidth = degree.urlexpandwidth %}
{% include components/url-icon-expand.html %}
{% endif %}
<!-- Degree -->
<h3 class="mb-1 text-xl font-bold leading-tight">
{{ degree.degree }}
</h3>
<!-- University -->
<h4 class="mb-3 text-lg font-medium leading-tight">
{{ degree.uni }}
</h4>
<!-- Details -->
<ul class="-mx-1 mb-3 grid list-none grid-cols-1 justify-start rounded border bg-neutral-100 text-neutral-900 shadow-sm dark:border-neutral-700 dark:bg-neutral-800 dark:text-neutral-100 media-500:grid-cols-2 media-720:grid-cols-3 [&>*:not(:last-child)]:border-b [&>*:nth-last-child(-n+2):nth-child(2n+1)]:media-500:border-none [&>*:nth-last-child(-n+2):nth-child(2n+1)~*]:media-500:border-none [&>*:nth-last-child(-n+3):nth-child(3n+1)]:media-720:border-none [&>*:nth-last-child(-n+3):nth-child(3n+1)~*]:media-720:border-none">
{% if degree.duration %}
<!-- Duration -->
<li class="flex h-9 items-center px-3 py-2 dark:border-neutral-700">
{% include icons/ui/calendar.svg %}
<span class="ml-3 pt-0.5 leading-none">
{{ degree.duration }}
</span>
</li>
{% endif %}
{% if degree.location %}
<!-- Location -->
<li class="flex h-9 items-center px-3 py-2 dark:border-neutral-700">
{% include icons/ui/map-pin.svg %}
<span class="ml-3 pt-0.5 leading-none">
{{ degree.location }}
</span>
</li>
{% endif %}
</ul>
<!-- Summary -->
<ul class="flex list-disc flex-col space-y-1 pl-6">
{% for summary in degree.summaries %}
<li class="leading-tight">{{ summary }}</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
</section>
{% endif %}
{% if site.include_section.skills %}
<!-- Skills -->
<section
class="mb-12 overflow-hidden"
id="skills"
>
<!-- Header -->
<div class="border-b-2 border-neutral-350 pb-1 dark:border-neutral-550">
<h2 class="text-2xl font-bold leading-none media-640:text-3xl">Skills</h2>
</div>
<!-- Filtering buttons -->
{% assign skill_filters = '' %}
{% for category in site.data.skills %}
{% for skill in category.items %}
{% for skill_filter in skill.filter %}
{% assign skill_filters = skill_filters
| append: skill_filter
| append: ','
%}
{% endfor %}
{% endfor %}
{% endfor %}
{% assign skill_filters = skill_filters | split: ',' | uniq | sort %}
<ul
class="mb-3 flex w-full flex-wrap border-b-2 border-neutral-350 py-2 dark:border-neutral-550 [&>*]:mx-auto"
role="radiogroup"
>
<li
class="relative flex cursor-pointer select-none items-center justify-center overflow-hidden rounded px-4 py-2 text-neutral-900 outline-none transition duration-200 hover:bg-neutral-250 focus-visible:bg-neutral-250 active:bg-neutral-300 aria-checked:font-bold dark:text-neutral-100 dark:hover:bg-neutral-750 dark:focus-visible:bg-neutral-750 dark:active:bg-neutral-700 dark:aria-checked:font-bold"
role="radio"
aria-label="filter: all"
aria-checked="true"
data-filter="*"
tabindex="0"
>
All
</li>
{% for skill_filter in skill_filters %}
{% assign skill_filter_id = skill_filter
| downcase
| replace: ' ', '-'
| replace: '&', 'and'
%}
<li
class="relative flex cursor-pointer select-none items-center justify-center overflow-hidden rounded px-4 py-2 text-neutral-900 outline-none transition duration-200 hover:bg-neutral-250 focus-visible:bg-neutral-250 active:bg-neutral-300 aria-checked:font-bold dark:text-neutral-100 dark:hover:bg-neutral-750 dark:focus-visible:bg-neutral-750 dark:active:bg-neutral-700 dark:aria-checked:font-bold"
role="radio"
aria-label="filter: {{ skill_filter | downcase }}"
aria-checked="false"
data-filter=".{{ skill_filter_id }}"
tabindex="0"
>
{{ skill_filter }}
</li>
{% endfor %}
</ul>
<!-- Content -->
<div
class="-mb-3 transition-height duration-400 ease-in-out"
data-isotope-container
>
{% for category in site.data.skills %}
<!-- Category -->
{% assign skill_filters = '' %}
{% for skill in category.items %}
{% for skill_filter in skill.filter %}
{% assign skill_filters = skill_filters
| append: skill_filter
| append: ','
%}
{% endfor %}
{% endfor %}
{% assign skill_filters = skill_filters | split: ',' | uniq | sort %}
<div
class="z-10 mb-4 mt-3 w-full{% for skill_filter in skill_filters %} {{ skill_filter | downcase | replace: ' ', '-' | replace: '&', 'and' }}{% endfor %}"
data-isotope-item
>
<h3
class="text-xl font-normal leading-none"
>
{{ category.category }}
</h3>
</div>
<!-- Skills sorted by proficiency in descending order -->
{% assign sorted_skills = category.items
| sort: 'proficiency'
| reverse
%}
{% for skill in sorted_skills %}
{% assign skill_id = skill.skill | downcase %}
<!-- Skill box: {{ skill.skill }} -->
<div
class="relative mb-3 w-full rounded border bg-white p-8 shadow-sm active:scale-95 data-[arrange-completed=true]:transition-transform dark:border-neutral-700 dark:bg-neutral-750 media-550:w-[calc(50%-6px)] media-768:w-[calc(33.3333%-8px)]{% for skill_filter in skill.filter %} {{ skill_filter | downcase | replace: ' ', '-' | replace: '&', 'and' }}{% endfor %}"
data-isotope-item
data-arrange-completed="true"
>
<div class="flex h-10 w-auto flex-row items-end justify-between">
<!-- Title -->
<h4
class="ml-1 text-lg font-bold leading-none"
>
{{ skill.skill }}
</h4>
<!-- Icon -->
<span class="[&>*]:mr-1 [&>*]:h-auto [&>*]:max-h-10 [&>*]:w-10">
{% include {{ skill.icon }} %}
</span>
</div>
<!-- Proficiency bar -->
<div class="mt-2 h-4 rounded bg-gray-200 dark:bg-gray-600">
<div
class="h-full rounded-l bg-lime-500"
style="width: {{ skill.proficiency }}%;"
></div>
</div>
{% if skill.categories %}
<!-- Modal button -->
<button
class="absolute left-0 top-0 flex h-full w-full select-none items-center justify-center rounded bg-transparent text-transparent outline-none transition-btn-overlay hover:cursor-pointer hover:bg-white/70 hover:text-neutral-900 hover:backdrop-blur-sm focus-visible:bg-white/70 focus-visible:text-neutral-900 focus-visible:backdrop-blur-sm active:text-neutral-900 active:backdrop-blur-[6px] dark:hover:bg-neutral-750/70 dark:hover:text-neutral-100 dark:hover:backdrop-blur-[6px] dark:focus-visible:bg-neutral-750/70 dark:focus-visible:text-neutral-100 dark:active:bg-neutral-750/70 dark:active:text-neutral-100"
role="button"
aria-details="Open modal: {{ skill.skill }}"
aria-controls="modal_skill_{{ skill_id }}"
aria-hidden="true"
tabindex="0"
>
View more
</button>
{% endif %}
</div>
<!-- Modal: {{ skill.skill }} -->
{% if skill.categories %}
{% include components/descmodal.html %}
{% endif %}
{% endfor %}
{% endfor %}
</div>
</section>
{% endif %}