Make product cards fully clickable
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
{% for item in home_products %}
|
||||
{% url 'detail' item.category.slug item.slug as item_url %}
|
||||
<article class="product product-{{ forloop.counter }}">
|
||||
<a class="product-card-link" href="{{ item_url }}" aria-label="Открыть товар {{ item.name }}" tabindex="-1" aria-hidden="true"></a>
|
||||
<a class="product-media" href="{{ item_url }}" aria-label="Открыть товар {{ item.name }}">
|
||||
{% with primary_image=item.primary_image %}
|
||||
{% if primary_image %}
|
||||
|
||||
Reference in New Issue
Block a user