From 58c7f82c2cbf2f2ff3f5c2dd559e570924a41a4a Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 17 Nov 2020 08:30:38 -0500 Subject: Basic product detail without duplicating modals for each card. --- iridescence/src/components/ProductCard.vue | 24 ++++---------- iridescence/src/components/ProductDetail.vue | 49 ++++++++++++++++------------ iridescence/src/store/index.js | 9 ++++- iridescence/src/views/Home.vue | 3 ++ 4 files changed, 47 insertions(+), 38 deletions(-) diff --git a/iridescence/src/components/ProductCard.vue b/iridescence/src/components/ProductCard.vue index 67fbfbd..f796f92 100644 --- a/iridescence/src/components/ProductCard.vue +++ b/iridescence/src/components/ProductCard.vue @@ -3,7 +3,7 @@
- +
@@ -11,7 +11,7 @@

- + {{ name }}

@@ -26,27 +26,12 @@
-
diff --git a/iridescence/src/components/ProductDetail.vue b/iridescence/src/components/ProductDetail.vue index 6725595..9802d84 100644 --- a/iridescence/src/components/ProductDetail.vue +++ b/iridescence/src/components/ProductDetail.vue @@ -1,13 +1,17 @@ @@ -37,31 +41,36 @@