templates/home/contacts.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}Contacts{% endblock %}
{% block stylesheets %}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous" />
<style>
h1 {
font-size: 46px;
font-weight: bold;
}
.contacts {
display:grid;
grid-template-columns: 5fr 3fr;
}
.contacts h2 {
color: var(--titrelightcolor);
text-align: left;
margin: 50px 0 30px 0;
font-size: 26px;
font-weight: bold;
}
.contacts h3 {
font-size: 18px;
font-weight: bold;
text-align: left;
margin: 20px 0 10px 0;
font-family: 'Fenomen Sans';
}
.icones {
margin: 0 0 0 auto;
padding-left:20px;
}
.contacts .grid {
display:grid;
grid-template-columns: auto 1fr;
margin-bottom: 30px;
}
.icone {
margin-right: 20px;
}
.contacts .grid .cell2 {
max-width: 240px;
}
.contacts a {
color: var(--lknaboutcolor) !important;
}
.contacts ul {
margin: 0;
padding: 0;
list-style: none;
}
.contacts li {
margin: 3px 0 5px 0;
font-size: 14px;
}
.contacts li i {
color: var(--lodeaocolor);
margin-right: 5px;
font-size: 12px;
}
@media screen and (max-width: 992px) {
.contacts { grid-template-columns: 1fr; }
.icones { margin: 0 0 0 0; padding-left: 0; }
.contacts .grid .cell2 { max-width: 100%; }
}
</style>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
{% endblock %}
{% block body %}
<div class="breadcrumb"><div class="container">
<a href="{{ path('home_page') }}">Accueil</a> / Contacts</div>
</div>
<h1>Contacts</h1>
<div class="container contacts">
<div>
<h2>{{ contactmessage.nom }}</h2>
<p>{{ contactmessage.description|raw }}</p>
{{ form_start(form) }}
{{ form_widget(form) }}
<div class="g-recaptcha margin-top-10" data-sitekey="6LcfSJwmAAAAAEVbB-U5_HYTJJj2rUSYBtzpf-K2"></div>
<button class="btn-send">{{ button_label|default('ENVOYER') }}</button>
{{ form_end(form) }}
{% if msgretour != '' %}
<div style="font-size:18px; font-weight:bold; text-align:center; color:#759458; margin-top:10px;">{{ msgretour }}</div>
{% endif %}
<br/><br/><br/>
</div>
<div class="icones">
<div class="grid">
<img class="icone" src="{{ asset('assets/img/icon-contacts-1.png') }}" />
<div class="cell2">
<h3>LIENS UTILES</h3>
<ul>
{% for contact in liens %}
<li><i class="fas fa-chevron-right"></i> <a href="{{ contact.adresse }}" target="_blank"><b>{{ contact.nom }}</b></a> : {{ contact.description }}</li>
{% endfor %}
</ul>
</div>
</div>
<div class="grid">
<img class="icone" src="{{ asset('assets/img/icon-contacts-3.png') }}" />
<div class="cell2">
<h3>ADMINISTRATEURS</h3>
<ul>
{% for contact in admins %}
<li>
<i class="fas fa-chevron-right"></i><b>{{ contact.nom }}</b>, {{ contact.description }}<br/>
<a href="mailto:{{ contact.adresse }}" target="_blank">{{ contact.adresse }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<br/><br/><br/>
</div>
</div>
{% endblock %}