From 1a13008ae568dc577ee8867144e4ad1e4072b0d8 Mon Sep 17 00:00:00 2001 From: tlahmann Date: Mon, 6 Apr 2020 12:28:57 +0200 Subject: [PATCH 1/8] Design changes lighten it up a bit --- src/App.vue | 17 +++++++---------- src/components/Header.vue | 1 + src/components/product/ProductDetails.vue | 3 ++- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/App.vue b/src/App.vue index 23b02e9..566fa25 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,7 +21,7 @@ export default { From e9fbcf5282edb7ee6ce7b07e5ae49b80370db7da Mon Sep 17 00:00:00 2001 From: tlahmann Date: Tue, 14 Apr 2020 22:22:00 +0200 Subject: [PATCH 5/8] Remove superfluous log message --- src/store/productStore.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/store/productStore.ts b/src/store/productStore.ts index bdd208b..6645f14 100644 --- a/src/store/productStore.ts +++ b/src/store/productStore.ts @@ -56,7 +56,6 @@ export class ProductStore { async fetchAllProducts() { const productsResponse: AxiosResponse = await ProductService.getAllProducts(); const { products: apiProducts } = productsResponse.data; - console.log(apiProducts); let products: TProducts = []; for (const product of apiProducts) { products.push({ From 522fb8c75d8da2fc09a0391f15999a9d823c9a99 Mon Sep 17 00:00:00 2001 From: tlahmann Date: Tue, 14 Apr 2020 23:12:24 +0200 Subject: [PATCH 6/8] Add box shadow to map view --- src/components/MapView.vue | 2 ++ src/components/product/Product.vue | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/MapView.vue b/src/components/MapView.vue index 827e6a8..2c0fc53 100644 --- a/src/components/MapView.vue +++ b/src/components/MapView.vue @@ -106,5 +106,7 @@ export default { margin-right: 20px; margin-left: auto; border-radius: 5px; + border: 1px solid #c6e2e6; + box-shadow: 2px 4px 6px 1px rgba(0, 0, 0, 0.2); } diff --git a/src/components/product/Product.vue b/src/components/product/Product.vue index 18bace5..151b4f0 100644 --- a/src/components/product/Product.vue +++ b/src/components/product/Product.vue @@ -45,7 +45,6 @@ export default { background-color: #c6e2e6; border: 1px solid #c6e2e6; border-radius: 5px; - border: 1px solid lightgray; box-shadow: 2px 4px 6px 1px rgba(0, 0, 0, 0.2); } .details .product-image { From 4e9049c23d0630b030d88eb79181f264f194c2a2 Mon Sep 17 00:00:00 2001 From: tlahmann Date: Wed, 15 Apr 2020 00:07:44 +0200 Subject: [PATCH 7/8] Add Vuetify plugin and market expasion panels --- package.json | 7 +- public/index.html | 2 + src/components/Header.vue | 4 +- src/components/HelloWorld.vue | 57 ------------ src/components/market/Market.vue | 40 ++++----- src/main.ts | 2 + src/plugins/vuetify.ts | 7 ++ src/views/Markets.vue | 7 +- tsconfig.json | 2 +- vue.config.js | 5 +- yarn.lock | 145 +++++++++++++++++++++++++++++-- 11 files changed, 181 insertions(+), 97 deletions(-) delete mode 100644 src/components/HelloWorld.vue create mode 100644 src/plugins/vuetify.ts diff --git a/package.json b/package.json index 7b89e89..ad54801 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "vue-resource": "^1.5.1", "vue-router": "^3.1.5", "vue2-leaflet": "^2.5.2", + "vuetify": "^2.2.11", "vuex": "^3.1.2", "vuex-simple": "^2.2.0" }, @@ -40,10 +41,14 @@ "babel-eslint": "^10.0.3", "eslint": "^6.7.2", "eslint-plugin-vue": "^6.1.2", + "sass": "^1.19.0", + "sass-loader": "^8.0.0", "typescript": "~3.7.5", "vue-axios": "^2.1.5", "vue-cli-plugin-i18n": "~0.6.1", - "vue-template-compiler": "^2.6.11" + "vue-cli-plugin-vuetify": "^2.0.5", + "vue-template-compiler": "^2.6.11", + "vuetify-loader": "^1.3.0" }, "eslintConfig": { "root": true, diff --git a/public/index.html b/public/index.html index 9932398..16ade6a 100644 --- a/public/index.html +++ b/public/index.html @@ -7,6 +7,8 @@ <%= htmlWebpackPlugin.options.title %> + +