86 lines
3.5 KiB
Twig
86 lines
3.5 KiB
Twig
{% extends 'teamer/layout.html.twig' %}
|
|
|
|
{% block title %}Kontakt{% endblock %}
|
|
|
|
{# e-mail and phone are always visible links, so they work on touch screens, by keyboard and without a photo #}
|
|
{% macro contact(contact) %}
|
|
<li class="card flex items-start gap-x-4 p-4">
|
|
{% if contact.photo %}
|
|
<img src="{{ asset(contact.photo.filename | imagine_filter('contact')) }}"
|
|
class="h-20 w-20 shrink-0 rounded-full border-2 border-brand object-cover"
|
|
alt="">
|
|
{% else %}
|
|
<span class="flex h-20 w-20 shrink-0 items-center justify-center rounded-full bg-brand-light text-brand">
|
|
{{ icon('user', 'w-8 h-8') }}
|
|
</span>
|
|
{% endif %}
|
|
<div class="min-w-0">
|
|
<p class="font-bold">{{ contact.name }}</p>
|
|
{% if contact.category %}
|
|
<p class="text-muted">{{ ('label.contact.category.' ~ contact.category) | trans }}</p>
|
|
{% endif %}
|
|
{% if contact.destination %}
|
|
<p class="text-muted">{{ contact.destination }}</p>
|
|
{% endif %}
|
|
<div class="flex flex-col gap-y-1 pt-2">
|
|
{% if contact.email %}
|
|
<a href="mailto:{{ contact.email }}" class="inline-flex min-w-0 items-center gap-x-2 text-brand hover:text-brand-dark">
|
|
{{ icon('mail', 'w-4 h-4 shrink-0') }}
|
|
<span class="truncate">{{ contact.email }}</span>
|
|
</a>
|
|
{% endif %}
|
|
{% if contact.phone %}
|
|
<a href="tel:{{ contact.phone }}" class="inline-flex items-center gap-x-2 text-brand hover:text-brand-dark">
|
|
{{ icon('phone', 'w-4 h-4 shrink-0') }}
|
|
<span>{{ contact.phone }}</span>
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</li>
|
|
{% endmacro %}
|
|
|
|
{% macro contacts(contacts) %}
|
|
{% if contacts is not empty %}
|
|
<ul class="grid gap-4 sm:grid-cols-2 xl:grid-cols-3">
|
|
{% for contact in contacts %}
|
|
{{ _self.contact(contact) }}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endmacro %}
|
|
|
|
{% block content %}
|
|
<h1 class="text-2xl font-bold pb-6">
|
|
Kontakt
|
|
</h1>
|
|
|
|
<section class="pb-10">
|
|
<h2 class="section-title pb-2">
|
|
Personalplanung
|
|
</h2>
|
|
<div class="max-w-prose pb-4">
|
|
<p class="pb-2">
|
|
Hast du allgemeine Fragen zum Team-Sein bei E&P Reisen, zur Benutzung von E&P Team, zur Abrechnung
|
|
oder Ähnlichem? Dann schau mal in den FAQs nach, ob deine Frage dort beantwortet wird.
|
|
</p>
|
|
<p>
|
|
Ansonsten melde dich gerne beim Team Personalplanung!
|
|
</p>
|
|
</div>
|
|
{{ _self.contacts(contacts.hr) }}
|
|
</section>
|
|
|
|
<section>
|
|
<h2 class="section-title pb-2">
|
|
Reise- und Hausmanagement
|
|
</h2>
|
|
<p class="max-w-prose pb-4">
|
|
Hast du nach Erhalt deiner Infomail (ein paar Tage vor deinem Einsatz) noch Fragen zu deinem Einsatz? Dann
|
|
kontaktiere deine zuständige Reise- oder Hausmanager:in. Alle vorherigen Fragen können über
|
|
<a href="mailto:[email protected]" class="font-bold text-brand underline underline-offset-2 hover:text-brand-dark">[email protected]</a> abgeklärt werden.
|
|
</p>
|
|
{{ _self.contacts(contacts.management|merge(contacts.house_management)) }}
|
|
</section>
|
|
{% endblock %}
|