From bb6aec44e53fafef4ea7d8b3a18c70f95c2b906f Mon Sep 17 00:00:00 2001 From: khatabwedaa Date: Sun, 10 May 2020 13:11:00 +0200 Subject: [PATCH] Rename @harsh07bharvada CARD and edit some classes --- src/Models/data.js | 2 +- src/components/Master.vue | 4 +-- .../UI/Cards/ProductCardWithPrice.vue | 29 ------------------- src/components/UI/Cards/SimpleProductCard.vue | 26 +++++++++++++++++ 4 files changed, 29 insertions(+), 32 deletions(-) delete mode 100644 src/components/UI/Cards/ProductCardWithPrice.vue create mode 100644 src/components/UI/Cards/SimpleProductCard.vue diff --git a/src/Models/data.js b/src/Models/data.js index cc3f051..dba0f03 100644 --- a/src/Models/data.js +++ b/src/Models/data.js @@ -15,8 +15,8 @@ export default [ components: [ { name: 'Article card' }, { name: 'Article card with image' }, + { name: 'Simple product card' }, { name: 'Product card' }, - { name: 'Product card with price' }, { name: 'Product card with evaluation' }, { name: 'Testimonial card' }, { name: 'User card' }, diff --git a/src/components/Master.vue b/src/components/Master.vue index c83917e..06c7bf9 100644 --- a/src/components/Master.vue +++ b/src/components/Master.vue @@ -51,8 +51,8 @@ // Cards import ArticleCard from "./UI/Cards/ArticleCard"; import ArticleCardWithImage from "./UI/Cards/ArticleCardWithImage"; + import SimpleProductCard from "./UI/Cards/SimpleProductCard"; import ProductCard from "./UI/Cards/ProductCard"; - import ProductCardWithPrice from "./UI/Cards/ProductCardWithPrice"; import ProductCardWithEvaluation from "./UI/Cards/ProductCardWithEvaluation"; import TestimonialCard from "./UI/Cards/TestimonialCard"; import UserCard from "./UI/Cards/UserCard"; @@ -90,8 +90,8 @@ ArticleCard, ArticleCardWithImage, + SimpleProductCard, ProductCard, - ProductCardWithPrice, ProductCardWithEvaluation, TestimonialCard, UserCard, diff --git a/src/components/UI/Cards/ProductCardWithPrice.vue b/src/components/UI/Cards/ProductCardWithPrice.vue deleted file mode 100644 index bb08867..0000000 --- a/src/components/UI/Cards/ProductCardWithPrice.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/src/components/UI/Cards/SimpleProductCard.vue b/src/components/UI/Cards/SimpleProductCard.vue new file mode 100644 index 0000000..f6a822a --- /dev/null +++ b/src/components/UI/Cards/SimpleProductCard.vue @@ -0,0 +1,26 @@ + + +