Spaces:
Running
Running

Разработай концепцию и структуру сайта для риелтора со следующими функциями: Личный кабинет с авторизацией Возможность входа для риелтора (логин/пароль или через соцсети). Админ-панель для управления объектами (дома, квартиры, участки). Добавление и редактирование объектов недвижимости Форма с полями: тип объекта, адрес, площадь, цена, описание, фото, видео. Интеграция с Яндекс.Картами для отметки местоположения (выбор точки на карте или автоматическое определение по адресу). Контакты для связи Указание WhatsApp и Telegram для связи с риелтором. В будущем — возможность редактировать эти контакты из личного кабинета. Мультимедийный контент Загрузка фото и видео (например, обзорные ролики, 3D-туры). Галерея для каждого объекта. Публичная часть сайта Лендинг с каталогом объектов (фильтры по типу, цене, локации). Карточка объекта с деталями, картой, контактами и кнопкой связи. Дополнительно (по желанию) Чат между клиентом и риелтором прямо на сайте. Уведомления о новых заявках в Telegram/WhatsApp. Технические требования: Адаптивный дизайн (под ПК и мобильные). Простое и интуитивное управление для риелтора. Возможность масштабирования функционала в будущем. Предложи оптимальный стек технологий (например, Frontend: React/Vue, Backend: Node.js/Python + база данных), а также примерную структуру БД для хранения объектов. - Initial Deployment
8e6c929
verified
<html lang="ru"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>RealEstate Pro - Умная платформа для риелторов</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
.property-card:hover .property-image { | |
transform: scale(1.05); | |
transition: transform 0.3s ease; | |
} | |
.property-image { | |
transition: transform 0.3s ease; | |
} | |
.gradient-bg { | |
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); | |
} | |
.sidebar { | |
transition: all 0.3s ease; | |
} | |
.map-container { | |
height: 300px; | |
width: 100%; | |
} | |
.gallery-thumbnail { | |
transition: all 0.2s ease; | |
} | |
.gallery-thumbnail:hover { | |
transform: scale(1.05); | |
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
} | |
.chat-message { | |
max-width: 70%; | |
} | |
@media (max-width: 768px) { | |
.sidebar { | |
position: fixed; | |
left: -100%; | |
top: 0; | |
z-index: 50; | |
height: 100vh; | |
} | |
.sidebar.active { | |
left: 0; | |
} | |
.map-container { | |
height: 200px; | |
} | |
} | |
</style> | |
</head> | |
<body class="bg-gray-50 font-sans"> | |
<!-- Шапка сайта --> | |
<header class="gradient-bg text-white shadow-lg"> | |
<div class="container mx-auto px-4 py-4 flex justify-between items-center"> | |
<div class="flex items-center space-x-2"> | |
<i class="fas fa-home text-2xl"></i> | |
<h1 class="text-2xl font-bold">RealEstate Pro</h1> | |
</div> | |
<div class="hidden md:flex space-x-6"> | |
<a href="#properties" class="hover:text-gray-200 transition">Объекты</a> | |
<a href="#about" class="hover:text-gray-200 transition">О нас</a> | |
<a href="#contacts" class="hover:text-gray-200 transition">Контакты</a> | |
</div> | |
<div class="flex items-center space-x-4"> | |
<button id="loginBtn" class="bg-white text-indigo-600 px-4 py-2 rounded-lg font-medium hover:bg-gray-100 transition"> | |
Вход для риелторов | |
</button> | |
<button id="mobileMenuBtn" class="md:hidden text-white"> | |
<i class="fas fa-bars text-2xl"></i> | |
</button> | |
</div> | |
</div> | |
</header> | |
<!-- Мобильное меню --> | |
<div id="mobileMenu" class="fixed inset-0 bg-black bg-opacity-50 z-40 hidden"> | |
<div class="absolute right-0 top-0 h-full w-64 bg-white shadow-lg p-4"> | |
<div class="flex justify-between items-center mb-6"> | |
<h2 class="text-xl font-bold text-gray-800">Меню</h2> | |
<button id="closeMobileMenu" class="text-gray-500"> | |
<i class="fas fa-times text-2xl"></i> | |
</button> | |
</div> | |
<nav class="flex flex-col space-y-4"> | |
<a href="#properties" class="text-gray-700 hover:text-indigo-600 transition">Объекты</a> | |
<a href="#about" class="text-gray-700 hover:text-indigo-600 transition">О нас</a> | |
<a href="#contacts" class="text-gray-700 hover:text-indigo-600 transition">Контакты</a> | |
<hr class="my-2"> | |
<button id="mobileLoginBtn" class="bg-indigo-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-indigo-700 transition"> | |
Вход для риелторов | |
</button> | |
</nav> | |
</div> | |
</div> | |
<!-- Модальное окно входа --> | |
<div id="loginModal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden"> | |
<div class="bg-white rounded-lg shadow-xl w-full max-w-md p-6 mx-4"> | |
<div class="flex justify-between items-center mb-6"> | |
<h2 class="text-2xl font-bold text-gray-800">Вход в личный кабинет</h2> | |
<button id="closeLoginModal" class="text-gray-500 hover:text-gray-700"> | |
<i class="fas fa-times"></i> | |
</button> | |
</div> | |
<form id="loginForm" class="space-y-4"> | |
<div> | |
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label> | |
<input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
<div> | |
<label for="password" class="block text-sm font-medium text-gray-700 mb-1">Пароль</label> | |
<input type="password" id="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
<div class="flex items-center justify-between"> | |
<div class="flex items-center"> | |
<input type="checkbox" id="remember" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded"> | |
<label for="remember" class="ml-2 block text-sm text-gray-700">Запомнить меня</label> | |
</div> | |
<a href="#" class="text-sm text-indigo-600 hover:text-indigo-500">Забыли пароль?</a> | |
</div> | |
<button type="submit" class="w-full bg-indigo-600 text-white py-2 px-4 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Войти | |
</button> | |
<div class="text-center text-sm text-gray-500">или войти через</div> | |
<div class="flex justify-center space-x-4"> | |
<button type="button" class="bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700 transition"> | |
<i class="fab fa-facebook-f"></i> | |
</button> | |
<button type="button" class="bg-red-600 text-white p-2 rounded-full hover:bg-red-700 transition"> | |
<i class="fab fa-google"></i> | |
</button> | |
<button type="button" class="bg-gray-800 text-white p-2 rounded-full hover:bg-gray-900 transition"> | |
<i class="fab fa-apple"></i> | |
</button> | |
</div> | |
<div class="text-center text-sm text-gray-500"> | |
Нет аккаунта? <a href="#" class="text-indigo-600 hover:text-indigo-500">Зарегистрироваться</a> | |
</div> | |
</form> | |
</div> | |
</div> | |
<!-- Личный кабинет (скрыт по умолчанию) --> | |
<div id="dashboard" class="hidden"> | |
<div class="flex"> | |
<!-- Боковая панель --> | |
<div id="sidebar" class="sidebar bg-gray-800 text-white w-64 min-h-screen p-4"> | |
<div class="flex items-center space-x-3 mb-8"> | |
<div class="w-10 h-10 rounded-full bg-indigo-500 flex items-center justify-center"> | |
<span class="text-xl font-medium">АИ</span> | |
</div> | |
<div> | |
<div class="font-medium">Алексей Иванов</div> | |
<div class="text-xs text-gray-400">Риелтор</div> | |
</div> | |
</div> | |
<nav class="space-y-2"> | |
<a href="#" class="block py-2 px-3 rounded-lg bg-gray-700 text-white"> | |
<i class="fas fa-home mr-2"></i> Обзор | |
</a> | |
<a href="#" class="block py-2 px-3 rounded-lg hover:bg-gray-700 text-gray-300 hover:text-white transition"> | |
<i class="fas fa-building mr-2"></i> Объекты | |
</a> | |
<a href="#" class="block py-2 px-3 rounded-lg hover:bg-gray-700 text-gray-300 hover:text-white transition"> | |
<i class="fas fa-plus-circle mr-2"></i> Добавить объект | |
</a> | |
<a href="#" class="block py-2 px-3 rounded-lg hover:bg-gray-700 text-gray-300 hover:text-white transition"> | |
<i class="fas fa-users mr-2"></i> Клиенты | |
</a> | |
<a href="#" class="block py-2 px-3 rounded-lg hover:bg-gray-700 text-gray-300 hover:text-white transition"> | |
<i class="fas fa-envelope mr-2"></i> Сообщения | |
</a> | |
<a href="#" class="block py-2 px-3 rounded-lg hover:bg-gray-700 text-gray-300 hover:text-white transition"> | |
<i class="fas fa-cog mr-2"></i> Настройки | |
</a> | |
</nav> | |
<div class="mt-8 pt-4 border-t border-gray-700"> | |
<a href="#" class="block py-2 px-3 rounded-lg hover:bg-gray-700 text-gray-300 hover:text-white transition"> | |
<i class="fas fa-sign-out-alt mr-2"></i> Выйти | |
</a> | |
</div> | |
</div> | |
<!-- Основное содержимое --> | |
<div class="flex-1 p-6 bg-gray-100"> | |
<div class="flex justify-between items-center mb-6"> | |
<h2 class="text-2xl font-bold text-gray-800">Обзор</h2> | |
<button id="toggleSidebar" class="md:hidden text-gray-600"> | |
<i class="fas fa-bars text-xl"></i> | |
</button> | |
</div> | |
<!-- Статистика --> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"> | |
<div class="bg-white p-6 rounded-lg shadow"> | |
<div class="flex items-center justify-between"> | |
<div> | |
<p class="text-gray-500">Всего объектов</p> | |
<h3 class="text-3xl font-bold mt-2">24</h3> | |
</div> | |
<div class="bg-indigo-100 p-3 rounded-full"> | |
<i class="fas fa-home text-indigo-600 text-xl"></i> | |
</div> | |
</div> | |
</div> | |
<div class="bg-white p-6 rounded-lg shadow"> | |
<div class="flex items-center justify-between"> | |
<div> | |
<p class="text-gray-500">Активные заявки</p> | |
<h3 class="text-3xl font-bold mt-2">8</h3> | |
</div> | |
<div class="bg-green-100 p-3 rounded-full"> | |
<i class="fas fa-envelope text-green-600 text-xl"></i> | |
</div> | |
</div> | |
</div> | |
<div class="bg-white p-6 rounded-lg shadow"> | |
<div class="flex items-center justify-between"> | |
<div> | |
<p class="text-gray-500">Продано в этом месяце</p> | |
<h3 class="text-3xl font-bold mt-2">3</h3> | |
</div> | |
<div class="bg-purple-100 p-3 rounded-full"> | |
<i class="fas fa-handshake text-purple-600 text-xl"></i> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Последние объекты --> | |
<div class="bg-white p-6 rounded-lg shadow mb-8"> | |
<div class="flex justify-between items-center mb-6"> | |
<h3 class="text-xl font-bold text-gray-800">Последние объекты</h3> | |
<a href="#" class="text-indigo-600 hover:text-indigo-800">Показать все</a> | |
</div> | |
<div class="overflow-x-auto"> | |
<table class="min-w-full divide-y divide-gray-200"> | |
<thead class="bg-gray-50"> | |
<tr> | |
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Адрес</th> | |
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Тип</th> | |
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Цена</th> | |
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Статус</th> | |
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Действия</th> | |
</tr> | |
</thead> | |
<tbody class="bg-white divide-y divide-gray-200"> | |
<tr> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="font-medium">ул. Ленина, 15</div> | |
<div class="text-sm text-gray-500">Москва</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Квартира</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">12,500,000 ₽</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">Активно</span> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
<a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Редакт.</a> | |
<a href="#" class="text-red-600 hover:text-red-900">Удалить</a> | |
</td> | |
</tr> | |
<tr> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="font-medium">ул. Садовая, 42</div> | |
<div class="text-sm text-gray-500">Санкт-Петербург</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Дом</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">8,750,000 ₽</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-yellow-100 text-yellow-800">На проверке</span> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
<a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Редакт.</a> | |
<a href="#" class="text-red-600 hover:text-red-900">Удалить</a> | |
</td> | |
</tr> | |
<tr> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<div class="font-medium">пр. Мира, 7</div> | |
<div class="text-sm text-gray-500">Казань</div> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Коммерция</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">25,300,000 ₽</td> | |
<td class="px-6 py-4 whitespace-nowrap"> | |
<span class="px-2 py-1 text-xs font-semibold rounded-full bg-red-100 text-red-800">Продано</span> | |
</td> | |
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
<a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Редакт.</a> | |
<a href="#" class="text-red-600 hover:text-red-900">Удалить</a> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
</div> | |
<!-- Форма добавления объекта --> | |
<div class="bg-white p-6 rounded-lg shadow"> | |
<h3 class="text-xl font-bold text-gray-800 mb-6">Добавить новый объект</h3> | |
<form id="addPropertyForm" class="space-y-6"> | |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
<div> | |
<label for="propertyType" class="block text-sm font-medium text-gray-700 mb-1">Тип объекта</label> | |
<select id="propertyType" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
<option value="">Выберите тип</option> | |
<option value="apartment">Квартира</option> | |
<option value="house">Дом</option> | |
<option value="land">Участок</option> | |
<option value="commercial">Коммерческая недвижимость</option> | |
</select> | |
</div> | |
<div> | |
<label for="propertyPrice" class="block text-sm font-medium text-gray-700 mb-1">Цена (₽)</label> | |
<input type="number" id="propertyPrice" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Например: 12000000"> | |
</div> | |
</div> | |
<div> | |
<label for="propertyAddress" class="block text-sm font-medium text-gray-700 mb-1">Адрес</label> | |
<input type="text" id="propertyAddress" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Полный адрес"> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
<div> | |
<label for="propertyArea" class="block text-sm font-medium text-gray-700 mb-1">Площадь (м²)</label> | |
<input type="number" id="propertyArea" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
<div> | |
<label for="propertyRooms" class="block text-sm font-medium text-gray-700 mb-1">Количество комнат</label> | |
<input type="number" id="propertyRooms" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
<div> | |
<label for="propertyFloor" class="block text-sm font-medium text-gray-700 mb-1">Этаж</label> | |
<input type="number" id="propertyFloor" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
</div> | |
<div> | |
<label for="propertyDescription" class="block text-sm font-medium text-gray-700 mb-1">Описание</label> | |
<textarea id="propertyDescription" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="Подробное описание объекта"></textarea> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Фотографии объекта</label> | |
<div class="mt-1 flex justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-lg"> | |
<div class="space-y-1 text-center"> | |
<div class="flex text-sm text-gray-600"> | |
<label for="propertyPhotos" class="relative cursor-pointer bg-white rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none"> | |
<span>Загрузить файлы</span> | |
<input id="propertyPhotos" type="file" class="sr-only" multiple> | |
</label> | |
<p class="pl-1">или перетащите сюда</p> | |
</div> | |
<p class="text-xs text-gray-500">PNG, JPG, GIF до 10MB</p> | |
</div> | |
</div> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Местоположение на карте</label> | |
<div class="map-container rounded-lg border border-gray-300"> | |
<!-- Здесь будет карта --> | |
<div class="flex items-center justify-center h-full bg-gray-100 text-gray-500"> | |
<i class="fas fa-map-marker-alt text-2xl mr-2"></i> | |
<span>Выберите местоположение на карте</span> | |
</div> | |
</div> | |
</div> | |
<div class="flex justify-end"> | |
<button type="submit" class="bg-indigo-600 text-white py-2 px-6 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Сохранить объект | |
</button> | |
</div> | |
</form> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Основное содержимое сайта --> | |
<main id="mainContent"> | |
<!-- Герой-секция --> | |
<section class="gradient-bg text-white py-16 md:py-24"> | |
<div class="container mx-auto px-4"> | |
<div class="max-w-3xl mx-auto text-center"> | |
<h2 class="text-4xl md:text-5xl font-bold mb-6">Найдите свой идеальный дом с нами</h2> | |
<p class="text-xl mb-8 opacity-90">Более 1000 довольных клиентов и 500 успешных сделок</p> | |
<div class="bg-white rounded-lg p-1 flex max-w-xl mx-auto"> | |
<input type="text" placeholder="Город, район, улица..." class="flex-1 px-4 py-3 text-gray-800 focus:outline-none"> | |
<button class="bg-indigo-600 text-white px-6 py-3 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
<i class="fas fa-search mr-2"></i> Найти | |
</button> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Каталог объектов --> | |
<section id="properties" class="py-16 bg-gray-50"> | |
<div class="container mx-auto px-4"> | |
<div class="text-center mb-12"> | |
<h2 class="text-3xl font-bold text-gray-800 mb-4">Наши предложения</h2> | |
<p class="text-gray-600 max-w-2xl mx-auto">Мы тщательно отбираем лучшие объекты недвижимости для наших клиентов</p> | |
</div> | |
<!-- Фильтры --> | |
<div class="bg-white rounded-lg shadow-md p-4 mb-8"> | |
<div class="grid grid-cols-1 md:grid-cols-4 gap-4"> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Тип недвижимости</label> | |
<select class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
<option>Все типы</option> | |
<option>Квартира</option> | |
<option>Дом</option> | |
<option>Участок</option> | |
<option>Коммерческая</option> | |
</select> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Цена, ₽</label> | |
<div class="flex space-x-2"> | |
<input type="number" placeholder="От" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
<input type="number" placeholder="До" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Комнат</label> | |
<select class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
<option>Любое</option> | |
<option>1</option> | |
<option>2</option> | |
<option>3</option> | |
<option>4+</option> | |
</select> | |
</div> | |
<div class="flex items-end"> | |
<button class="w-full bg-indigo-600 text-white py-2 px-4 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Применить фильтры | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Список объектов --> | |
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
<!-- Объект 1 --> | |
<div class="property-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative overflow-hidden h-48"> | |
<img src="https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Квартира" class="property-image w-full h-full object-cover"> | |
<div class="absolute top-4 left-4 bg-indigo-600 text-white px-3 py-1 rounded-full text-sm font-medium"> | |
Новое | |
</div> | |
<div class="absolute top-4 right-4 bg-white p-2 rounded-full shadow-md"> | |
<i class="far fa-heart text-gray-600 hover:text-red-500 cursor-pointer"></i> | |
</div> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="text-xl font-bold text-gray-800">Квартира в центре</h3> | |
<span class="text-lg font-bold text-indigo-600">12,500,000 ₽</span> | |
</div> | |
<p class="text-gray-600 mb-4"><i class="fas fa-map-marker-alt text-gray-400 mr-2"></i>ул. Ленина, 15, Москва</p> | |
<div class="flex space-x-4 text-sm text-gray-500 mb-4"> | |
<span><i class="fas fa-bed mr-1"></i> 3 комн.</span> | |
<span><i class="fas fa-ruler-combined mr-1"></i> 85 м²</span> | |
<span><i class="fas fa-building mr-1"></i> 5/9 эт.</span> | |
</div> | |
<p class="text-gray-700 mb-6">Просторная 3-комнатная квартира в историческом центре с ремонтом и мебелью.</p> | |
<div class="flex justify-between items-center"> | |
<button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Подробнее | |
</button> | |
<div class="flex space-x-2"> | |
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 transition"> | |
<i class="fas fa-phone-alt"></i> | |
</button> | |
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 transition"> | |
<i class="fab fa-whatsapp"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Объект 2 --> | |
<div class="property-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative overflow-hidden h-48"> | |
<img src="https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Дом" class="property-image w-full h-full object-cover"> | |
<div class="absolute top-4 right-4 bg-white p-2 rounded-full shadow-md"> | |
<i class="far fa-heart text-gray-600 hover:text-red-500 cursor-pointer"></i> | |
</div> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="text-xl font-bold text-gray-800">Загородный дом</h3> | |
<span class="text-lg font-bold text-indigo-600">8,750,000 ₽</span> | |
</div> | |
<p class="text-gray-600 mb-4"><i class="fas fa-map-marker-alt text-gray-400 mr-2"></i>ул. Садовая, 42, Санкт-Петербург</p> | |
<div class="flex space-x-4 text-sm text-gray-500 mb-4"> | |
<span><i class="fas fa-bed mr-1"></i> 4 комн.</span> | |
<span><i class="fas fa-ruler-combined mr-1"></i> 120 м²</span> | |
<span><i class="fas fa-home mr-1"></i> 2 этажа</span> | |
</div> | |
<p class="text-gray-700 mb-6">Уютный дом с участком 10 соток в экологически чистом районе. Отделка под ключ.</p> | |
<div class="flex justify-between items-center"> | |
<button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Подробнее | |
</button> | |
<div class="flex space-x-2"> | |
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 transition"> | |
<i class="fas fa-phone-alt"></i> | |
</button> | |
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 transition"> | |
<i class="fab fa-whatsapp"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Объект 3 --> | |
<div class="property-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative overflow-hidden h-48"> | |
<img src="https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Коммерческая недвижимость" class="property-image w-full h-full object-cover"> | |
<div class="absolute top-4 left-4 bg-green-600 text-white px-3 py-1 rounded-full text-sm font-medium"> | |
Продано | |
</div> | |
<div class="absolute top-4 right-4 bg-white p-2 rounded-full shadow-md"> | |
<i class="far fa-heart text-gray-600 hover:text-red-500 cursor-pointer"></i> | |
</div> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="text-xl font-bold text-gray-800">Офисное помещение</h3> | |
<span class="text-lg font-bold text-indigo-600">25,300,000 ₽</span> | |
</div> | |
<p class="text-gray-600 mb-4"><i class="fas fa-map-marker-alt text-gray-400 mr-2"></i>пр. Мира, 7, Казань</p> | |
<div class="flex space-x-4 text-sm text-gray-500 mb-4"> | |
<span><i class="fas fa-door-open mr-1"></i> 5 каб.</span> | |
<span><i class="fas fa-ruler-combined mr-1"></i> 150 м²</span> | |
<span><i class="fas fa-building mr-1"></i> 3/5 эт.</span> | |
</div> | |
<p class="text-gray-700 mb-6">Просторное офисное помещение в бизнес-центре с отдельным входом и парковкой.</p> | |
<div class="flex justify-between items-center"> | |
<button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Подробнее | |
</button> | |
<div class="flex space-x-2"> | |
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 transition"> | |
<i class="fas fa-phone-alt"></i> | |
</button> | |
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 transition"> | |
<i class="fab fa-whatsapp"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="text-center mt-10"> | |
<button class="bg-white border border-indigo-600 text-indigo-600 px-6 py-3 rounded-lg hover:bg-indigo-50 transition font-medium"> | |
Показать еще | |
</button> | |
</div> | |
</div> | |
</section> | |
<!-- Страница объекта (скрыта по умолчанию) --> | |
<div id="propertyPage" class="hidden py-16 bg-gray-50"> | |
<div class="container mx-auto px-4"> | |
<button id="backToCatalog" class="flex items-center text-indigo-600 hover:text-indigo-800 mb-6"> | |
<i class="fas fa-arrow-left mr-2"></i> Назад к каталогу | |
</button> | |
<div class="bg-white rounded-lg shadow-lg overflow-hidden"> | |
<!-- Галерея --> | |
<div class="grid grid-cols-1 lg:grid-cols-4 gap-0"> | |
<div class="lg:col-span-3 h-96 overflow-hidden"> | |
<img src="https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80" alt="Квартира" class="w-full h-full object-cover"> | |
</div> | |
<div class="hidden lg:grid grid-cols-2 gap-0"> | |
<div class="h-48 overflow-hidden"> | |
<img src="https://images.unsplash.com/photo-1580587771525-78b9dba3b914?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Кухня" class="w-full h-full object-cover"> | |
</div> | |
<div class="h-48 overflow-hidden"> | |
<img src="https://images.unsplash.com/photo-1493809842364-78817add7ffb?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Гостиная" class="w-full h-full object-cover"> | |
</div> | |
<div class="h-48 overflow-hidden"> | |
<img src="https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Спальня" class="w-full h-full object-cover"> | |
</div> | |
<div class="h-48 overflow-hidden relative"> | |
<img src="https://images.unsplash.com/photo-1484154218962-a197022b5858?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Ванная" class="w-full h-full object-cover"> | |
<div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center"> | |
<span class="text-white font-medium">+5 фото</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Основная информация --> | |
<div class="p-6 lg:p-8"> | |
<div class="flex flex-col lg:flex-row lg:justify-between lg:items-start"> | |
<div class="lg:w-2/3 lg:pr-8"> | |
<div class="flex items-center mb-4"> | |
<h2 class="text-2xl font-bold text-gray-800">Квартира в центре Москвы</h2> | |
<span class="ml-4 bg-indigo-100 text-indigo-800 px-3 py-1 rounded-full text-sm font-medium">Новое</span> | |
</div> | |
<p class="text-gray-600 mb-6"><i class="fas fa-map-marker-alt text-gray-400 mr-2"></i>ул. Ленина, 15, Москва, Центральный район</p> | |
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8"> | |
<div class="bg-gray-50 p-4 rounded-lg text-center"> | |
<div class="text-gray-500 mb-1"><i class="fas fa-ruler-combined"></i> Площадь</div> | |
<div class="text-lg font-bold text-gray-800">85 м²</div> | |
</div> | |
<div class="bg-gray-50 p-4 rounded-lg text-center"> | |
<div class="text-gray-500 mb-1"><i class="fas fa-bed"></i> Комнат</div> | |
<div class="text-lg font-bold text-gray-800">3</div> | |
</div> | |
<div class="bg-gray-50 p-4 rounded-lg text-center"> | |
<div class="text-gray-500 mb-1"><i class="fas fa-building"></i> Этаж</div> | |
<div class="text-lg font-bold text-gray-800">5/9</div> | |
</div> | |
<div class="bg-gray-50 p-4 rounded-lg text-center"> | |
<div class="text-gray-500 mb-1"><i class="fas fa-calendar-alt"></i> Год постройки</div> | |
<div class="text-lg font-bold text-gray-800">2015</div> | |
</div> | |
</div> | |
<div class="mb-8"> | |
<h3 class="text-xl font-bold text-gray-800 mb-4">Описание</h3> | |
<p class="text-gray-700 mb-4">Просторная 3-комнатная квартира в историческом центре Москвы с качественным ремонтом и мебелью. Квартира расположена на 5 этаже 9-этажного кирпичного дома. Окна выходят во двор, что обеспечивает тишину и спокойствие.</p> | |
<p class="text-gray-700">В квартире: кухня 12 м² с современной техникой, две изолированные спальни (15 и 12 м²), гостиная 25 м², совмещенный санузел с душевой кабиной, прихожая с гардеробной. В доме: консьерж, парковка, детская площадка. Рядом метро (5 мин пешком), школы, детские сады, магазины.</p> | |
</div> | |
<div class="mb-8"> | |
<h3 class="text-xl font-bold text-gray-800 mb-4">Особенности</h3> | |
<div class="flex flex-wrap gap-2"> | |
<span class="bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm">Ремонт</span> | |
<span class="bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm">Мебель</span> | |
<span class="bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm">Балкон</span> | |
<span class="bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm">Консьерж</span> | |
<span class="bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm">Парковка</span> | |
<span class="bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm">Лифт</span> | |
</div> | |
</div> | |
<div class="mb-8"> | |
<h3 class="text-xl font-bold text-gray-800 mb-4">Расположение</h3> | |
<div class="map-container rounded-lg border border-gray-300 mb-4"> | |
<!-- Здесь будет карта --> | |
<div class="flex items-center justify-center h-full bg-gray-100 text-gray-500"> | |
<i class="fas fa-map-marker-alt text-2xl mr-2"></i> | |
<span>Карта местоположения объекта</span> | |
</div> | |
</div> | |
<p class="text-gray-700">Объект расположен в престижном районе с развитой инфраструктурой. В шаговой доступности: метро "Центральная" (5 мин), школа (3 мин), парк (10 мин), супермаркет (2 мин).</p> | |
</div> | |
<div> | |
<h3 class="text-xl font-bold text-gray-800 mb-4">3D тур</h3> | |
<div class="bg-gray-100 rounded-lg h-64 flex items-center justify-center"> | |
<div class="text-center"> | |
<i class="fas fa-vr-cardboard text-4xl text-gray-400 mb-2"></i> | |
<p class="text-gray-500">Интерактивный 3D тур по объекту</p> | |
<button class="mt-4 bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Запустить тур | |
</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Боковая панель с контактами --> | |
<div class="lg:w-1/3 mt-8 lg:mt-0"> | |
<div class="bg-gray-50 rounded-lg p-6 shadow-sm"> | |
<div class="text-2xl font-bold text-indigo-600 mb-4">12,500,000 ₽</div> | |
<div class="mb-6"> | |
<h4 class="font-bold text-gray-800 mb-2">Риелтор</h4> | |
<div class="flex items-center"> | |
<div class="w-12 h-12 rounded-full bg-indigo-100 flex items-center justify-center mr-3"> | |
<span class="text-indigo-600 font-medium">АИ</span> | |
</div> | |
<div> | |
<div class="font-medium">Алексей Иванов</div> | |
<div class="text-sm text-gray-500">Агентство "RealEstate Pro"</div> | |
</div> | |
</div> | |
</div> | |
<div class="mb-6"> | |
<h4 class="font-bold text-gray-800 mb-2">Контакты</h4> | |
<div class="space-y-2"> | |
<a href="#" class="flex items-center text-gray-700 hover:text-indigo-600"> | |
<i class="fas fa-phone-alt text-gray-400 mr-3 w-5"></i> | |
+7 (999) 123-45-67 | |
</a> | |
<a href="#" class="flex items-center text-gray-700 hover:text-indigo-600"> | |
<i class="fab fa-whatsapp text-green-500 mr-3 w-5"></i> | |
</a> | |
<a href="#" class="flex items-center text-gray-700 hover:text-indigo-600"> | |
<i class="fab fa-telegram text-blue-400 mr-3 w-5"></i> | |
Telegram | |
</a> | |
<a href="#" class="flex items-center text-gray-700 hover:text-indigo-600"> | |
<i class="fas fa-envelope text-gray-400 mr-3 w-5"></i> | |
a.ivanov@realestate.ru | |
</a> | |
</div> | |
</div> | |
<button class="w-full bg-indigo-600 text-white py-3 px-4 rounded-lg hover:bg-indigo-700 transition font-medium mb-4"> | |
<i class="fas fa-phone-alt mr-2"></i> Позвонить риелтору | |
</button> | |
<button class="w-full border border-indigo-600 text-indigo-600 py-3 px-4 rounded-lg hover:bg-indigo-50 transition font-medium"> | |
<i class="fas fa-envelope mr-2"></i> Написать сообщение | |
</button> | |
<div class="mt-6 pt-4 border-t border-gray-200"> | |
<h4 class="font-bold text-gray-800 mb-2">Заявка на просмотр</h4> | |
<form class="space-y-3"> | |
<input type="text" placeholder="Ваше имя" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
<input type="tel" placeholder="Телефон" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
<textarea placeholder="Сообщение (необязательно)" rows="2" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"></textarea> | |
<button type="submit" class="w-full bg-green-600 text-white py-2 px-4 rounded-lg hover:bg-green-700 transition font-medium"> | |
Отправить заявку | |
</button> | |
</form> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Чат (скрыт по умолчанию) --> | |
<div id="chatWidget" class="fixed bottom-6 right-6 hidden"> | |
<div class="bg-white rounded-t-lg shadow-xl w-80 overflow-hidden"> | |
<div class="bg-indigo-600 text-white p-4 flex justify-between items-center"> | |
<div class="font-medium">Чат с риелтором</div> | |
<button id="closeChat" class="text-white hover:text-gray-200"> | |
<i class="fas fa-times"></i> | |
</button> | |
</div> | |
<div class="h-80 overflow-y-auto p-4 bg-gray-50"> | |
<div class="space-y-3"> | |
<div class="flex justify-start"> | |
<div class="chat-message bg-white p-3 rounded-lg shadow-sm"> | |
<div class="text-xs text-gray-500 mb-1">Алексей Иванов, 10:15</div> | |
<p>Здравствуйте! Чем могу помочь?</p> | |
</div> | |
</div> | |
<div class="flex justify-end"> | |
<div class="chat-message bg-indigo-100 p-3 rounded-lg"> | |
<div class="text-xs text-indigo-800 mb-1">Вы, 10:17</div> | |
<p>Здравствуйте! Меня интересует квартира на Ленина, 15</p> | |
</div> | |
</div> | |
<div class="flex justify-start"> | |
<div class="chat-message bg-white p-3 rounded-lg shadow-sm"> | |
<div class="text-xs text-gray-500 mb-1">Алексей Иванов, 10:18</div> | |
<p>Отличный выбор! Когда вам удобно приехать на просмотр?</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="p-3 border-t border-gray-200"> | |
<div class="flex"> | |
<input type="text" placeholder="Напишите сообщение..." class="flex-1 px-3 py-2 border border-gray-300 rounded-l-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
<button class="bg-indigo-600 text-white px-4 rounded-r-lg hover:bg-indigo-700 transition"> | |
<i class="fas fa-paper-plane"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Кнопка чата --> | |
<button id="openChat" class="fixed bottom-6 right-6 bg-indigo-600 text-white w-14 h-14 rounded-full shadow-lg flex items-center justify-center hover:bg-indigo-700 transition"> | |
<i class="fas fa-comment-dots text-2xl"></i> | |
</button> | |
<!-- О нас --> | |
<section id="about" class="py-16 bg-white"> | |
<div class="container mx-auto px-4"> | |
<div class="flex flex-col lg:flex-row items-center"> | |
<div class="lg:w-1/2 mb-10 lg:mb-0 lg:pr-10"> | |
<img src="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80" alt="О нас" class="rounded-lg shadow-lg w-full"> | |
</div> | |
<div class="lg:w-1/2"> | |
<h2 class="text-3xl font-bold text-gray-800 mb-6">О нашем агентстве</h2> | |
<p class="text-gray-600 mb-6">RealEstate Pro - это профессиональное агентство недвижимости, работающее на рынке с 2010 года. За это время мы помогли более 1000 клиентам найти свой идеальный дом и совершить безопасные сделки.</p> | |
<div class="space-y-4 mb-8"> | |
<div class="flex"> | |
<div class="bg-indigo-100 p-2 rounded-full mr-4"> | |
<i class="fas fa-check text-indigo-600"></i> | |
</div> | |
<div> | |
<h4 class="font-bold text-gray-800 mb-1">Профессионализм</h4> | |
<p class="text-gray-600">Наши риелторы имеют многолетний опыт и знают рынок недвижимости до мелочей.</p> | |
</div> | |
</div> | |
<div class="flex"> | |
<div class="bg-indigo-100 p-2 rounded-full mr-4"> | |
<i class="fas fa-check text-indigo-600"></i> | |
</div> | |
<div> | |
<h4 class="font-bold text-gray-800 mb-1">Индивидуальный подход</h4> | |
<p class="text-gray-600">Для каждого клиента мы подбираем оптимальные варианты, учитывая все пожелания.</p> | |
</div> | |
</div> | |
<div class="flex"> | |
<div class="bg-indigo-100 p-2 rounded-full mr-4"> | |
<i class="fas fa-check text-indigo-600"></i> | |
</div> | |
<div> | |
<h4 class="font-bold text-gray-800 mb-1">Юридическая безопасность</h4> | |
<p class="text-gray-600">Мы сопровождаем сделку на всех этапах и гарантируем юридическую чистоту.</p> | |
</div> | |
</div> | |
</div> | |
<button class="bg-indigo-600 text-white px-6 py-3 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Узнать больше о нас | |
</button> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Контакты --> | |
<section id="contacts" class="py-16 bg-gray-50"> | |
<div class="container mx-auto px-4"> | |
<div class="text-center mb-12"> | |
<h2 class="text-3xl font-bold text-gray-800 mb-4">Контакты</h2> | |
<p class="text-gray-600 max-w-2xl mx-auto">Свяжитесь с нами любым удобным способом - мы всегда рады помочь!</p> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-12"> | |
<div class="bg-white p-6 rounded-lg shadow-sm text-center"> | |
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> | |
<i class="fas fa-phone-alt text-indigo-600 text-2xl"></i> | |
</div> | |
<h3 class="text-xl font-bold text-gray-800 mb-2">Телефон</h3> | |
<p class="text-gray-600 mb-4">+7 (495) 123-45-67</p> | |
<a href="#" class="text-indigo-600 hover:text-indigo-800 font-medium">Позвонить</a> | |
</div> | |
<div class="bg-white p-6 rounded-lg shadow-sm text-center"> | |
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> | |
<i class="fas fa-envelope text-indigo-600 text-2xl"></i> | |
</div> | |
<h3 class="text-xl font-bold text-gray-800 mb-2">Email</h3> | |
<p class="text-gray-600 mb-4">info@realestatepro.ru</p> | |
<a href="#" class="text-indigo-600 hover:text-indigo-800 font-medium">Написать</a> | |
</div> | |
<div class="bg-white p-6 rounded-lg shadow-sm text-center"> | |
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> | |
<i class="fas fa-map-marker-alt text-indigo-600 text-2xl"></i> | |
</div> | |
<h3 class="text-xl font-bold text-gray-800 mb-2">Офис</h3> | |
<p class="text-gray-600 mb-4">Москва, ул. Тверская, 15</p> | |
<a href="#" class="text-indigo-600 hover:text-indigo-800 font-medium">Как добраться</a> | |
</div> | |
</div> | |
<div class="bg-white rounded-lg shadow-lg overflow-hidden"> | |
<div class="grid grid-cols-1 lg:grid-cols-2"> | |
<div class="p-8 lg:p-12"> | |
<h3 class="text-2xl font-bold text-gray-800 mb-6">Напишите нам</h3> | |
<form class="space-y-4"> | |
<div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Имя</label> | |
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Телефон</label> | |
<input type="tel" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Email</label> | |
<input type="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> | |
</div> | |
<div> | |
<label class="block text-sm font-medium text-gray-700 mb-1">Сообщение</label> | |
<textarea rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"></textarea> | |
</div> | |
<button type="submit" class="bg-indigo-600 text-white px-6 py-3 rounded-lg hover:bg-indigo-700 transition font-medium"> | |
Отправить сообщение | |
</button> | |
</form> | |
</div> | |
<div class="bg-gray-100 p-8 lg:p-12 flex items-center justify-center"> | |
<div class="map-container w-full h-64 lg:h-full rounded-lg"> | |
<!-- Здесь будет карта --> | |
<div class="flex items-center justify-center h-full bg-gray-200 text-gray-500"> | |
<i class="fas fa-map-marker-alt text-2xl mr-2"></i> | |
<span>Карта расположения офиса</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
</main> | |
<!-- Подвал --> | |
<footer class="bg-gray-800 text-white py-12"> | |
<div class="container mx-auto px-4"> | |
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8"> | |
<div> | |
<h3 class="text-xl font-bold mb-4">RealEstate Pro</h3> | |
<p class="text-gray-400">Профессиональное агентство недвижимости с 2010 года. Мы помогаем найти дом вашей мечты.</p> | |
</div> | |
<div> | |
<h4 class="font-bold mb-4">Навигация</h4> | |
<ul class="space-y-2"> | |
<li><a href="#" class="text-gray-400 hover:text-white transition">Главная</a></li> | |
<li><a href="#properties" class="text-gray-400 hover:text-white transition">Каталог</a></li> | |
<li><a href="#about" class="text-gray-400 hover:text-white transition">О нас</a></li> | |
<li><a href="#contacts" class="text-gray-400 hover:text-white transition">Контакты</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="font-bold mb-4">Контакты</h4> | |
<ul class="space-y-2"> | |
<li class="flex items-center"> | |
<i class="fas fa-map-marker-alt text-gray-400 mr-3"></i> | |
<span class="text-gray-400">Москва, ул. Тверская, 15</span> | |
</li> | |
<li class="flex items-center"> | |
<i class="fas fa-phone-alt text-gray-400 mr-3"></i> | |
<span class="text-gray-400">+7 (495) 123-45-67</span> | |
</li> | |
<li class="flex items-center"> | |
<i class="fas fa-envelope text-gray-400 mr-3"></i> | |
<span class="text-gray-400">info@realestatepro.ru</span> | |
</li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="font-bold mb-4">Соцсети</h4> | |
<div class="flex space-x-4"> | |
<a href="#" class="bg-gray-700 w-10 h-10 rounded-full flex items-center justify-center hover:bg-indigo-600 transition"> | |
<i class="fab fa-facebook-f"></i> | |
</a> | |
<a href="#" class="bg-gray-700 w-10 h-10 rounded-full flex items-center justify-center hover:bg-indigo-600 transition"> | |
<i class="fab fa-instagram"></i> | |
</a> | |
<a href="#" class="bg-gray-700 w-10 h-10 rounded-full flex items-center justify-center hover:bg-indigo-600 transition"> | |
<i class="fab fa-vk"></i> | |
</a> | |
<a href="#" class="bg-gray-700 w-10 h-10 rounded-full flex items-center justify-center hover:bg-indigo-600 transition"> | |
<i class="fab fa-telegram-plane"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
<div class="pt-8 border-t border-gray-700 text-center text-gray-400"> | |
<p>© 2023 RealEstate Pro. Все права защищены.</p> | |
</div> | |
</div> | |
</footer> | |
<script> | |
// Управление мобильным меню | |
const mobileMenuBtn = document.getElementById('mobileMenuBtn'); | |
const mobileMenu = document.getElementById('mobileMenu'); | |
const closeMobileMenu = document.getElementById('closeMobileMenu'); | |
const mobileLoginBtn = document.getElementById('mobileLoginBtn'); | |
mobileMenuBtn.addEventListener('click', () => { | |
mobileMenu.classList.remove('hidden'); | |
}); | |
closeMobileMenu.addEventListener('click', () => { | |
mobileMenu.classList.add('hidden'); | |
}); | |
mobileLoginBtn.addEventListener('click', () => { | |
mobileMenu.classList.add('hidden'); | |
document.getElementById('loginModal').classList.remove('hidden'); | |
}); | |
// Управление модальным окном входа | |
const loginBtn = document.getElementById('loginBtn'); | |
const loginModal = document.getElementById('loginModal'); | |
const closeLoginModal = document.getElementById('closeLoginModal'); | |
const loginForm = document.getElementById('loginForm'); | |
loginBtn.addEventListener('click', () => { | |
loginModal.classList.remove('hidden'); | |
}); | |
closeLoginModal.addEventListener('click', () => { | |
loginModal.classList.add('hidden'); | |
}); | |
loginForm.addEventListener('submit', (e) => { | |
e.preventDefault(); | |
// Здесь должна быть логика входа | |
loginModal.classList.add('hidden'); | |
document.getElementById('dashboard').classList.remove('hidden'); | |
document.getElementById('mainContent').classList.add('hidden'); | |
}); | |
// Управление чатом | |
const openChat = document.getElementById('openChat'); | |
const chatWidget = document.getElementById('chatWidget'); | |
const closeChat = document.getElementById('closeChat'); | |
openChat.addEventListener('click', () => { | |
chatWidget.classList.remove('hidden'); | |
openChat.classList.add('hidden'); | |
}); | |
closeChat.addEventListener('click', () => { | |
chatWidget.classList.add('hidden'); | |
openChat.classList.remove('hidden'); | |
}); | |
// Управление страницей объекта | |
const propertyCards = document.querySelectorAll('.property-card'); | |
const propertyPage = document.getElementById('propertyPage'); | |
const backToCatalog = document.getElementById('backToCatalog'); | |
const mainContent = document.getElementById('mainContent'); | |
propertyCards.forEach(card => { | |
card.addEventListener('click', (e) => { | |
if (!e.target.closest('button') && !e.target.closest('a')) { | |
mainContent.classList.add('hidden'); | |
propertyPage.classList.remove('hidden'); | |
} | |
}); | |
}); | |
backToCatalog.addEventListener('click', () => { | |
propertyPage.classList.add('hidden'); | |
mainContent.classList.remove('hidden'); | |
}); | |
// Управление боковой панелью в личном кабинете | |
const toggleSidebar = document.getElementById('toggleSidebar'); | |
const sidebar = document.getElementById('sidebar'); | |
toggleSidebar.addEventListener('click', () => { | |
sidebar.classList.toggle('active'); | |
}); | |
// Галерея на странице объекта | |
const thumbnails = document.querySelectorAll('.gallery-thumbnail'); | |
const mainImage = document.querySelector('.property-page img'); | |
thumbnails.forEach(thumbnail => { | |
thumbnail.addEventListener('click', () => { | |
// Здесь должна быть логика смены основного изображения | |
}); | |
}); | |
// Анимация при загрузке | |
document.addEventListener('DOMContentLoaded', () => { | |
const elements = document.querySelectorAll('[data-aos]'); | |
elements.forEach(el => { | |
el.style.opacity = '0'; | |
el.style.transform = 'translateY(20px)'; | |
el.style.transition = 'all 0.6s ease'; | |
setTimeout(() => { | |
el.style.opacity = '1'; | |
el.style.transform = 'translateY(0)'; | |
}, 200); | |
}); | |
}); | |
</script> | |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=QuickDingo/gg" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |