templates/front/blocks/block-single-tile.twig line 1

Open in your IDE?
  1. <div class="col-12 col-lg-6 square justify-content-center align-items-center text-center d-flex zoom">
  2.     {% if slide.image is not null %}
  3.         <img src="{{ (CONST_IMAGE_URL ~ slide.image.fileName|default(''))|imagine_filter('full') }}" alt="">
  4.     {% endif %}
  5.     <div class="square-text text-white  mt-xxl-4 mt-xl-2">
  6.         <h6 class="f-32 fw-bold {{ slide.htmlAttributes.fontTitle|default('') }} text-{{ slide.htmlAttributes.titleColor|default('black') }}">{{ slide.translations.pl.title|default('') }}</h6>
  7.         <p class="{{ slide.htmlAttributes.fontSubTitle|default('') }} text-{{ slide.htmlAttributes.subTitleColor|default('black') }}">{{ slide.translations.pl.htmlContents.subTitle|default('') }}</p>
  8.     </div>
  9.     {% if slide.htmlAttributes.buttonShow|default('yes') == 'yes' %}
  10.         <a href="{{ slide.linkType == constant('LINK_PAGE', slide) and slide.destinationPage|default() ? path('front-page', { url: slide.destinationPage.url }) : slide.customDestinationUrl|http_url }}" class="btn btn-{{ slide.customColorButton|default('primary') }} {{ slide.htmlAttributes.buttonSize|default('') }}">{{ slide.translations.pl.customButtonText|default() }}</a>
  11.     {% endif %}
  12. </div>