refactor: add the missing blocks

dev
Dinesh Salunke 2023-11-03 15:03:32 +05:30
parent edd6bf4816
commit a89f94b278
1 changed files with 57 additions and 56 deletions

View File

@ -37,29 +37,27 @@
{hook h='displayAfterBodyOpeningTag'}
{/block}
<main>
{block name='product_activation'}
{include file='catalog/_partials/product-activation.tpl'}
{/block}
<header id="header">
<header class="relative z-30 flex items-center w-full">
{block name='header'}
{include file='_partials/header.tpl'}
{/block}
</header>
{block name='notifications'}
{include file='_partials/notifications.tpl'}
{block name='displayBeforeWrapper'}
{/block}
<section id="wrapper">
{hook h="displayWrapperTop"}
<div class="container mx-auto px-4 md:px-0">
{if $page.page_name !== 'index'}
<section class="container mx-auto">
{block name='breadcrumb'}
{include file='_partials/breadcrumb.tpl'}
{/block}
{/if}
{block name='wrapperTop'}
{hook h="displayWrapperTop"}
{/block}
{block name="left_column"}
<div id="left-column" class="col-xs-12 col-sm-4 col-md-3">
@ -72,7 +70,7 @@
{/block}
{block name="content_wrapper"}
<div id="content-wrapper" class="flex flex-col gap-8">
<div id="content-wrapper" class="flex w-full">
{hook h="displayContentWrapperTop"}
{block name="content"}
<p>Hello world! This is HTML5 Boilerplate.</p>
@ -90,18 +88,21 @@
{/if}
</div>
{/block}
</div>
{block name='wrapperBottom'}
{hook h="displayWrapperBottom"}
{/block}
</section>
<footer id="footer">
{block name='displayAfterWrapper'}
{/block}
<footer id="footer" class="relative pt-20 lg:pt-24">
{block name="footer"}
{include file="_partials/footer.tpl"}
{/block}
</footer>
</main>
{block name='javascript_bottom'}
{include file="_partials/javascript.tpl" javascript=$javascript.bottom}
{/block}