From 91726b1ea334d2c7e29dc37bd6e8797711c5917c Mon Sep 17 00:00:00 2001 From: Dinesh Salunke <dineshsalunke@consultbop.com> Date: Mon, 6 Nov 2023 14:39:05 +0530 Subject: [PATCH] refactor: style the footer --- templates/_partials/footer.tpl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/_partials/footer.tpl b/templates/_partials/footer.tpl index d927149..7b98c75 100644 --- a/templates/_partials/footer.tpl +++ b/templates/_partials/footer.tpl @@ -27,13 +27,17 @@ {hook h='displayFooterBefore'} {/block} </div> -<div class="container mx-auto"> - <div class="flex items-center"> +<div class="container mx-auto flex flex-col"> + <div class="flex"> <div class="w-48 h-48 flex flex-col justify-center"> <a class="w-24 h-24" href="{$urls.base_url}"> <img class="logo w-full aspect-square object-fit" src="{$shop.logo}" alt="{$shop.name}"> </a> - <div class="h-96"> + </div> + <div class="w-full flex flex-1"> + {block name='hook_footer'} + {hook h='displayFooter'} + {/block} </div> </div> <div class="flex"> @@ -41,13 +45,9 @@ {hook h='displayFooterAfter'} {/block} </div> - <div class="container"> - <div class="flex justify-center py-8"> - {block name='copyright_link'} - <a class="_blank" href="https://www.prestashop.com" target="_blank" rel="nofollow"> - {l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'PrestaShop™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'} - </a> - {/block} - </div> + <div class="flex py-8"> + <a href="{$shop.url}"> + <span class="text-sm">© 2023 Brooksbingham Clothing</span> + </a> </div> </div>