first commit
This commit is contained in:
@@ -24,7 +24,7 @@ const FeaturedPropertyCard = ({ property }) => {
|
||||
return (
|
||||
<div className='bg-white rounded-xl shadow-md relative flex flex-col md:flex-row'>
|
||||
<Image
|
||||
src={property.images[0]}
|
||||
src="/images/properties/images[0]"
|
||||
alt=''
|
||||
width={0}
|
||||
height={0}
|
||||
|
||||
@@ -33,7 +33,7 @@ const ProfileProperties = ({ properties: initialProperties }) => {
|
||||
<Link href={`/properties/${property._id}`}>
|
||||
<Image
|
||||
className='h-32 w-full rounded-md object-cover'
|
||||
src={property.images[0]}
|
||||
src="/images/properties/images[0]"
|
||||
alt=''
|
||||
width={500}
|
||||
height={100}
|
||||
|
||||
@@ -23,7 +23,7 @@ const PropertyCard = ({ property }) => {
|
||||
return (
|
||||
<div className='rounded-xl shadow-md relative'>
|
||||
<Image
|
||||
src={property.images[0]}
|
||||
src={property.images}
|
||||
alt=''
|
||||
height={0}
|
||||
width={0}
|
||||
|
||||
Reference in New Issue
Block a user