first commit
@@ -371,7 +371,7 @@
|
||||
class="bg-white rounded-xl shadow-md relative flex flex-col md:flex-row"
|
||||
>
|
||||
<img
|
||||
src="images/properties/e1.jpg"
|
||||
src="/images/properties/e1.jpg"
|
||||
alt=""
|
||||
class="w-full h-auto rounded-t-xl md:rounded-tr-none md:rounded-l-xl md:w-2/5"
|
||||
/>
|
||||
@@ -437,7 +437,7 @@
|
||||
<!-- Listing 1 -->
|
||||
<div class="bg-white rounded-xl shadow-md relative">
|
||||
<img
|
||||
src="images/properties/a1.jpg"
|
||||
src="/images/properties/images[0]"
|
||||
alt=""
|
||||
class="w-full h-auto rounded-t-xl"
|
||||
/>
|
||||
|
||||
@@ -245,7 +245,7 @@
|
||||
<a href="/property.html">
|
||||
<img
|
||||
class="h-32 w-full rounded-md object-cover"
|
||||
src="/images/properties/a1.jpg"
|
||||
src="/images/properties/images[0]"
|
||||
alt="Property 1"
|
||||
/>
|
||||
</a>
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
<!-- Listing 1 -->
|
||||
<div class="rounded-xl shadow-md relative">
|
||||
<img
|
||||
src="images/properties/a1.jpg"
|
||||
src="/images/properties/images[0]"
|
||||
alt=""
|
||||
class="w-full h-auto rounded-t-xl"
|
||||
/>
|
||||
@@ -498,7 +498,7 @@
|
||||
<!-- Listing 5 -->
|
||||
<div class="rounded-xl shadow-md relative">
|
||||
<img
|
||||
src="images/properties/e1.jpg"
|
||||
src="/images/properties/e1.jpg"
|
||||
alt=""
|
||||
class="w-full h-auto rounded-t-xl"
|
||||
/>
|
||||
|
||||
@@ -270,7 +270,7 @@
|
||||
<div class="container-xl m-auto">
|
||||
<div class="grid grid-cols-1">
|
||||
<img
|
||||
src="images/properties/a1.jpg"
|
||||
src="/images/properties/images[0]"
|
||||
alt=""
|
||||
class="object-cover h-[400px] w-full"
|
||||
width="1800"
|
||||
@@ -526,7 +526,7 @@
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<div class="col-span-2">
|
||||
<img
|
||||
src="./images/properties/a1.jpg"
|
||||
src="/images/properties/images[0]"
|
||||
alt=""
|
||||
class="object-cover h-[400px] w-full rounded-xl cursor-pointer"
|
||||
/>
|
||||
|
||||
@@ -228,7 +228,7 @@
|
||||
<i class="fas fa-trash text-red-600"></i>
|
||||
</button>
|
||||
<img
|
||||
src="images/properties/a1.jpg"
|
||||
src="/images/properties/images[0]"
|
||||
alt=""
|
||||
class="object-cover rounded-t-xl"
|
||||
/>
|
||||
@@ -292,7 +292,7 @@
|
||||
<i class="fas fa-trash text-red-600"></i>
|
||||
</button>
|
||||
<img
|
||||
src="images/properties/b1.jpg"
|
||||
src="/images/properties/images[0]"
|
||||
alt=""
|
||||
class="object-cover rounded-t-xl"
|
||||
/>
|
||||
|
||||
@@ -25,7 +25,8 @@ const PropertyPage = async ({ params }) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<PropertyHeaderImage image={property.images[0]} />
|
||||
<PropertyHeaderImage image="/images/properties/images[0]"
|
||||
/>
|
||||
<section>
|
||||
<div className='container m-auto py-6 px-6'>
|
||||
<Link
|
||||
@@ -50,7 +51,8 @@ const PropertyPage = async ({ params }) => {
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<PropertyImages images={property.images} />
|
||||
<PropertyImages images="/images/properties/images[0]"
|
||||
/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 178 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 142 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 163 KiB |
|
After Width: | Height: | Size: 192 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 260 KiB |
|
After Width: | Height: | Size: 188 KiB |
|
After Width: | Height: | Size: 231 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 96 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 360 KiB |
|
After Width: | Height: | Size: 140 KiB |
|
After Width: | Height: | Size: 114 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 260 KiB |
|
After Width: | Height: | Size: 185 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 216 KiB |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 215 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 124 KiB |
@@ -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}
|
||||
|
||||
@@ -1357,6 +1357,7 @@
|
||||
"resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-3.5.1.tgz",
|
||||
"integrity": "sha512-sf4N18vl5FHS8lPRWZjTZShgIziDqSxan3MazHClvYYXezsAPn6hApRvAS2HEMTq7MXzRcvvt4sYgQWLubwnBw==",
|
||||
"license": "SEE LICENSE IN LICENSE.txt",
|
||||
"peer": true,
|
||||
"workspaces": [
|
||||
"src/style-spec"
|
||||
],
|
||||
@@ -1887,6 +1888,7 @@
|
||||
"resolved": "https://registry.npmjs.org/photoswipe/-/photoswipe-5.4.4.tgz",
|
||||
"integrity": "sha512-WNFHoKrkZNnvFFhbHL93WDkW3ifwVOXSW3w1UuZZelSmgXpIGiZSNlZJq37rR8YejqME2rHs9EhH9ZvlvFH2NA==",
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">= 0.12.0"
|
||||
}
|
||||
@@ -1950,6 +1952,7 @@
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"nanoid": "^3.3.7",
|
||||
"picocolors": "^1.0.1",
|
||||
@@ -2098,6 +2101,7 @@
|
||||
"resolved": "https://registry.npmjs.org/preact/-/preact-10.22.1.tgz",
|
||||
"integrity": "sha512-jRYbDDgMpIb5LHq3hkI0bbl+l/TQ9UnkdQ0ww+lp+4MMOdqaUYdFc5qeyP+IV8FAd/2Em7drVPeKdQxsiWCf/A==",
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/preact"
|
||||
@@ -2191,6 +2195,7 @@
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
|
||||
"integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"loose-envify": "^1.1.0"
|
||||
},
|
||||
@@ -2203,6 +2208,7 @@
|
||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
|
||||
"integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"loose-envify": "^1.1.0",
|
||||
"scheduler": "^0.23.2"
|
||||
@@ -2230,8 +2236,7 @@
|
||||
"version": "16.13.1",
|
||||
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
|
||||
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
|
||||
"license": "MIT",
|
||||
"peer": true
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/react-map-gl": {
|
||||
"version": "7.1.7",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"email": "john@gmail.com",
|
||||
"phone": "617-555-5555"
|
||||
},
|
||||
"images": ["a1.jpg", "a2.jpg", "a3.jpg"],
|
||||
"images": ["a4.jpg", "a2.jpg", "a3.jpg"],
|
||||
"is_featured": false,
|
||||
"createdAt": "2024-01-01T00:00:00.000Z",
|
||||
"updatedAt": "2024-01-01T00:00:00.000Z"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"email": "john@gmail.com",
|
||||
"phone": "617-555-5555"
|
||||
},
|
||||
"images": ["a1.jpg", "a2.jpg", "a3.jpg"],
|
||||
"images": ["a4.jpg", "a2.jpg", "a3.jpg"],
|
||||
"is_featured": false,
|
||||
"createdAt": "2024-01-01T00:00:00.000Z",
|
||||
"updatedAt": "2024-01-01T00:00:00.000Z"
|
||||
|
||||
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 178 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 142 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 163 KiB |
|
After Width: | Height: | Size: 192 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 260 KiB |
|
After Width: | Height: | Size: 188 KiB |
|
After Width: | Height: | Size: 231 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 96 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 360 KiB |
|
After Width: | Height: | Size: 140 KiB |
|
After Width: | Height: | Size: 114 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 260 KiB |
|
After Width: | Height: | Size: 185 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 216 KiB |
|
After Width: | Height: | Size: 149 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 215 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 124 KiB |