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