diff --git a/src/components/CardAboutShelter/CardAboutShelter.tsx b/src/components/CardAboutShelter/CardAboutShelter.tsx index cff1ea22..11556507 100644 --- a/src/components/CardAboutShelter/CardAboutShelter.tsx +++ b/src/components/CardAboutShelter/CardAboutShelter.tsx @@ -5,6 +5,7 @@ import { PawPrint, Landmark, Smartphone, + MapPin, Building, MapPinned, } from 'lucide-react'; @@ -27,6 +28,7 @@ const CardAboutShelter = (props: ICardAboutShelter) => {
Sobre o abrigo
} label={formatAddress} /> + } label={shelter?.location ? 'Localização: ' : 'Localização no mapa indisponível'} value={shelter?.location}/> {Boolean(shelter.city) && ( } label="Cidade:" value={shelter.city} /> )} diff --git a/src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx b/src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx index da5007a2..e0bd2ee2 100644 --- a/src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx +++ b/src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx @@ -21,7 +21,7 @@ const InfoRow = React.forwardRef( target="_blank" className="text-blue-500 break-all cursor-pointer hover:underline" > - {value} + Ver no Google Maps ) : (

{value}