From 062dbf74b98461de1c070b3fbe6091ffa51ed375 Mon Sep 17 00:00:00 2001 From: constantlb Date: Mon, 25 Nov 2024 23:40:57 +0100 Subject: [PATCH] :bug: Fix train card UI bugs. --- components/TrainCard.vue | 2 +- components/TrainSegment.vue | 18 +++++++++--------- pages/index.vue | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/TrainCard.vue b/components/TrainCard.vue index 42453ad..251985d 100644 --- a/components/TrainCard.vue +++ b/components/TrainCard.vue @@ -23,7 +23,7 @@
diff --git a/components/TrainSegment.vue b/components/TrainSegment.vue index 775a86a..a4dd0c6 100644 --- a/components/TrainSegment.vue +++ b/components/TrainSegment.vue @@ -13,16 +13,16 @@
{{ formattedTime(train.departureDateTime) }} - ({{ train.trainNo }}) + Train n° {{ train.trainNo }}
-
- {{ train.origin }} +
+ {{ train.origin }}
-
- {{ train.destination }} -
-
+
{{ formattedTime(train.arrivalDateTime) }} TRAIN DE NUIT
+
+ {{ train.destination }} +
@@ -58,7 +58,7 @@ import { defineProps } from 'vue' import trainIcon from 'assets/icons/train.svg?raw' import type { AdaptedTrainData } from '~/types/common' -import { formattedDate, formattedDateWithoutTime, formattedTime } from '~/utils' +import { formattedDateWithoutTime, formattedTime } from '~/utils' type Props = { train: AdaptedTrainData diff --git a/pages/index.vue b/pages/index.vue index afe6aa5..3f3e41a 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -25,7 +25,7 @@ -

+

Utilise notre application pour tirer le meilleur parti de ton abonnement MAX JEUNE. Découvre toutes les destinations accessibles depuis ta ville de départ en quelques clics !