forked from brooksbingham/theme-elegance
fix: move hero banner outside wrapper
parent
910777cd0d
commit
81409f856a
|
@ -51,6 +51,15 @@
|
||||||
{/block}
|
{/block}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{if $page.page_name == 'index'}
|
||||||
|
<div class="w-full h-[40vh] md:h-[80vh] absolute top-0 left-0 bg-[#E6DFD4] md:bg-transparent flex items-center">
|
||||||
|
<img class="w-full md:h-full md:object-cover"
|
||||||
|
src="https://brooksbingham-season5.sfo2.cdn.digitaloceanspaces.com/site-static-assets/homepage/banner.png" />
|
||||||
|
</div>
|
||||||
|
<div class="w-full h-[30vh] md:h-[70vh]">
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{block name='displayBeforeWrapper'}
|
{block name='displayBeforeWrapper'}
|
||||||
{hook h='displayBeforeWrapper'}
|
{hook h='displayBeforeWrapper'}
|
||||||
{/block}
|
{/block}
|
||||||
|
@ -86,12 +95,6 @@
|
||||||
|
|
||||||
{if $page.page_name == 'index'}
|
{if $page.page_name == 'index'}
|
||||||
|
|
||||||
<div class="w-full h-[40vh] md:h-[80vh] absolute top-0 left-0 bg-[#E6DFD4] md:bg-transparent flex items-center">
|
|
||||||
<img class="w-full md:h-full md:object-cover"
|
|
||||||
src="https://brooksbingham-season5.sfo2.cdn.digitaloceanspaces.com/site-static-assets/homepage/banner.png" />
|
|
||||||
</div>
|
|
||||||
<div class="w-full h-[30vh] md:h-[70vh]">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="lg:my-32 my-20" >
|
<div class="lg:my-32 my-20" >
|
||||||
<h1 class="lg:text-2xl md:text-xl text-lg font-bold text-center">Design and Visualize what you need</h1>
|
<h1 class="lg:text-2xl md:text-xl text-lg font-bold text-center">Design and Visualize what you need</h1>
|
||||||
|
|
Loading…
Reference in New Issue