diff --git a/apps/infoalloggi/src/components/annunci_grid.tsx b/apps/infoalloggi/src/components/annunci_grid.tsx index 825445a..65914aa 100644 --- a/apps/infoalloggi/src/components/annunci_grid.tsx +++ b/apps/infoalloggi/src/components/annunci_grid.tsx @@ -27,6 +27,7 @@ export const AnnunciGrid = ({ pagedata }: { pagedata: AnnuncioRicerca[] }) => { titolo_en: annuncio.titolo_en, titolo_it: annuncio.titolo_it, })} + videos={annuncio.url_video || undefined} /> ))} diff --git a/apps/infoalloggi/src/components/annuncio_card.tsx b/apps/infoalloggi/src/components/annuncio_card.tsx index db7a4f4..b20c346 100644 --- a/apps/infoalloggi/src/components/annuncio_card.tsx +++ b/apps/infoalloggi/src/components/annuncio_card.tsx @@ -36,6 +36,7 @@ type CardAnnuncioProps = { tipo: string | null; stato: string | null; className?: string; + videos?: string[] | undefined; }; export const CardAnnuncio = ({ @@ -52,13 +53,14 @@ export const CardAnnuncio = ({ tipo, stato, className, + videos, }: CardAnnuncioProps) => { const { t } = useTranslation(); return (