diff --git a/modules/ps_imageslider/views/templates/hook/slider.tpl b/modules/ps_imageslider/views/templates/hook/slider.tpl index 30b8df0..7298b33 100644 --- a/modules/ps_imageslider/views/templates/hook/slider.tpl +++ b/modules/ps_imageslider/views/templates/hook/slider.tpl @@ -24,23 +24,11 @@ *} {if $homeslider.slides} - <div id="carousel" data-ride="carousel" class="carousel slide mb-16" data-interval="{$homeslider.speed}" data-wrap="{(string)$homeslider.wrap}" data-pause="{$homeslider.pause}"> - <ul class="carousel-inner" role="listbox"> - {foreach from=$homeslider.slides item=slide name='homeslider'} - <li class="carousel-item {if $smarty.foreach.homeslider.first}active{/if}" role="option" aria-hidden="{if $smarty.foreach.homeslider.first}false{else}true{/if}"> - <a href="{$slide.url}"> - <figure class="relative h-auto lg:h-screen"> - <img class="w-full h-full object-contain md:object-cover" src="{$slide.image_url}" alt="{$slide.legend|escape}"> - {if $slide.title || $slide.description} - <figcaption class="caption absolute left-1/2 md:left-1/2 bottom-0 top-0 right-1/5 flex flex-col justify-center"> - <h2 class="max-md:max-w-full max-md:pr-2 max-md:leading-5 text-lg md:text-3xl lg:text-4xl xl:text-6xl font-bold mb-2 md:mb-4">{$slide.title}</h2> - <div class="text-sm md:text-base font-medium">{$slide.description nofilter}</div> - </figcaption> - {/if} - </figure> - </a> - </li> - {/foreach} - </ul> - </div> + <a href="https://brooksbingham.com/17-custom-made"> + <div class="mt-[7rem] mb-12" > + <video autoplay muted loop class="w-full h-auto lg:h-[90vh] object-cover"> + <source src="{$urls.img_ps_url}cms/hero.mp4" type="video/mp4" > + </video> + </div> + </a> {/if}