forked from brooksbingham/theme-elegance
refactor: style the customer sign in for the header
parent
db088ec76b
commit
d25067a064
|
@ -23,15 +23,19 @@
|
|||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div id="_desktop_user_info" class="relative">
|
||||
<div class="flex max-w-[200px] justify-end">
|
||||
<div class="flex max-w-[200px] justify-end mx-4">
|
||||
{if $logged}
|
||||
<a
|
||||
class="logout hidden-sm-down"
|
||||
class="logout hidden-sm-down mr-4"
|
||||
href="{$logout_url}"
|
||||
rel="nofollow"
|
||||
>
|
||||
<i class="material-icons"></i>
|
||||
{l s='Sign out' d='Shop.Theme.Actions'}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-logout" width="24" height="24" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"></path>
|
||||
<path d="M9 12h12l-3 -3"></path>
|
||||
<path d="M18 15l3 -3"></path>
|
||||
</svg>
|
||||
</a>
|
||||
<a
|
||||
class="account"
|
||||
|
@ -39,8 +43,12 @@
|
|||
title="{l s='View my customer account' d='Shop.Theme.Customeraccount'}"
|
||||
rel="nofollow"
|
||||
>
|
||||
<i class="material-icons hidden-md-up logged"></i>
|
||||
<span class="hidden-sm-down">{$customerName}</span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-user-circle" width="24" height="24" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path>
|
||||
<path d="M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>
|
||||
<path d="M6.168 18.849a4 4 0 0 1 3.832 -2.849h4a4 4 0 0 1 3.834 2.855"></path>
|
||||
</svg>
|
||||
</a>
|
||||
{else}
|
||||
<a
|
||||
|
|
Loading…
Reference in New Issue