forked from brooksbingham/theme-elegance
fix: add slider in layouts
parent
e8f84e4cc0
commit
d15bdaaa6f
|
@ -1102,17 +1102,12 @@ select {
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
.h-\[50vh\] {
|
|
||||||
height: 50vh;
|
|
||||||
=======
|
|
||||||
.h-\[350px\] {
|
.h-\[350px\] {
|
||||||
height: 350px;
|
height: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-\[380px\] {
|
.h-\[380px\] {
|
||||||
height: 380px;
|
height: 380px;
|
||||||
>>>>>>> upstream/staging
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-auto {
|
.h-auto {
|
||||||
|
|
|
@ -55,6 +55,16 @@
|
||||||
{hook h='displayBeforeWrapper'}
|
{hook h='displayBeforeWrapper'}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
{if $page.page_name == 'index'}
|
||||||
|
<a href="https://brooksbingham.com/17-custom-made" id="slider">
|
||||||
|
<div class="mb-12 w-full lg:h-[90vh]" style="clip-path: inset(4px)" id="slider">
|
||||||
|
<video autoplay muted loop class="w-full h-full object-cover" style="background-color: rgba(0, 0, 0, 0)">
|
||||||
|
<source src="https://brooksbingham-season5.sfo2.cdn.digitaloceanspaces.com/site-static-assets/slider.mp4" type="video/mp4" >
|
||||||
|
</video>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<section class="container mx-auto">
|
<section class="container mx-auto">
|
||||||
{block name='breadcrumb'}
|
{block name='breadcrumb'}
|
||||||
{include file='_partials/breadcrumb.tpl'}
|
{include file='_partials/breadcrumb.tpl'}
|
||||||
|
|
Loading…
Reference in New Issue