2024-03-18 15:13:23 +01:00
|
|
|
---
|
|
|
|
title: 'Contacter un membre'
|
|
|
|
pagination:
|
|
|
|
data: collections.members
|
|
|
|
size: 1
|
|
|
|
alias: member
|
|
|
|
permalink: '/members/{{ member.fileSlug }}/contact/'
|
|
|
|
---
|
|
|
|
|
|
|
|
{% extends 'layouts/base.njk' %}
|
|
|
|
|
|
|
|
{% set memberData = member.data %}
|
|
|
|
{% set title = ["Écrire à ",memberData.name] | join %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<main id="main-content" tabindex="-1">
|
|
|
|
<section class="[ wrapper member ]">
|
|
|
|
<article>
|
|
|
|
<h1>{{ title }}</h1>
|
|
|
|
<p class="position">{{ memberData.position }}</p>
|
|
|
|
{% if memberData.positionInternal %}
|
|
|
|
<p>{{ memberData.positionInternal }}</p>
|
|
|
|
{% endif %}
|
|
|
|
<div class="[ member__wrapper ]">
|
|
|
|
<div class="member__info">
|
|
|
|
<img src="{{ memberData.profile }}" alt="photo de {{ memberData.name }}">
|
|
|
|
</div>
|
|
|
|
<div class="member__bio">
|
2024-03-18 15:39:37 +01:00
|
|
|
{% if memberData.emailSlug %}
|
|
|
|
{% set contactMember = memberData.emailSlug %}
|
|
|
|
{% else %}
|
|
|
|
{% set contactMember = member.fileSlug | replace("-",".") %}
|
|
|
|
{% endif %}
|
2024-03-18 15:13:23 +01:00
|
|
|
{% include "partials/components/contact-form.njk" %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
<a class="return-link" href="/equipe">Voir tous les membres</a>
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
{% endblock %}
|