diff --git a/resources/js/pages/cards/FreeCardResult.vue b/resources/js/pages/cards/FreeCardResult.vue index 79f3605..2304664 100644 --- a/resources/js/pages/cards/FreeCardResult.vue +++ b/resources/js/pages/cards/FreeCardResult.vue @@ -30,9 +30,9 @@

{{ card.name }}

-

- Orientation: {{ card.orientation === 'reversed' ? 'Inversée' : 'Droite' }} -

+
+
+
@@ -49,29 +49,30 @@

Description

-

- {{ card.description }} -

+ +
- -

- {{ card.orientation === 'reversed' ? card.description_reversed : card.description_upright }} -

+ +
- -

- {{ card.orientation === 'reversed' ? card.description_upright : card.description_reversed }} -

+ +
@@ -83,16 +84,6 @@ - - - @@ -136,15 +127,6 @@ const cardId = params.get('id'); const hasCard = computed(() => card.value !== null); -// Helper function to format dates -const formatDate = (dateString: string) => { - return new Date(dateString).toLocaleDateString('fr-FR', { - year: 'numeric', - month: 'long', - day: 'numeric', - }); -}; - onMounted(async () => { try { const response = await axios.get(`/api/get-card/${cardId}`);