patx/miadruck

Connect property listings to gallery editor

Commit e953b55 · patx · 2026-08-27T19:42:41-04:00

Changeset
e953b55eeb8d78fc8f4490d4e430f85d7427eb1b
Parents
519feb8cab1258c699f092af00a7606be74f2f99

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/docs/index.html b/docs/index.html
index 4948582..0046479 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -133,6 +133,8 @@
 
     <div class="listing-index">
 
+      <!-- PROPERTIES:LISTINGS:START -->
+
       <!-- LISTING START — copy one block to add a property ------------------ -->
       <article class="listing reveal" id="boca-600-nw-12">
         <div class="listing-media">
@@ -274,6 +276,7 @@
         </div>
       </article>
 
+      <!-- PROPERTIES:LISTINGS:END -->
     </div>
   </div>
 </section>
@@ -290,6 +293,7 @@
     </div>
 
     <div class="sold-grid">
+      <!-- PROPERTIES:SALES:START -->
       <article class="sold reveal">
         <div class="sold-media">
           <img src="/assets/img/sold-581-se-11th-st-pompano-beach-370w.webp"
@@ -332,6 +336,7 @@
         <p class="meta">Lake Worth · 6 bed · 4 bath · 3,728 sq ft · Two story</p>
         <p class="sold-date">Sold December 18, 2023</p>
       </article>
+      <!-- PROPERTIES:SALES:END -->
     </div>
   </div>
 </section>
@@ -791,6 +796,50 @@
       "inLanguage": "en-US",
       "publisher": { "@id": "https://miadruck.com/#agent" }
     },
+    {
+      "@type": "FAQPage",
+      "@id": "https://miadruck.com/#faq",
+      "mainEntity": [
+        {
+          "@type": "Question",
+          "name": "Which areas do you cover?",
+          "acceptedAnswer": { "@type": "Answer", "text": "Primarily Fort Lauderdale, Pompano Beach, Lighthouse Point and Boca Raton, with regular work throughout Broward County and south Palm Beach County — including Lauderdale-by-the-Sea, Deerfield Beach and Lake Worth." }
+        },
+        {
+          "@type": "Question",
+          "name": "Do you work with buyers, sellers, or both?",
+          "acceptedAnswer": { "@type": "Answer", "text": "Both, plus rentals and small investment property. Recent transactions include a single family home with a pool, an investor duplex, and a six-bedroom two-story, alongside seasonal and annual rentals." }
+        },
+        {
+          "@type": "Question",
+          "name": "What does it cost a buyer to work with you?",
+          "acceptedAnswer": { "@type": "Answer", "text": "Buyer representation agreements are signed before touring homes, and compensation is negotiated and written down up front. I will walk you through exactly what I charge, what the seller may or may not contribute, and what it means for your closing costs before you commit." }
+        },
+        {
+          "@type": "Question",
+          "name": "I'm thinking about selling. What's the first step?",
+          "acceptedAnswer": { "@type": "Answer", "text": "A conversation and a walkthrough. I will look at the property, review comparable sales in your immediate area, and give you a realistic price range along with the improvements actually worth making before listing. There is no obligation attached to that first meeting." }
+        },
+        {
+          "@type": "Question",
+          "name": "Do you handle rentals as well as sales?",
+          "acceptedAnswer": { "@type": "Answer", "text": "Yes, both seasonal and annual. Several current listings are rentals, and I work with owners on getting a property rent-ready as well as with tenants trying to find one." }
+        },
+        {
+          "@type": "Question",
+          "name": "How quickly do you respond?",
+          "acceptedAnswer": { "@type": "Answer", "text": "Fast, and it is the single thing clients mention most in reviews. Calling or texting (954) 552-7330 is the quickest route; the contact form reaches me too." }
+        }
+      ]
+    }
+  ]
+}
+</script>
+<!-- PROPERTIES:JSONLD:START -->
+  <script type="application/ld+json" id="property-schema">
+{
+  "@context": "https://schema.org",
+  "@graph": [
     {
       "@type": "SingleFamilyResidence",
       "name": "600 NW 12th Avenue, Boca Raton",
@@ -798,7 +847,11 @@
       "image": "https://miadruck.com/assets/img/listing-600-nw-12th-ave-boca-raton.webp",
       "numberOfBedrooms": 4,
       "numberOfBathroomsTotal": 3,
-      "floorSize": { "@type": "QuantitativeValue", "value": 1857, "unitCode": "FTK" },
+      "floorSize": {
+        "@type": "QuantitativeValue",
+        "value": 1857,
+        "unitCode": "FTK"
+      },
       "address": {
         "@type": "PostalAddress",
         "streetAddress": "600 NW 12th Avenue",
@@ -809,11 +862,13 @@
       },
       "offers": {
         "@type": "Offer",
-        "price": "800000",
         "priceCurrency": "USD",
         "availability": "https://schema.org/InStock",
         "businessFunction": "http://purl.org/goodrelations/v1#Sell",
-        "seller": { "@id": "https://miadruck.com/#agent" }
+        "seller": {
+          "@id": "https://miadruck.com/#agent"
+        },
+        "price": "800000"
       }
     },
     {
@@ -822,8 +877,12 @@
       "url": "https://miadruck.com/?listing=deerfield-868-crystal-lake",
       "image": "https://miadruck.com/assets/img/listing-868-crystal-lake-dr-pompano-beach.webp",
       "numberOfBedrooms": 2,
-      "numberOfBathroomsTotal": 2,
-      "floorSize": { "@type": "QuantitativeValue", "value": 1122, "unitCode": "FTK" },
+      "numberOfBathroomsTotal": 2.1,
+      "floorSize": {
+        "@type": "QuantitativeValue",
+        "value": 1122,
+        "unitCode": "FTK"
+      },
       "address": {
         "@type": "PostalAddress",
         "streetAddress": "868 Crystal Lake Drive",
@@ -834,11 +893,13 @@
       },
       "offers": {
         "@type": "Offer",
-        "price": "390000",
         "priceCurrency": "USD",
         "availability": "https://schema.org/InStock",
         "businessFunction": "http://purl.org/goodrelations/v1#Sell",
-        "seller": { "@id": "https://miadruck.com/#agent" }
+        "seller": {
+          "@id": "https://miadruck.com/#agent"
+        },
+        "price": "390000"
       }
     },
     {
@@ -848,7 +909,11 @@
       "image": "https://miadruck.com/assets/img/listing-1433-ne-27th-st-pompano-beach.webp",
       "numberOfBedrooms": 2,
       "numberOfBathroomsTotal": 1,
-      "floorSize": { "@type": "QuantitativeValue", "value": 816, "unitCode": "FTK" },
+      "floorSize": {
+        "@type": "QuantitativeValue",
+        "value": 816,
+        "unitCode": "FTK"
+      },
       "address": {
         "@type": "PostalAddress",
         "streetAddress": "1433 NE 27th Street",
@@ -862,7 +927,9 @@
         "priceCurrency": "USD",
         "availability": "https://schema.org/InStock",
         "businessFunction": "http://purl.org/goodrelations/v1#LeaseOut",
-        "seller": { "@id": "https://miadruck.com/#agent" },
+        "seller": {
+          "@id": "https://miadruck.com/#agent"
+        },
         "priceSpecification": {
           "@type": "UnitPriceSpecification",
           "price": "3000",
@@ -878,7 +945,11 @@
       "image": "https://miadruck.com/assets/img/listing-2730-ne-29th-ave-lighthouse-point.webp",
       "numberOfBedrooms": 2,
       "numberOfBathroomsTotal": 2,
-      "floorSize": { "@type": "QuantitativeValue", "value": 980, "unitCode": "FTK" },
+      "floorSize": {
+        "@type": "QuantitativeValue",
+        "value": 980,
+        "unitCode": "FTK"
+      },
       "address": {
         "@type": "PostalAddress",
         "streetAddress": "2730 NE 29th Avenue",
@@ -890,9 +961,11 @@
       "offers": {
         "@type": "Offer",
         "priceCurrency": "USD",
-        "availability": "https://schema.org/InStock",
+        "availability": "https://schema.org/OutOfStock",
         "businessFunction": "http://purl.org/goodrelations/v1#LeaseOut",
-        "seller": { "@id": "https://miadruck.com/#agent" },
+        "seller": {
+          "@id": "https://miadruck.com/#agent"
+        },
         "priceSpecification": {
           "@type": "UnitPriceSpecification",
           "price": "2800",
@@ -900,45 +973,10 @@
           "unitCode": "MON"
         }
       }
-    },
-    {
-      "@type": "FAQPage",
-      "@id": "https://miadruck.com/#faq",
-      "mainEntity": [
-        {
-          "@type": "Question",
-          "name": "Which areas do you cover?",
-          "acceptedAnswer": { "@type": "Answer", "text": "Primarily Fort Lauderdale, Pompano Beach, Lighthouse Point and Boca Raton, with regular work throughout Broward County and south Palm Beach County — including Lauderdale-by-the-Sea, Deerfield Beach and Lake Worth." }
-        },
-        {
-          "@type": "Question",
-          "name": "Do you work with buyers, sellers, or both?",
-          "acceptedAnswer": { "@type": "Answer", "text": "Both, plus rentals and small investment property. Recent transactions include a single family home with a pool, an investor duplex, and a six-bedroom two-story, alongside seasonal and annual rentals." }
-        },
-        {
-          "@type": "Question",
-          "name": "What does it cost a buyer to work with you?",
-          "acceptedAnswer": { "@type": "Answer", "text": "Buyer representation agreements are signed before touring homes, and compensation is negotiated and written down up front. I will walk you through exactly what I charge, what the seller may or may not contribute, and what it means for your closing costs before you commit." }
-        },
-        {
-          "@type": "Question",
-          "name": "I'm thinking about selling. What's the first step?",
-          "acceptedAnswer": { "@type": "Answer", "text": "A conversation and a walkthrough. I will look at the property, review comparable sales in your immediate area, and give you a realistic price range along with the improvements actually worth making before listing. There is no obligation attached to that first meeting." }
-        },
-        {
-          "@type": "Question",
-          "name": "Do you handle rentals as well as sales?",
-          "acceptedAnswer": { "@type": "Answer", "text": "Yes, both seasonal and annual. Several current listings are rentals, and I work with owners on getting a property rent-ready as well as with tenants trying to find one." }
-        },
-        {
-          "@type": "Question",
-          "name": "How quickly do you respond?",
-          "acceptedAnswer": { "@type": "Answer", "text": "Fast, and it is the single thing clients mention most in reviews. Calling or texting (954) 552-7330 is the quickest route; the contact form reaches me too." }
-        }
-      ]
     }
   ]
 }
-</script>
+  </script>
+<!-- PROPERTIES:JSONLD:END -->
 </body>
 </html>
diff --git a/docs/properties/properties.json b/docs/properties/properties.json
new file mode 100644
index 0000000..8438dde
--- /dev/null
+++ b/docs/properties/properties.json
@@ -0,0 +1,170 @@
+{
+  "version": 1,
+  "listings": [
+    {
+      "id": "boca-600-nw-12",
+      "status": "for_sale",
+      "price": 800000,
+      "price_period": "one_time",
+      "address": {
+        "street": "600 NW 12th Avenue",
+        "city": "Boca Raton",
+        "state": "FL",
+        "postal_code": "33486"
+      },
+      "bedrooms": 4,
+      "bathrooms": 3,
+      "square_feet": 1857,
+      "property_type": "Single Family",
+      "schema_type": "SingleFamilyResidence",
+      "tags": [
+        "No HOA",
+        "Nearby schools",
+        "Single family"
+      ],
+      "details_url": "https://www.zillow.com/homedetails/600-NW-12th-Ave-Boca-Raton-FL-33486/46704709_zpid/",
+      "image": {
+        "src": "assets/img/listing-600-nw-12th-ave-boca-raton.webp",
+        "thumb": "assets/img/listing-600-nw-12th-ave-boca-raton-560w.webp",
+        "alt": "Single family home at 600 NW 12th Avenue in Boca Raton, Florida"
+      }
+    },
+    {
+      "id": "deerfield-868-crystal-lake",
+      "status": "for_sale",
+      "price": 390000,
+      "price_period": "one_time",
+      "address": {
+        "street": "868 Crystal Lake Drive",
+        "city": "Pompano Beach",
+        "state": "FL",
+        "postal_code": "33064"
+      },
+      "bedrooms": 2,
+      "bathrooms": 2.1,
+      "square_feet": 1122,
+      "property_type": "Townhome",
+      "schema_type": "SingleFamilyResidence",
+      "tags": [
+        "Low HOA",
+        "Recently updated",
+        "Ready to rent"
+      ],
+      "details_url": "https://www.zillow.com/homedetails/868-Crystal-Lake-Dr-Pompano-Beach-FL-33064/42895852_zpid/",
+      "image": {
+        "src": "assets/img/listing-868-crystal-lake-dr-pompano-beach.webp",
+        "thumb": "assets/img/listing-868-crystal-lake-dr-pompano-beach-560w.webp",
+        "alt": "Modern townhome at 868 Crystal Lake Drive in Pompano Beach, Florida"
+      }
+    },
+    {
+      "id": "pno-1433-ne-27",
+      "status": "for_rent",
+      "price": 3000,
+      "price_period": "month",
+      "address": {
+        "street": "1433 NE 27th Street",
+        "city": "Pompano Beach",
+        "state": "FL",
+        "postal_code": "33064"
+      },
+      "bedrooms": 2,
+      "bathrooms": 1,
+      "square_feet": 816,
+      "property_type": "Seasonal",
+      "schema_type": "SingleFamilyResidence",
+      "tags": [
+        "Single family",
+        "Prime area",
+        "Seasonal rental"
+      ],
+      "details_url": "https://www.zillow.com/homedetails/1433-NE-27th-St-Pompano-Beach-FL-33064/42906647_zpid/",
+      "image": {
+        "src": "assets/img/listing-1433-ne-27th-st-pompano-beach.webp",
+        "thumb": "assets/img/listing-1433-ne-27th-st-pompano-beach-560w.webp",
+        "alt": "Cozy single family rental home at 1433 NE 27th Street in Pompano Beach, Florida"
+      }
+    },
+    {
+      "id": "lighthouse-29-ave",
+      "status": "off_market",
+      "price": 2800,
+      "price_period": "month",
+      "address": {
+        "street": "2730 NE 29th Avenue",
+        "city": "Lighthouse Point",
+        "state": "FL",
+        "postal_code": "33064"
+      },
+      "bedrooms": 2,
+      "bathrooms": 2,
+      "square_feet": 980,
+      "property_type": "Cottage",
+      "schema_type": "SingleFamilyResidence",
+      "tags": [
+        "Off market",
+        "Updated",
+        "East of US-1"
+      ],
+      "details_url": null,
+      "image": {
+        "src": "assets/img/listing-2730-ne-29th-ave-lighthouse-point.webp",
+        "thumb": "assets/img/listing-2730-ne-29th-ave-lighthouse-point-440w.webp",
+        "alt": "Beach side cottage at 2730 NE 29th Avenue in Lighthouse Point, Florida"
+      }
+    }
+  ],
+  "sales": [
+    {
+      "id": "sold-581-se-11th-st",
+      "price": 611700,
+      "address": {
+        "street": "581 SE 11th Street",
+        "city": "Pompano Beach",
+        "state": "FL",
+        "postal_code": "33060"
+      },
+      "summary": "3 bed · 2 bath · 1,895 sq ft · Pool",
+      "sold_date": "2025-10-07",
+      "image": {
+        "src": "assets/img/sold-581-se-11th-st-pompano-beach.webp",
+        "thumb": "assets/img/sold-581-se-11th-st-pompano-beach-370w.webp",
+        "alt": "Sold single family home with pool at 581 SE 11th Street, Pompano Beach"
+      }
+    },
+    {
+      "id": "sold-2018-ne-15th-st",
+      "price": 830500,
+      "address": {
+        "street": "2018 NE 15th Street",
+        "city": "Fort Lauderdale",
+        "state": "FL",
+        "postal_code": "33304"
+      },
+      "summary": "Duplex · 2 bed · 2 bath each side",
+      "sold_date": "2025-02-24",
+      "image": {
+        "src": "assets/img/sold-2018-ne-15th-st-fort-lauderdale.webp",
+        "thumb": "assets/img/sold-2018-ne-15th-st-fort-lauderdale.webp",
+        "alt": "Sold investor duplex at 2018 NE 15th Street, Fort Lauderdale"
+      }
+    },
+    {
+      "id": "sold-6862-houlton-circle",
+      "price": 835000,
+      "address": {
+        "street": "6862 Houlton Circle",
+        "city": "Lake Worth",
+        "state": "FL",
+        "postal_code": "33467"
+      },
+      "summary": "6 bed · 4 bath · 3,728 sq ft · Two story",
+      "sold_date": "2023-12-18",
+      "image": {
+        "src": "assets/img/sold-6862-houlton-circle-lake-worth.webp",
+        "thumb": "assets/img/sold-6862-houlton-circle-lake-worth-370w.webp",
+        "alt": "Sold two story home at 6862 Houlton Circle, Lake Worth"
+      }
+    }
+  ]
+}