From dd80af7a3df15b07122624781611f73d84f59047 Mon Sep 17 00:00:00 2001 From: bush1D3v Date: Mon, 11 Nov 2024 18:31:25 -0300 Subject: [PATCH] bomb commit --- app/components/HomeTable.vue | 33 +++++++++++----- .../Skeletons/components/HomeTable.vue | 8 ++-- app/events/coinMarketCapEventEmitter.ts | 34 ++++++++--------- app/views/BrapiDev/Stocks.vue | 38 +++++++++---------- app/views/Home.vue | 4 +- 5 files changed, 66 insertions(+), 51 deletions(-) diff --git a/app/components/HomeTable.vue b/app/components/HomeTable.vue index e713b5d..45cad14 100644 --- a/app/components/HomeTable.vue +++ b/app/components/HomeTable.vue @@ -26,40 +26,41 @@ const props = defineProps(); {{ props.icon }}

{{ props.tableTitle }}

- See more + + See more
  • -
    +
    -
    {{ data.name }}
    +
    {{ data.name }}
    {{ data.symbol }}
    -
    +
    {{ numberFormatter(data.quote.USD.price) }} {{ numberFormatter(data.quote.USD.volume_change_24h) }}
  • -
    +
    -
    {{ data.name }}
    +
    {{ data.name }}
    {{ data.stock }}
    -
    +
    {{ numberFormatter(data.close) }} {{ numberFormatter(data.change) }}
    @@ -69,7 +70,9 @@ const props = defineProps(); class="w-[82px] h-[47px] rounded-lg" />
    -
    {{ data.headline }}
    +
    + {{ data.headline }} +
    {{ new Date(data.datetime * 1000).toLocaleDateString('en-US', { month: 'short', @@ -83,10 +86,22 @@ const props = defineProps(); diff --git a/app/components/Skeletons/components/HomeTable.vue b/app/components/Skeletons/components/HomeTable.vue index 07b5985..ac2b801 100644 --- a/app/components/Skeletons/components/HomeTable.vue +++ b/app/components/Skeletons/components/HomeTable.vue @@ -7,7 +7,7 @@ const props = defineProps();