diff --git a/src/components/BarChartStatistics.vue b/src/components/BarChartStatistics.vue new file mode 100644 index 0000000..7058c86 --- /dev/null +++ b/src/components/BarChartStatistics.vue @@ -0,0 +1,99 @@ + + + + + \ No newline at end of file diff --git a/src/components/DoughnutChartStatistics.vue b/src/components/DoughnutChartStatistics.vue new file mode 100644 index 0000000..85fd2fd --- /dev/null +++ b/src/components/DoughnutChartStatistics.vue @@ -0,0 +1,92 @@ + + + + + \ No newline at end of file diff --git a/src/data/loadsType.json b/src/data/loadsType.json new file mode 100644 index 0000000..7b381cd --- /dev/null +++ b/src/data/loadsType.json @@ -0,0 +1,32 @@ +[ + { + "name": "Published", + "status": "Publicado", + "color": "#ffd22b" + }, + { + "name": "Loading", + "status": "Cargando", + "color": "green" + }, + { + "name": "Transit", + "status": "En Transito", + "color": "red" + }, + { + "name": "Downloading", + "status": "Descargando", + "color": "#0F5E21" + }, + { + "name": "Delivered", + "status": "Entregado", + "color": "blue" + }, + { + "name": "Draf", + "status": "Sin publicar", + "color": "#000000" + } +] \ No newline at end of file diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 2fa4287..d43eee8 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,50 +1,14 @@ @@ -97,7 +68,8 @@ width: 100%; display: flex; flex-direction: row; - gap: 1rem + gap: 1rem; + flex-wrap: nowrap; } .total-loads { @@ -119,6 +91,7 @@ .card-dashboard { width: 33%; + min-height: 300px; display: flex; flex-direction: column; }