2024-08-14 20:42:10 +02:00
{% set work = page.resume.work %}
{% if work %}
2024-08-15 05:40:03 +02:00
< section class = "section" id = "work-section" >
2024-08-14 20:42:10 +02:00
< header >
2024-08-15 21:18:07 +02:00
< h2 class = 'section-title' > < i class = "fa-solid fa-suitcase" > < / i > {% 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 %}
2024-08-15 06:19:22 +02:00
< span class = "startDate" > {{ utils.format_date_short(work_item.startDate) }}< / span >
2024-08-15 03:57:48 +02:00
{% endif %}
{% if not utils.isinfinite(work_item.endDate) %}
2024-08-15 06:19:22 +02:00
< span class = "endDate" > - {{ utils.format_date_short(work_item.endDate) }}< / span >
2024-08-15 03:57:48 +02:00
{% else %}
2024-08-15 06:19:22 +02:00
< span class = "endDate" > - {% trans %}resume present phrase{% endtrans %}< / span >
2024-08-15 03:57:48 +02:00
{% endif %}
< / div >
< / div >
2024-08-15 21:18:07 +02:00
< div class = "company organization" >
2024-08-15 06:19:22 +02:00
< i class = "fa-solid fa-building mr-2" > < / i >
2024-08-15 03:57:48 +02:00
{{ 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 21:38:08 +02:00
< li > {{ 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 %}