From ca466937e6af9755c28f9d2492a91d91252c3fed Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 5 Jul 2023 17:43:49 +0300 Subject: [PATCH] feat: horizontal categories --- .../components/product-card/product-card.html | 69 ++++++------------- 1 file changed, 21 insertions(+), 48 deletions(-) diff --git a/static/components/product-card/product-card.html b/static/components/product-card/product-card.html index c56c4a1..d85ff31 100644 --- a/static/components/product-card/product-card.html +++ b/static/components/product-card/product-card.html @@ -1,30 +1,15 @@ + alt="Product Image" loading="lazy" spinner-color="white" fit="contain" height="300px"> - Add to cart + " @click="$emit('add-to-cart', product)"> Add to cart
{{ product.name }}
@@ -36,27 +21,26 @@
{{ product.stallName }}
- {{ product.price }} satsBTC {{ (product.price / 1e8).toFixed(8) }} + {{ product.price }} satsBTC {{ (product.price / + 1e8).toFixed(8) }} {{ product.formatedPrice }} - {{ product.quantity }} left + {{ product.quantity }} left
- {{cat}} + + +
-
+
+   +
+ +

{{ product.description }}

@@ -67,25 +51,14 @@ Stall: {{ product.stallName }} {{ $parent.activeStall }}
- + View details - + Visit Stall
- + \ No newline at end of file