{%- extends 'park/base.html.twig' -%} {% block importmap %}{{ importmap(['app','business-show']) }}{% endblock %} {%- set pageTitle -%}L'Entreprise
{{ park.prefixedName }}{% endset %} {%- set hasActivityArea = business.description is not empty -%} {%- set hasDescription = business.description is not empty -%} {%- set hasWebsite = business.website is not empty -%} {%- set hasContactPhone = business.contactPhone is not empty -%} {%- set hasContactEmail = business.contactEmail is not empty -%} {%- block body -%}
{% if business.logo and business.logo.name %}
{% endif %}

{{ business.name|striptags|raw }}

{% if hasActivityArea %}
{{ business.activityArea ? business.activityArea.name }}
{% endif %} {% if hasWebsite %} Voir le site internet {% endif %} {% if hasContactPhone or hasContactEmail %} {% endif %}
{% if business.subscriptionLevel.post or business.subscriptionLevel.realEstate or business.subscriptionLevel.jobOffer %}
{% endif %}

{{ ux_icon('bi:geo-alt-fill', {class:'text-tertiary', 'aria-label': 'Business Address'}) }}
{{ business.fullAddress }}
{% if hasContactEmail %}
{{ ux_icon('bi:envelope-at-fill', {class:'text-tertiary', 'aria-label': 'Business Address'}) }}
{% endif %} {% if hasContactPhone %}
{{ ux_icon('bi:telephone-fill', {class:'text-tertiary', 'aria-label': 'Business Phone'}) }}
{% endif %}
{{ ux_map(map, { style: 'height: 100%;border-radius: 8px;','data-controller': 'leaflet-map', }) }}
{% if hasDescription %}
{{ business.description|raw }}
{% endif %}
{% if business.subscriptionLevel.post or business.subscriptionLevel.realEstate or business.subscriptionLevel.jobOffer %} {% endif %}
Lancer l'itinéraire via
{%- endblock -%}