{% if content.mainSwiperIsView %}
<div style="order: {{ content.mainSwiperOrder ?? -1 }}">
<modern-main-swiper
slides="{{ adapt_attribute('main_swiper.cards', { 'cards' : content.swiperCards, 'lang' : app.request.locale}) | json_encode }}"
></modern-main-swiper>
</div>
{% endif %}