templates/website/page/about.html.twig line 1
{% extends '@web/base.html.twig' %}{% if page is defined and page is not empty %}{% set metaParams = {'title': page.metaTitle ? page.metaTitle : page.title,'metaDescription': page.metaDescription,'metaKeywords': page.metaKeywords,'image':(page.metaImage is defined ? page.metaImage : page.image is defined ? page.image : null)} %}{% else %}{% set metaParams = {} %}{% endif %}{% block meta %}{% include '@web/parts/meta.html.twig' with metaParams %}{% endblock meta %}{% block content %}<section class="section-about" id="aboutPage">{% if page is not null and page.image is not empty %}<div class="header-bg"><img src="{{ page.image|imagine_filter('thumbnail_view')}}" alt="{{ page.title }}"></div>{% endif %}{% block header %}{% include '@web/parts/header.html.twig' %}{% endblock %}<div class="our-hero-wrapper">{% if page is not null %}<div class="big-title color-darkblue text-center">{{ page.title }}</div>{% endif %}<div class="heros" data-scroll-container>{% for hero in heroes %}<div class="hero"><div class="img-big {{ loop.index % 2 == 0 ? 'right-scroll-image': 'left-scroll-image'}}"><img src="{{ hero.image }}" alt=""></div><div class="info-wrapper"><div class="img-title"><div class="img-medium {{ loop.index % 2 == 0 ? 'right-scroll-image': 'left-scroll-image'}}"><img src="{{ hero.imageMedium }}" alt="{{hero.title}}"></div><div class="title scroll-title {{ loop.index % 2 == 0 ? 'left-scroll-title': 'right-scroll-title'}}" data-from="200vw" data-to="-200vw">{{hero.title}}</div></div><div class="img-small {{ loop.index % 2 == 0 ? 'right-scroll-image': 'left-scroll-image'}}"><img src="{{ hero.imageSmall }}" alt="{{hero.title}}"></div><div class="text">{{hero.description|raw}}</div></div></div>{% endfor %}</div></div>{% block footer %}{% include '@web/parts/footer.html.twig' %}{% endblock %}</section>{% endblock %}{% block javascripts %}{{ parent() }}<script src="{{ asset('scripts/animation.js') }}"></script><script>window.addEventListener('DOMContentLoaded', function() {const hash = window.location.hash;if (hash) {const targetTab = document.querySelector(`[data-bs-target="${hash}"]`);if (targetTab) {const tabTrigger = new bootstrap.Tab(targetTab);tabTrigger.show(); // Show the selected tab}}});$('.dropdown.about_dropdown a').click(function (){const hash = $(this).attr('href').split('#')[1]if (hash) {const targetTab = document.querySelector(`[data-bs-target="#${hash}"]`);if (targetTab) {const tabTrigger = new bootstrap.Tab(targetTab);tabTrigger.show();}}})</script>{% endblock %}