forked from brooksbingham/theme-elegance
refactor: add icons for account links
parent
54e6b7d13d
commit
c3124f5ea2
|
@ -23,12 +23,14 @@
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
{block name='my_account_links'}
|
{block name='my_account_links'}
|
||||||
<a href="{$urls.pages.my_account}" class="account-link">
|
<div class='flex gap-8 my-8 items-center'>
|
||||||
<i class="material-icons"></i>
|
<a href="{$urls.pages.my_account}" class="flex gap-2 items-center">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-left" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l14 0" /><path d="M5 12l6 6" /><path d="M5 12l6 -6" /></svg>
|
||||||
<span>{l s='Back to your account' d='Shop.Theme.Customeraccount'}</span>
|
<span>{l s='Back to your account' d='Shop.Theme.Customeraccount'}</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="{$urls.pages.index}" class="account-link">
|
<a href="{$urls.pages.index}" class="flex gap-2 items-center">
|
||||||
<i class="material-icons"></i>
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-home" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l-2 0l9 -9l9 9l-2 0" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
|
||||||
<span>{l s='Home' d='Shop.Theme.Global'}</span>
|
<span>{l s='Home' d='Shop.Theme.Global'}</span>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
Loading…
Reference in New Issue