chore: cleanup
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<article>
|
||||
<div
|
||||
class="card">
|
||||
<div class="h-56 w-full">
|
||||
<div class="h-56 w-full bg-gray-200 dark:bg-gray-950">
|
||||
<a href="{% url 'web:product_detail' pk=product.pk slug=product.slug %}">
|
||||
<img class="mx-auto h-full dark:hidden" src="{{ product.images.all.0.m.url }}"
|
||||
alt="{{ product.name }}"/>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<button
|
||||
onclick="switchTheme()"
|
||||
id="theme-toggle"
|
||||
type="button"
|
||||
aria-label="switchtheme"
|
||||
class="icon-button">
|
||||
{% include 'components/icons/moon.svg' %}
|
||||
{% include 'components/icons/sun.svg' %}
|
||||
</button>
|
||||
Reference in New Issue
Block a user