ildar-shaymukhametov_grandnode-refactorings/Grand.Web/Views/Shared/Components/ShoppingCartLinks/Default.cshtml
@model ShoppingCartLinksModel
<div class="d-inline-flex align-items-center w-50 w-lg-auto">
    <ul class="shopping-links">
        @if (Model.WishlistEnabled)
        {
            <li class="nav-item wishlist-container">
                <a class="nav-link" href="@Url.RouteUrl("Wishlist")">
                    <span class="wishlist-label hl-label">
                        <span class="mdi mdi-heart-outline"></span>
                    </span>
                    <span class="wishlist-qty">@T("Wishlist.HeaderQuantity", Model.WishlistItems)</span>
                </a>
            </li>
        }
        @if (Model.ShoppingCartEnabled)
        {
            <li class="nav-item cart-container" id="topcartlink">
                <div class="btn-group dropdown">
                    <a @if (Model.MiniShoppingCartEnabled) { <text> class="nav-link js-offcanvas-trigger" data-offcanvas-trigger="right" href="#right" </text>  } else { <text> class="nav-link" href="@Url.RouteUrl("ShoppingCart")" </text>  }>
                        <span class="cart-label hl-label">
                            <span class="mdi mdi-cart-outline"></span>
                        </span>
                        <span class="cart-qty">@T("ShoppingCart.HeaderQuantity", Model.ShoppingCartItems)</span>
                    </a>
                </div>
            </li>
        }
    </ul>
</div>