๐Ÿ“ฆ vuetifyjs / crypto-theme

๐Ÿ“„ Market.vue ยท 59 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59<template>
  <v-container
    id="roadmap"
    class="hidden-sm-and-down"
    tag="section"
    fluid
  >
    <Subheading
      class="mb-12"
      subtitle="How CRYPTO Coin is doing"
      title="Market Data"
    />

    <v-container>
      <v-row class="pt-12">
        <v-col
          cols="12"
          md="6"
        >
          <InfoCard
            :stats="stats"
            color="#FA6F9E"
            theme="dark"
            title="Blockchain Data"
            width="100%"
          />
        </v-col>
        <v-col
          cols="12"
          md="6"
        >
          <InfoCard
            :stats="stats2"
            color="secondary"
            theme="dark"
            title="Price Statistics"
            width="100%"
          />
        </v-col>
      </v-row>
    </v-container>
  </v-container>
</template>

<script setup lang="ts">
  const stats = ref([
    { title: '797,054,934', subtitle: 'Total Supply' },
    { title: '2,945,066', subtitle: 'EQL Burnt' },
    { title: '48,385', subtitle: 'Transactions' },
    { title: '18', subtitle: 'Decimals' },
  ])
  const stats2 = ref([
    { title: '$0.0018', subtitle: 'USD Price' },
    { title: '$582,457', subtitle: 'Market Cap' },
    { title: '$546', subtitle: '24H Volume' },
    { title: '6.27%', subtitle: '24H Change' },
  ])
</script>