2024-08-14 20:42:10 +02:00
|
|
|
{% set work = page.resume.work %}
|
|
|
|
{% if work %}
|
|
|
|
<section class="section">
|
|
|
|
<header>
|
2024-08-15 02:12:55 +02:00
|
|
|
<h2 class='section-title'>{% trans %}resume work title{% endtrans %} <span class="item-count">({{ work | length }})</span></h2>
|
2024-08-14 20:42:10 +02:00
|
|
|
</header>
|
|
|
|
|
|
|
|
<section id="work">
|
|
|
|
{% for work_item in work %}
|
|
|
|
<section class="work-item">
|
|
|
|
{% if work_item.name %}
|
|
|
|
|
|
|
|
{% if work_item.summary %}
|
|
|
|
{% if loop.first %}
|
|
|
|
<input id="work-item-{{ loop.index }}" type="checkbox" class="toggle-item" checked="checked" />
|
|
|
|
{% else %}
|
|
|
|
<input id="work-item-{{ loop.index }}" type="checkbox" class="toggle-item" />
|
|
|
|
{% endif %}
|
|
|
|
<label for="work-item-{{ loop.index }}"></label>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<header class="clear">
|
2024-08-15 03:57:48 +02:00
|
|
|
<div class="flex">
|
|
|
|
{% if work_item.position %}
|
|
|
|
<div class="position">{{ work_item.position }}</div>
|
2024-08-14 20:42:10 +02:00
|
|
|
{% endif %}
|
2024-08-15 03:57:48 +02:00
|
|
|
<div class="date flex-grow text-right">
|
|
|
|
{% if work_item.startDate %}
|
|
|
|
<span class="startDate">{{ utils.format_date_short(work_item.startDate) }}</span>
|
|
|
|
{% endif %}
|
|
|
|
{% if not utils.isinfinite(work_item.endDate) %}
|
|
|
|
<span class="endDate">- {{ utils.format_date_short(work_item.endDate) }}</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="endDate">- {{ language.phrases.present }}</span>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="company">
|
|
|
|
<i class="fa-solid fa-building"></i>
|
|
|
|
{{ work_item.name }}
|
|
|
|
{% if work_item.url %}
|
|
|
|
<span class="website">
|
|
|
|
<a href="{{ work_item.url }}">(website)</a>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
2024-08-14 20:42:10 +02:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if work_item.location %}
|
|
|
|
<span class="location">
|
|
|
|
<span class="fas fa-map-marker-alt"></span>
|
|
|
|
<span class="city">{{ work_item.location }},</span>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
|
2024-08-15 03:57:48 +02:00
|
|
|
{% if work_item.keywords %}
|
2024-08-14 20:42:10 +02:00
|
|
|
<ul class="keywords">
|
|
|
|
{% for keyword in keywords %}
|
|
|
|
<li>{{ keyword }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
<div class="item" id="work-item">
|
|
|
|
{% if work_item.summary %}
|
|
|
|
<div class="summary">{{ work_item.summary | replace("\r\n", "<br>") | replace("\n", "<br>") | replace("\r", "<br>") }}</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if work_item.highlights %}
|
2024-08-15 03:57:48 +02:00
|
|
|
<ul class="highlights grid grid-cols-4 gap-4">
|
2024-08-14 20:42:10 +02:00
|
|
|
{% for highlight in work_item.highlights %}
|
2024-08-15 03:57:48 +02:00
|
|
|
<li class="bg-slate-700 rounded-md ring-2 ring-blue-500/50 text-center">{{ highlight | replace("\r\n", "<br>") | replace("\n", "<br>") | replace("\r", "<br>") }}</li>
|
2024-08-14 20:42:10 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{% endfor %}
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
{% endif %}
|