greenleaf-estates / properties.html
afmprod108's picture
сделай многостраничный сайт для агенства по продаже квартир, используй js, стиль минималистичный с преобладанием салатового и белого цветов
43601eb verified
Raw History Blame Contribute Delete
2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Properties | GreenLeaf Estates</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'mint': '#98ff98',
'light-mint': '#ccffcc',
'dark-mint': '#75c075'
}
}
}
}
</script>
</head>
<body class="bg-white">
<custom-navbar></custom-navbar>
<script src="components/navbar.js"></script>
<main class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold text-gray-800">Available Properties</h1>
<div class="flex space-x-2">
<button class="filter-btn active bg-mint-600 text-white px-4 py-2 rounded-lg" data-filter="all">All</button>
<button class="filter-btn bg-gray-200 hover:bg-gray-300 px-4 py-2 rounded-lg" data-filter="apartment">Apartments</button>
<button class="filter-btn bg-gray-200 hover:bg-gray-300 px-4 py-2 rounded-lg" data-filter="penthouse">Penthouses</button>
<button class="filter-btn bg-gray-200 hover:bg-gray-300 px-4 py-2 rounded-lg" data-filter="house">Houses</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 property-container">
<!-- Properties will be loaded from JavaScript -->
</div>
</main>
<custom-footer></custom-footer>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
</body>
</html>