diff --git a/public/images/stroy.jpg b/public/images/stroy.jpg new file mode 100644 index 0000000..91864e6 Binary files /dev/null and b/public/images/stroy.jpg differ diff --git a/src/components/AboutSection.tsx b/src/components/AboutSection.tsx index 736f8ba..b3286a0 100644 --- a/src/components/AboutSection.tsx +++ b/src/components/AboutSection.tsx @@ -34,9 +34,9 @@ const AboutSection = () => { ]; return ( -
+
{/* Статичный фон */} -
+
@@ -45,7 +45,7 @@ const AboutSection = () => {
{/* Заголовок секции */} -

+

О компании Ваш Дом

@@ -58,7 +58,7 @@ const AboutSection = () => {
О нашей компании {
-

+

Строим дома вашей мечты

-

+

Мы - команда профессионалов с более чем 10-летним опытом в строительстве современных домов. Наша миссия - создавать качественное и комфортное жилье для наших клиентов, используя передовые технологии и материалы. @@ -87,13 +87,13 @@ const AboutSection = () => {

{features.map((feature, index) => ( -
+
{feature.icon}
-

{feature.title}

-

{feature.description}

+

{feature.title}

+

{feature.description}

@@ -109,19 +109,19 @@ const AboutSection = () => { {stats.map((stat, index) => (
{/* Фон */} -
+
{stat.icon}
-
+
{stat.number}
-
+
{stat.label}
@@ -137,9 +137,9 @@ const AboutSection = () => { diff --git a/src/components/CallbackModal.tsx b/src/components/CallbackModal.tsx index de8e48d..a0cc1b0 100644 --- a/src/components/CallbackModal.tsx +++ b/src/components/CallbackModal.tsx @@ -68,118 +68,95 @@ const CallbackModal = ({ isOpen, onClose }: CallbackModalProps) => { }; return ( -
+
{/* Декоративные фоновые элементы */}
{/* Основной контейнер модального окна */} -
+
{/* Кнопка закрытия */} {/* Заголовок */}
-

+

Заказать звонок

{!success ? ( -
- {/* Поле имени */} -
+ +
setName(e.target.value)} - className="w-full px-4 py-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl text-white placeholder-gray-400 focus:outline-none focus:border-blue-500/50 focus:bg-white/20 transition-all duration-300 group-hover:border-white/30" + onChange={(e) => setName(e.target.value)} + className="w-full px-4 py-3 bg-white border border-gray-200 rounded-xl text-gray-800 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-all duration-300" + required /> -
- - {/* Поле телефона */} -
+ +
{ + onChange={(e) => { const val = e.target.value.replace(/\D/g, '').slice(0, 11); setPhone(val); }} - className="w-full px-4 py-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl text-white placeholder-gray-400 focus:outline-none focus:border-blue-500/50 focus:bg-white/20 transition-all duration-300 group-hover:border-white/30" + className="w-full px-4 py-3 bg-white border border-gray-200 rounded-xl text-gray-800 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-all duration-300" + required /> -
- - {/* Поле сообщения */} -
+ +