From 35dd388e43be983027d8e9ab0ed0c719a4251d88 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 22 May 2026 19:48:17 +0000 Subject: [PATCH] Switch to version 18: modified src/app/page.tsx --- src/app/page.tsx | 224 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 171 insertions(+), 53 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9cbc8f6..82afa9f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,7 +2,6 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; -import { useState } from "react"; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FaqBase from '@/components/sections/faq/FaqBase'; import FeatureCardTwentyThree from '@/components/sections/feature/FeatureCardTwentyThree'; @@ -15,27 +14,9 @@ import PricingCardNine from '@/components/sections/pricing/PricingCardNine'; import ProductCardFour from '@/components/sections/product/ProductCardFour'; import TeamCardSix from '@/components/sections/team/TeamCardSix'; import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne'; +import { CheckCircle } from "lucide-react"; export default function LandingPage() { - const [service, setService] = useState(""); - const [teeth, setTeeth] = useState(1); - const [price, setPrice] = useState(null); - - const services = [ - { name: "Имплантация", base: 25000 }, - { name: "Отбеливание", base: 8000 }, - { name: "Брекеты", base: 35000 }, - { name: "Лечение кариеса", base: 3000 }, - { name: "Виниры", base: 15000 }, - { name: "Протезирование", base: 12000 }, - { name: "Профессиональная чистка", base: 3000 }, - ]; - - const handleCalculate = () => { - const selected = services.find((s) => s.name === service); - if (selected) setPrice(selected.base * teeth); - }; - const handleScroll = (id: string) => { const element = document.getElementById(id); if (element) { @@ -79,45 +60,182 @@ export default function LandingPage() { title="Ваша идеальная улыбка — наша миссия" description="Премиальная стоматология в Грозном. Мы сочетаем передовые технологии и заботливый подход для создания вашей безупречной улыбки." buttons={[ - { text: "Записаться на приём", href: "https://wa.me/+79291033003" }, - { text: "Узнать больше", onClick: () => handleScroll('about') }, + { + text: "Записаться на приём", href: "https://wa.me/+79291033003?text=Здравствуйте!%20Хочу%20записаться%20на%20приём%20в%20Diamond%20Dent%20Grozny"}, + { + text: "Узнать больше", onClick: () => handleScroll('about')}, + ]} + mediaItems={[ + { imageSrc: "http://img.b2bpic.net/free-photo/young-female-dentist-treating-patients-teeth-with-dental-microscope-dentistry-concept_169016-66977.jpg?_wi=1", imageAlt: "modern dental clinic interior" }, + { imageSrc: "http://img.b2bpic.net/free-photo/patient-pov-listening-explication-teeth-treatment-dentist-coverall-showing-x-ray-tablet-stomatology-specialist-wearing-protective-suit-against-infection-with-covid19-pointing-radiograph_482257-13149.jpg", imageAlt: "modern dental clinic interior" }, + { imageSrc: "http://img.b2bpic.net/free-photo/medical-instruments_1157-18593.jpg", imageAlt: "modern dental clinic interior" } ]} - mediaItems={[{ imageSrc: "http://img.b2bpic.net/free-photo/young-female-dentist-treating-patients-teeth-with-dental-microscope-dentistry-concept_169016-66977.jpg?_wi=1", imageAlt: "modern dental clinic interior" }]} /> -
-
- -
-
-

Рассчитайте стоимость лечения

-

Получите примерную стоимость за 30 секунд

- - setTeeth(Number(e.target.value))} placeholder="Количество зубов" /> - - {price !== null && ( -
-

Примерная стоимость: {price} ₽

- Записаться на приём -
- )} -
+
+
-
-
-
-
-
-
-
-
Карта
- +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+

Наши лицензии и сертификаты

+

Мы работаем в соответствии со всеми стандартами качества

+
+ {[1, 2, 3].map((item) => ( +
+ +

Сертификат качества №{item}

+

Соответствие стандартам ISO

+
+ ))} +
+
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + ); -} \ No newline at end of file +}