{% sw_extends "@Storefront/storefront/layout/footer/footer.html.twig" %}
{% block layout_footer_inner_container %}
{% set social = {
'translated': {
facebookUrl: "zentheme.stratus.content.socialFacebookUrl"|trans({"%placeholder%": config('zenitPlatformStratus.config.socialFacebookUrl')}),
youtubeUrl: "zentheme.stratus.content.socialYoutubeUrl"|trans({"%placeholder%": config('zenitPlatformStratus.config.socialYoutubeUrl')}),
instagramUrl: "zentheme.stratus.content.socialInstagramUrl"|trans({"%placeholder%": config('zenitPlatformStratus.config.socialInstagramUrl')}),
linkedInUrl: "zentheme.stratus.content.socialLinkedInUrl"|trans({"%placeholder%": config('zenitPlatformStratus.config.socialLinkedInUrl')}),
}
} %}
<div class="custom-prefooter-container">
<div class="custom-prefooter-image">
{% set prefooterImage = theme_config('sw-prefooter-image') %}
<img src={{ prefooterImage }} alt="">
</div>
<div class="custom-prefooter-content">
<h2 class="custom-prefooter-title">{{ "prefooter.title"|trans }}</h2>
<div class="custom-prefooter-container--icons">
<a href="{{ social.translated.youtubeUrl }}" target="_blank" class="custom-prefooter-icon">
{% sw_icon 'ic-youtube' style { 'pack': 'woodrepair' } %}
</a>
<a href="{{ social.translated.instagramUrl }}" target="_blank" class="custom-prefooter-icon">
{% sw_icon 'ic-instagram' style { 'pack': 'woodrepair' } %}
</a>
<a href="{{ social.translated.facebookUrl }}" target="_blank" class="custom-prefooter-icon">
{% sw_icon 'ic-facebook' style { 'pack': 'woodrepair' } %}
</a>
<a href="{{ social.translated.linkedInUrl }}" target="_blank" class="custom-prefooter-icon">
{% sw_icon 'ic-linkedin' style { 'pack': 'woodrepair'} %}
</a>
</div>
</div>
</div>
{{ parent() }}
{% block layout_footer_bottom %}
{% endblock %}
{% endblock %}