{% extends 'base.html.twig' %} {% block title %}{% if editMode|default(false) %}Édition : {% endif %}{{ metaTitle ?? title }}{% endblock %} {% block meta %} {% endblock %} {% block stylesheets %} {{ parent() }} {{ encore_entry_link_tags('contact') }} {% endblock %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('contact') }} {% endblock %} {% block body %} {% set address = content.address|default('Le rond point des pistes, 20 Rue du Val Claret batiment B, 73320 Tignes') %} {% set arrow_icon %}{% include 'components/_icon.html.twig' with {name: 'arrow-right', width: '14px', height: '12px'} only %}{% endset %}
{% include 'components/_page_hero.html.twig' with { title: title, edit_mode: editMode|default(false), show_tags: false, title_class: 'page-hero__title--xl' } %}
{% for message in app.flashes('success') %}
{{ message }}
{% endfor %} {% for message in app.flashes('error') %}
{{ message }}
{% endfor %}
{# ---------------------------------------------------------- #} {# Left column: torn-paper card with the contact form #} {# ---------------------------------------------------------- #}

{{ 'contact.write_to_us'|trans }}

{{ 'contact.needs_label'|trans }}
{# ---------------------------------------------------------- #} {# Right column: address + map + instagram #} {# ---------------------------------------------------------- #}

{{ 'contact.address_title'|trans }}

{% set address_plain = address|replace({'
': ' ', '
': ' ', '
': ' '})|striptags|trim %} {{ 'contact.address_title'|trans }}
{% endblock %}