From 2ff9f164fe9437a68fa1a835ab1d9d1297e17fc2 Mon Sep 17 00:00:00 2001 From: Claudio Maggioni Date: Mon, 15 May 2023 11:12:43 +0200 Subject: [PATCH] Added stub configurable metrics to home --- stockingly-frontend/package.json | 2 +- stockingly-frontend/src/views/Home.vue | 48 ++++++++++++++++++++++++-- stockingly-frontend/yarn.lock | 8 ++--- 3 files changed, 50 insertions(+), 8 deletions(-) diff --git a/stockingly-frontend/package.json b/stockingly-frontend/package.json index 4aae167..2c16fdc 100644 --- a/stockingly-frontend/package.json +++ b/stockingly-frontend/package.json @@ -9,7 +9,7 @@ "lint": "eslint . --fix --ignore-path .gitignore" }, "dependencies": { - "@mdi/font": "7.0.96", + "@mdi/font": "^7.2.96", "core-js": "^3.29.0", "roboto-fontface": "*", "vue": "^3.2.0", diff --git a/stockingly-frontend/src/views/Home.vue b/stockingly-frontend/src/views/Home.vue index 1ac6d2a..6f9bff1 100644 --- a/stockingly-frontend/src/views/Home.vue +++ b/stockingly-frontend/src/views/Home.vue @@ -15,7 +15,16 @@ - {{ company.description }} +

+ {{ company.description }} +

+
+
+ {{ m.title }} + {{ m.value }}{{ m.symbol ?? '' }} +
+ +
@@ -28,7 +37,7 @@ {{ formatCurrency(company['market cap']) }}
@@ -40,11 +49,44 @@