{% extends "base.html.twig" %}
{% form_theme contactForm _self %}
{% block _contact_customFiles_row %}
{{ form_label(form) }}
{{ form_errors(form) }}
<ul class="customfiles" data-prototype="{{ form_widget(form.vars.prototype)|e('html_attr') }}">
{% for customFile in form %}
<li>
{{ form_widget(customFile) }}
</li>
{% endfor %}
</ul>
{% endblock %}
{% block _contact_customFiles_entry_customFileFile_row %}
<div class=" bgc-F5F5F5 my-3 my-sm-0 br-4 fs-13 he-64 header-bloc montserrat br-3 pay-8 pal-8 par-3 d-flex align-items-center">
{{ form_errors(form) }}
<div class="m-auto content-upload d-flex align-items-center position-relative justify-content-center pax-16">
<a type='button' class='uploadLink pax-0 c-333333'> <i class="fas fa-file-alt fs-16 lh-21"></i></a>
<a type='button'
class='uploadLink text-left c-333333 col pax-7 textFile fs-12 he-32 header-bloc overflow-hidden d-flex align-items-center lh-16 mawi-85'>
Uploader mon fichier</a>
<a type='button'
class='deleteFile c-333333 position-absolute bgc-yellow header-bloc he-20 wi-20 t--25 r--10'>
<i class="fal fa-times fs-16 lh-21"></i>
</a>
<div class="d-none"> {{ form_label(form) }}
{{ form_widget(form) }}</div>
</div>
</div>
{% endblock %}
{% block body %}
<section class=" container container-contact pab-100 pat-65">
{# {% include "front/menu.html.twig" with {'menu':{("menu.posts"|trans):"#"} %} #}
{% include "front/menu.html.twig" with {'menu':{("menu.contact"|trans):"#"}} %}
<h2 class="text-center titleh1 mab-60" data-aos="fade-in"
data-aos-duration="800">{{ "contact.title"|trans }}</h2>
<h3 class="c-8E9094 mawi-600 fs-30 fw-500 mab-50 mx-auto text-center" data-aos="fade-in" data-aos-duration="800"
data-aos-delay="200">{{ "contact.intro"|trans }}</h3>
<div data-aos="fade-up" data-aos-duration="800" data-aos-delay="200" id='form-contact' class=" form-contact ">
<div class="intro-contact-form fs-16 fw-400 mx-auto c-8E9094 text-center mab-60">
{{ "contact.form.intro"|trans }}
</div>
{% include "form/contactForm.html.twig" %}
</div>
</section>
<section class="pat-100 pab-75 position-relative background-blue">
<img src="{{ asset('assets/img/motif1.png') }}" class="motif" alt="motif"/>
<div class="position-relative zi-9" data-aos="fade-up" data-aos-duration="800">
<div class="surtitle text-center c-204A9A mab-25 fs-16 fw-600 text-uppercase ls-custom2">
{{ "contact.map.surTitle"|trans }}
</div>
<div class="position-relative mawi-440 mx-auto">
<img src="{{ asset('assets/img/points.svg') }}" class="position-absolute t--15 l-0 zi-0"
alt="points icon"/>
<h3 class="text-center titleh1 mab-80 position-relative zi-9 ">{{ "contact.map.title"|trans }}</h3>
</div>
<div class="container">
{% if setting %}
<div>
<img src="{{ asset(vich_uploader_asset(setting, 'mapFile')) }}" alt="View Point"
class="w-100"/>
</div>
{% endif %}
</div>
</div>
<div id="contactFormContainer"></div>
</section>
<section class='position-relative'>
<div class="container pab-60 position-relative zi-9" data-aos="fade-up" data-aos-duration="800">
<div class="intro-contact mx-auto mab-50 mat-100">
<div class="d-md-flex justify-content-between text-center text-md-left ">
{% include "front/contactDetail.html.twig" with {
"title":'footer.logo.cities'|trans,
"telRaw":"+33472179192",
"tel":"+33 (0) 4 72 17 91 92",
"mail":"info",
"mail1":"viewpoint.fr"
} %}
{% include "front/contactDetail.html.twig" with {
"title":'footer.america.cities'|trans,
"telRaw":"+15143435003",
"tel":"+1 514 343 5003",
"mail":"info",
"mail1":"viewpointlifesciences.com",
"delay":"200"
} %}
{% include "front/contactDetail.html.twig" with {
"title":'footer.asia.cities'|trans,
"telRaw":"+862161767233",
"tel":"+86 (0) 21 6176 7233 / 7237",
"mail":"info",
"mail1":"viewpoint.cn.com",
"delay":"400"
} %}
</div>
</div>
</div>
<img src="{{ asset('assets/img/Motif.png') }}" alt="background motif"
class="uexpmv w-100 b-0 l-0 img-fit position-absolute"/>
</section>
{% endblock %}
{% block javascripts %}
{{ parent() }}
{# <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> #}
{% include "commons/collectionType.html.twig" with {'entity':'CustomFile','addIcon':true, 'deleteIcon':true, 'dataAdd' : 'un fichier'} %}
{{ encore_entry_script_tags('contact') }}
{% endblock %}