templates/areas/content-brick/partials/_buttons.html.twig line 1

Open in your IDE?
  1. <div class="{{ wrapperClass ?? 'mt-8 md:flex flex-wrap' }}">
  2.     {% include 'includes/partials/_button.html.twig' with {
  3.         fieldName: primaryFieldName ?? 'content-primary_link',
  4.         defaultLink: defaultPrimaryLink ?? null,
  5.         buttonClass: primaryButtonClass ?? 'w-full button button__primary lg:w-auto lg:mr-2 mb-2 md:mb-0',
  6.         product: product ?? null,
  7.         productCategory: productCategory ?? null,
  8.         showRentalFormButton: showRentalFormButton ?? null,
  9.         showRentalFormButtonColor: showRentalFormButtonColor ?? null,
  10.         greenButton: greenButton ?? null,
  11.         showCustomButtonComment: showCustomButtonComment ?? null,
  12.     } %}
  13.     {% include 'includes/partials/_button.html.twig' with {
  14.         fieldName: secondaryFieldName ?? 'content-secondary_link',
  15.         defaultLink: defaultSecondaryLink ?? null,
  16.         buttonClass: secondaryButtonClass ?? 'button button__secondary group',
  17.         product: null,
  18.         productCategory: null,
  19.         showRentalFormButton: false,
  20.         textSuffix: '
  21.             <span class="flex items-center justify-center w-6 h-6 ml-3 bg-white rounded-full shadow-md text-blue group-hover:bg-blue group-hover:text-white">
  22.                 <svg class="h-3.5 w-3.5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
  23.                     <path fill="currentColor" fill-rule="currentColor" d="m6.406 15.656 6.963-6.731c.249-.24.389-.575.389-.925 0-.35-.14-.685-.389-.925L6.406.343A1.206 1.206 0 0 0 4.657.41l-.09.113a1.297 1.297 0 0 0 .154 1.67L10.731 8l-6.008 5.806a1.295 1.295 0 0 0-.065 1.783c.463.52 1.248.55 1.748.066Z"></path>
  24.                 </svg>
  25.             </span>'
  26.     } %}
  27. </div>