feat(svg_icon): Add x icon; add svg_icon support for header heart icon
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
<div class="col flex-grow-0 header-top__block header-top__block--favorite js-favorite-top-content">
|
||||
<a
|
||||
class="header-top__link"
|
||||
rel="nofollow"
|
||||
href="{$favoritePageUrl}"
|
||||
>
|
||||
<div class="header-top__icon-container">
|
||||
{capture name="svg_output"}{svg_icon file='heart.svg'}{/capture}
|
||||
{if $smarty.capture.svg_output}
|
||||
{$smarty.capture.svg_output nofilter}
|
||||
{else}
|
||||
<span class="header-top__icon material-icons">favorite</span>
|
||||
{/if}
|
||||
<span class="header-top__badge">
|
||||
{$favoriteProductsCount}
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user