<div id="footer">
{% if editmode %}
{# {% spaceless %} #}
{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
{# we use the view helper to have cache buster functionality #}
{% do pimcore_head_link().appendStylesheet(asset('static/css/index.css')) %}
{% do pimcore_head_script().appendFile(asset('static/js/index.js')) %}
{# {% endspaceless %} #}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
{% block scripts deferred %}
{{ pimcore_head_script() }}
{% endblock %}
{% endif %}
{# get root node if there is no document defined (for pages which are routed directly through static route) #}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{# get the document which should be used to start in navigation | default home #}
{% set navStartNode = document.getProperty('navigationRoot') %}
{% if not navStartNode is instanceof('\\Pimcore\\Model\\Document\\Page') %}
{% set navStartNode = pimcore_document_by_path('/' ~ app.request.getLocale()) %}
{% endif %}
{% set mainNavigation = pimcore_build_nav({
active: document,
root: navStartNode
}) %}
<div class="position-relative">
<div class="footer-wrapper">
<div class="container position-relative">
<div class="background-light-purple">
</div>
<div class="col-lg-11 offset-lg-1 footer-wrapper_main-column">
<div class="footer-logo-wrapper">
<a href="/{{ app.request.getLocale() }}">
{% if not pimcore_image('logo_footer').isEmpty() %}
{{ pimcore_image('logo_footer', {width: 130}).getThumbnail('logo_footer').getHtml({class: 'img-fluid'}) | raw }}
{% else %}
{{ pimcore_image('logo_footer',{width: 130, title: 'Drag your image here'}) }}
{% endif %}
</a>
</div>
<footer>
<div class="row">
<div class="col-xl-4 col-lg-4 col-md-8 order-lg-1 order-sm-1 col-sm-7">
<div class="footer-p-16">
{{ pimcore_wysiwyg('footer_social_description', {
"toolbarGroups": [
{
"name": 'WYSIWYG 1',
"groups": [ 'basicstyles', 'colors', 'links' ]
}
],
placeholder: 'Content...' | trans
}) }}
</div>
<div class="d-flex footer-wrapper_social-icons">
<div class="{{ editmode ? 'mr-5' }}">
{% if editmode %}
{{ pimcore_link('footer_social_facebook', {'noText': true}) }}
{{ pimcore_image('footer_social_facebook_image',{width: 60, title: 'Drag your image here'}) }}
{% else %}
<a href="{{ pimcore_link('footer_social_facebook').getHref() }}" target="{{ pimcore_link('footer_social_facebook').getTarget() }}">
<img src="{{ pimcore_image('footer_social_facebook_image').getThumbnail('social_icon') }}" alt="{{ pimcore_image('footer_social_facebook_image').getAlt() }}">
</a>
{% endif %}
</div>
<div class="{{ editmode ? 'mr-5' }}">
{% if editmode %}
{{ pimcore_link('footer_social_twitter') }}
{{ pimcore_image('footer_social_twitter_image',{width: 60, title: 'Drag your image here'}) }}
{% else %}
<a href="{{ pimcore_link('footer_social_twitter').getHref() }}" target="{{ pimcore_link('footer_social_twitter').getTarget() }}">
<img src="{{ pimcore_image('footer_social_twitter_image').getThumbnail('social_icon') }}" alt="{{ pimcore_image('footer_social_facebook_image').getAlt() }}">
</a>
{% endif %}
</div>
<div class="{{ editmode ? 'mr-5' }}">
{% if editmode %}
{{ pimcore_link('footer_social_instagram') }}
{{ pimcore_image('footer_social_instagram_image',{width: 60, title: 'Drag your image here'}) }}
{% else %}
<a href="{{ pimcore_link('footer_social_instagram').getHref() }}" target="{{ pimcore_link('footer_social_instagram').getTarget() }}">
<img src="{{ pimcore_image('footer_social_instagram_image').getThumbnail('social_icon') }}" alt="{{ pimcore_image('footer_social_instagram_image').getAlt() }}">
</a>
{% endif %}
</div>
</div>
</div>
<div class="col-xl-5 col-lg-7 col-md-8 order-lg-2 order-sm-3 col-sm-7">
<p class="footer-p-16">
{{ pimcore_input('input-2', {placeholder: 'Content...', class : 'pr-5 mr-4 mb-1 pb-2 mt-lg-0 mt-md-4 mr-md-3 pr-sm-0'}) }}
</p>
{% if document is defined and document and not isMobile|default() %}
{% if document.getProperty('contactForm') %}
{{ pimcore_inc(document.getProperty('contactForm').getRealFullpath()) }}
{% endif %}
{% endif %}
{% block popupContactForm %}
{% if document is defined and document and not isMobile|default() %}
{% if document.getProperty('popupContactForm') %}
{{ pimcore_inc(document.getProperty('popupContactForm').getRealFullpath()) }}
{% endif %}
{% endif %}
{% endblock %}
{% block popupNewsletterForm %}
{% if document is defined and document and not isMobile|default() %}
{% if document.getProperty('popupNewsletterForm') %}
{{ pimcore_inc(document.getProperty('popupNewsletterForm').getRealFullpath()) }}
{% endif %}
{% endif %}
{% endblock %}
</div>
<div class="col-xl-2 col-lg-6 offset-xl-1 offset-lg-6 col-md-3 order-lg-3 order-sm-2 offset-md-0 col-sm-3 offset-sm-2 footer-links-pages_column">
<ul class="footer-links-pages">
{% for nav in mainNavigation %}
<li class="{{ not nav._visible ? 'd-none' }}">
<a href="{{ nav.uri }}">
{{ nav.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
<div class="col-lg-12 col-md-3 offset-md-0 order-lg-4 order-sm-4 col-sm-3 offset-sm-2 footer-bottom-links_column">
<div class="d-flex align-items-center footer-bottom-links">
<h6 class="links font-weight-normal">
{{ '©Copyright Meddox' | trans }} <script>document.write(new Date().getFullYear())</script>
</h6>
{% for i in pimcore_iterate_block(pimcore_block("meddoxFaq", {class: 'd-flex'})) %}
<h6 class="links font-weight-normal">
{{ pimcore_link('footer-links') }}
</h6>
{% endfor %}
<h6 class="links font-weight-normal">
{% if not editmode %}
<a href="mailto:{{ pimcore_input('mail_to').getData() }}">
{{ pimcore_input('mail_to', {placeholder: 'Mail to...'}) }}
</a>
{% else %}
{{ pimcore_input('mail_to', {placeholder: 'Mail to...', 'min-width': 100}) }}
{% endif %}
</h6>
</div>
</div>
</div>
</footer>
</div>
<img src="{{ asset('static/images/Lines.webp') }}" alt="Lines" class="footer-wrapper__lines">
</div>
</div>
</div>
</div>