8.6
This commit is contained in:
parent
f59ddf92f0
commit
283155faa5
1 changed files with 7 additions and 7 deletions
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<div class="hero fw">
|
||||
<div class="hero__container">
|
||||
|
||||
|
||||
<div class="swiper-container">
|
||||
<div class="swiper-wrapper">
|
||||
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
<div class="hero__block hero-block image-border-wrap" <?php if(empty($h['video_file'])) : ?>style="background-image: url(<?php echo $h['image']; ?>);"<?php endif; ?> >
|
||||
<?php if(!empty($h['video_file'])) : ?>
|
||||
<div class="hero__video">
|
||||
<video autoplay muted loop>
|
||||
<video autoplay muted loop playsinline>
|
||||
<source src="<?php echo $h['video_file']; ?>">
|
||||
</video>
|
||||
</div>
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
<?php if(!empty($h['button'])) : ?>
|
||||
<a class="btn" href="<?php echo $h['button']['url'] ?>" title="<?php echo $h['button']['title'] ?>"><?php echo $h["button"]["title"] ?> <i class="btn__icon btn__icon_arrow-right"></i></a>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<div class="hero__nav hero-nav hero-nav_<?php echo count($hero); ?>">
|
||||
|
|
@ -58,13 +58,13 @@
|
|||
<div class="hero-nav__arrow hero-nav__arrow_next"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
$borders = $h['image_borders'];
|
||||
<?php
|
||||
$borders = $h['image_borders'];
|
||||
set_query_var('borders', $borders);
|
||||
get_template_part('partials/borders');
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<?php $hero_i++; ?>
|
||||
<?php endforeach; ?>
|
||||
|
|
@ -76,4 +76,4 @@
|
|||
|
||||
<div class="scroll-down"><a class="scroll-down__btn" title="arrow down"><img src="<?php echo $tp; ?>/img/arrow-down.png" alt="arrow-down" /></a></div>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue