Create a real estate agency website with property search filters (location, price, bedrooms), featured listings grid with images, virtual tour options, mortgage calculator, agent profiles, neighborhood guides, and contact form.
115e309 verified | <html lang="en" class="dark"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Stone & Key Realty | Luxury Property Specialists</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script> | |
| tailwind.config = { | |
| darkMode: 'class', | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| DEFAULT: '#78716c', | |
| 500: '#78716c', | |
| }, | |
| secondary: { | |
| DEFAULT: '#6366f1', | |
| 500: '#6366f1', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/property-card.js"></script> | |
| <script src="components/footer.js"></script> | |
| </head> | |
| <body class="bg-stone-900 text-stone-100"> | |
| <custom-navbar></custom-navbar> | |
| <!-- Hero Section --> | |
| <section class="relative h-screen flex items-center justify-center bg-gradient-to-b from-stone-800 to-stone-900 overflow-hidden"> | |
| <div class="absolute inset-0 z-0"> | |
| <img src="http://static.photos/estate/1200x630/101" alt="Luxury Home" class="w-full h-full object-cover opacity-30"> | |
| </div> | |
| <div class="relative z-10 text-center px-4 max-w-4xl mx-auto"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6 text-stone-100">Find Your Dream Home</h1> | |
| <p class="text-xl md:text-2xl mb-8 text-stone-300">Discover premium properties in the most desirable neighborhoods</p> | |
| <a href="#search" class="bg-indigo-600 hover:bg-indigo-700 text-white px-8 py-4 rounded-lg text-lg font-medium transition duration-300 inline-block">Start Exploring</a> | |
| </div> | |
| </section> | |
| <!-- Property Search --> | |
| <section id="search" class="py-16 px-4 bg-stone-800"> | |
| <div class="max-w-6xl mx-auto"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Property Search</h2> | |
| <div class="bg-stone-700 rounded-xl p-6 shadow-xl"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-4"> | |
| <div> | |
| <label class="block text-stone-300 mb-2">Location</label> | |
| <select class="w-full bg-stone-600 border border-stone-500 rounded-lg px-4 py-2 text-stone-200"> | |
| <option>Any Location</option> | |
| <option>Downtown</option> | |
| <option>Waterfront</option> | |
| <option>Suburbs</option> | |
| <option>Countryside</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-stone-300 mb-2">Price Range</label> | |
| <select class="w-full bg-stone-600 border border-stone-500 rounded-lg px-4 py-2 text-stone-200"> | |
| <option>Any Price</option> | |
| <option>$150K - $300K</option> | |
| <option>$300K - $500K</option> | |
| <option>$500K - $1M</option> | |
| <option>$1M+</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-stone-300 mb-2">Bedrooms</label> | |
| <select class="w-full bg-stone-600 border border-stone-500 rounded-lg px-4 py-2 text-stone-200"> | |
| <option>Any</option> | |
| <option>1+</option> | |
| <option>2+</option> | |
| <option>3+</option> | |
| <option>4+</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-stone-300 mb-2"> </label> | |
| <button class="w-full bg-indigo-600 hover:bg-indigo-700 text-white rounded-lg px-4 py-3 transition duration-300"> | |
| <i data-feather="search" class="inline mr-2"></i> Search | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Listings --> | |
| <section class="py-16 px-4"> | |
| <div class="max-w-6xl mx-auto"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Featured Properties</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <custom-property-card | |
| image="http://static.photos/estate/640x360/1" | |
| price="$750,000" | |
| title="Modern Downtown Loft" | |
| address="123 Urban Avenue" | |
| beds="2" | |
| baths="2" | |
| sqft="1500" | |
| vr="true"> | |
| </custom-property-card> | |
| <custom-property-card | |
| image="http://static.photos/estate/640x360/2" | |
| price="$1,250,000" | |
| title="Waterfront Villa" | |
| address="456 Harbor Way" | |
| beds="4" | |
| baths="3.5" | |
| sqft="3200" | |
| vr="true"> | |
| </custom-property-card> | |
| <custom-property-card | |
| image="http://static.photos/estate/640x360/3" | |
| price="$525,000" | |
| title="Cozy Suburban Home" | |
| address="789 Maple Street" | |
| beds="3" | |
| baths="2" | |
| sqft="2100" | |
| vr="false"> | |
| </custom-property-card> | |
| </div> | |
| <div class="text-center mt-12"> | |
| <a href="listings.html" class="inline-block bg-stone-700 hover:bg-stone-600 text-white px-6 py-3 rounded-lg transition duration-300"> | |
| View All Properties | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Mortgage Calculator --> | |
| <section class="py-16 px-4 bg-stone-800"> | |
| <div class="max-w-4xl mx-auto"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Mortgage Calculator</h2> | |
| <div class="bg-stone-700 rounded-xl p-8 shadow-xl"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <div> | |
| <div class="mb-4"> | |
| <label class="block text-stone-300 mb-2">Home Price ($)</label> | |
| <input type="number" class="w-full bg-stone-600 border border-stone-500 rounded-lg px-4 py-2 text-stone-200" placeholder="500,000"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-stone-300 mb-2">Down Payment ($)</label> | |
| <input type="number" class="w-full bg-stone-600 border border-stone-500 rounded-lg px-4 py-2 text-stone-200" placeholder="100,000"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-stone-300 mb-2">Loan Term (Years)</label> | |
| <select class="w-full bg-stone-600 border border-stone-500 rounded-lg px-4 py-2 text-stone-200"> | |
| <option>30</option> | |
| <option>20</option> | |
| <option>15</option> | |
| <option>10</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="mb-4"> | |
| <label class="block text-stone-300 mb-2">Interest Rate (%)</label> | |
| <input type="number" class="w-full bg-stone-600 border border-stone-500 rounded-lg px-4 py-2 text-stone-200" placeholder="4.5"> | |
| </div> | |
| <div class="bg-stone-600 rounded-lg p-4"> | |
| <h4 class="text-lg font-semibold mb-2 text-indigo-300">Estimated Payment</h4> | |
| <p class="text-4xl font-bold text-indigo-200 mb-2">$2,200</p> | |
| <p class="text-stone-400">per month</p> | |
| </div> | |
| <button class="w-full mt-4 bg-indigo- | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |