From 11b74ed6dce18c9d2b2cfc9b837f8c380c46e1a7 Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Thu, 30 Oct 2025 18:13:59 +0100 Subject: [PATCH] refactor(CardAnnuncio, CarouselAnnuncio): Improve class order for better styling consistency delete(MotivazioneTransitorio): Remove unused component to clean up codebase --- .../src/components/annuncio_card.tsx | 6 +- .../src/forms/MotivazioneTransitorio.tsx | 66 ------------------- 2 files changed, 3 insertions(+), 69 deletions(-) delete mode 100644 apps/infoalloggi/src/forms/MotivazioneTransitorio.tsx diff --git a/apps/infoalloggi/src/components/annuncio_card.tsx b/apps/infoalloggi/src/components/annuncio_card.tsx index 9622f77..b14c43d 100644 --- a/apps/infoalloggi/src/components/annuncio_card.tsx +++ b/apps/infoalloggi/src/components/annuncio_card.tsx @@ -75,7 +75,7 @@ export const CardAnnuncio = ({ //target="_blank" href={`/annuncio/${codice}`} //duration-700 ease-in-out animate-in fade-in > -
+
{stato === "Trattativa" && (
@@ -93,7 +93,7 @@ export const CardAnnuncio = ({ void; - userId: UsersId; -}) => { - const { t } = useTranslation(); - return ( - { - onValueChange(v); - }} - type="single" - value={value} - > - {t.preferenze.motivazioni_mappings.map((option) => ( - - -
- {value === option.id ? ( - - ) : ( - - )} - {option.title} -
-
- -
-

{option.text}

- {option.cta && ( - <> - - -

{option.cta_label}

- - )} -
-
-
- ))} -
- ); -};