From 0c8c45dcd933d6907ee491186b7af2fea7ccff5e Mon Sep 17 00:00:00 2001 From: "diana.dolgolyova" Date: Tue, 10 Mar 2026 20:16:21 +0300 Subject: [PATCH] feat: booking modal with form + Instagram DM + phone link Co-Authored-By: Claude Opus 4.6 --- src/components/sections/Hero.tsx | 7 +- src/components/ui/BookingModal.tsx | 175 +++++++++++++++++++++++++++++ 2 files changed, 181 insertions(+), 1 deletion(-) create mode 100644 src/components/ui/BookingModal.tsx diff --git a/src/components/sections/Hero.tsx b/src/components/sections/Hero.tsx index e879f53..9cc286c 100644 --- a/src/components/sections/Hero.tsx +++ b/src/components/sections/Hero.tsx @@ -1,13 +1,16 @@ "use client"; +import { useState } from "react"; import { siteContent } from "@/data/content"; import { Button } from "@/components/ui/Button"; import { FloatingHearts } from "@/components/ui/FloatingHearts"; import { HeroLogo } from "@/components/ui/HeroLogo"; +import { BookingModal } from "@/components/ui/BookingModal"; import { ChevronDown } from "lucide-react"; export function Hero() { const { hero } = siteContent; + const [bookingOpen, setBookingOpen] = useState(false); return ( @@ -63,10 +66,12 @@ export function Hero() {
+ Сообщение отправлено в Instagram. Мы свяжемся с вами в ближайшее время! +
+ Оставьте данные и мы свяжемся с вами, или напишите нам напрямую +