You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
cosmopet-architecture/wp-content/themes/cosmopet/views/forms/discount.twig

72 lines
4.1 KiB

<section class="{% if class %} {{ class }}{% else %}discount__sale{% endif %} {% if site_region == 'ae' %}discount_block_ae{% endif %} sec-bf">
<div class="discount__sale">
<div class="container">
<div class="discount_top">
<h3 class="discount_title">{{sub_title}}</span>
</h3>
<div class="discount_top-imgs">
{% if site_region == 'ru' %}
<img class="dicount_dog-img img--desktop"
src="{{ theme.link }}/static/img/dicsount-sale.png"
alt="">
<img class="dicount_dog-img img--mobile"
src="{{ theme.link }}/static/img/dicsount-sale-mob.png"
alt="">
{% elseif site_region == 'ae' %}
<img class="dicount_dog-img img--desktop"
src="{{ theme.link }}/static/img/labrador with stars.png"
alt="">
<img class="dicount_dog-img img--mobile"
src="{{ theme.link }}/static/img/labrador with stars -- mobile.png"
alt="">
{% endif %}
</div>
</div>
<div class="dicsount__body">
<div class="discount_form" id="" lang="ru-RU" dir="ltr">
<div class="screen-reader-response"><p role="status" aria-live="polite" aria-atomic="true"></p> <ul></ul></div>
<form class="form-process" action="subscribe_form" method="post" class="" aria-label="Контактная форма" novalidate="novalidate" data-status="init">
<div class="discount_form ">
<span class="" data-name="email"><input size="40" class="discount_form-inp" aria-required="true" aria-invalid="false" placeholder="{{ function('pll_e', 'Эл.почта') }}" value="" type="email" name="email"></span>
{% if site_region == 'ru' %}
<img src="/wp-content/themes/cosmopet/static/img/discount-line{% if class %}{% endif %}.svg">
{% elseif site_region == 'ae' %}
<img src="/wp-content/themes/cosmopet/static/img/discount-line-w.svg">
{% endif %}
<input type="hidden" name="form_name" value="Subscribtion form">
<button class="discount_form-btn main_link" type="submit">{{ function('pll_e', 'подписаться') }}</button>
</div>
</form>
</div>
<p class="discount_form-text">
{{ function('pll_e', 'Подписываясь на рассылку, я даю согласие на обработку персональных данных, на получение рекламных сообщений и новостей о товарах и услугах') }}</p>
<p class="discount_text">{{sub_text}}</p>
</div>
</div>
</div>
<div class="container">
<div class="discount_cosmodog">
<div class="discount_cosmodog__slider swiper">
<div class="swiper-wrapper">
{% for i in 1..14 %}
<div class="swiper-slide">
<img src="/wp-content/themes/cosmopet/static/img/pets/pet_{{ i }}.jpg" alt="Cosmopet image {{ i }}" class="discount_cosmodog-img">
</div>
{% endfor %}
</div>
</div>
<div class="discount_cosmodog_info">
<h2 class="discount_cosmodog-title">#cosmodog #cosmocat</h2>
<p class="discount_cosmodog-text">{% if site_region == 'ru' %}Отметьте своего питомца тэгом, и мы покажем его каждому{% elseif site_region == 'ae' %}Tag your pet and we'll show it to everyone{% endif %}</p>
</div>
</div>
</div>
</section>