ws_small_y-1.0.x-dev/modules/small_y_hero/templates/block--lb-hero--variation-sub-chevron.html.twig

modules/small_y_hero/templates/block--lb-hero--variation-sub-chevron.html.twig
{#
/**
 * @file
 * Theme override to display a hero banner.
 *
 * Available variables:
 * - bannerClassVariation: The banner variation class
 * - wrapperClass: The wrapper class
 * - containerClass : The container class
 * - contentClass: The content class
 * - ctaLinkClass: The cta link class
 *
 * @see block--lb-hero.html.twig
 *
 * @ingroup themeable
 */
#}
{% embed "@lb_hero/block--lb-hero.html.twig" with {
  bannerClassVariation: ['hero__banner__sub_chevron', heroBackground],
  wrapperClass: '',
  containerClass: 'wrapper-content',
  contentClass: ['col', 'col-lg-12', 'text-align-left'],
  ctaLinkClass: ['btn', ctaLinkStyle, 'filled']
} %}

  {% block block_content %}
    {% embed '@lb_hero/block--lb-hero--content.html.twig' with {
      'title': block_content.field_title.value,
      'description': block_content.field_description.value,
      'link': block_content.field_hero_cta,
      'image_uri': media_image,
    } %}

      {% block chevron %}
        <div class="chevron">
          {% include "@small_y_hero/chevron_mask.html.twig" %}
        </div>
      {% endblock %}

    {% endembed %}
  {% endblock %}

  {% block block_hero %}
    {{ parent() }}
  {% endblock %}

{% endembed %}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc