Compare commits
7 Commits
version_14
...
version_16
| Author | SHA1 | Date | |
|---|---|---|---|
| c77fa0eb24 | |||
| 60d776bbf3 | |||
| f7c450414d | |||
| febaa04e9a | |||
| 3b203ed97b | |||
| 03ae71d325 | |||
| 7394739242 |
@@ -14,8 +14,20 @@ 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 HeroCentered from '@/components/sections/hero/HeroCentered';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleScroll = (id: string) => {
|
||||
const element = document.getElementById(id);
|
||||
if (element) {
|
||||
element.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
const menu = document.querySelector('[data-fullscreen-menu]');
|
||||
if (menu) {
|
||||
(menu as HTMLElement).style.display = 'none';
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
@@ -51,7 +63,7 @@ export default function LandingPage() {
|
||||
{
|
||||
text: "Записаться на приём", href: "https://wa.me/+79291033003?text=Здравствуйте!%20Хочу%20записаться%20на%20приём%20в%20Diamond%20Dent%20Grozny"},
|
||||
{
|
||||
text: "Узнать больше", href: "#about"},
|
||||
text: "Узнать больше", onClick: () => handleScroll('about')},
|
||||
]}
|
||||
mediaItems={[
|
||||
{
|
||||
@@ -117,7 +129,7 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{ id: "m1", value: "10+", description: "лет успешного опыта" },
|
||||
{ id: "m1", value: "Текст ", description: "Текст " },
|
||||
{ id: "m2", value: "5000+", description: "довольных пациентов" },
|
||||
{ id: "m3", value: "100%", description: "безопасное оборудование" },
|
||||
{ id: "m4", value: "Без боли", description: "комфортное лечение" },
|
||||
@@ -181,6 +193,16 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="video-section" data-section="video-section">
|
||||
<HeroCentered
|
||||
title="На открытии нашей клиники присутствовал Герой России, Глава Чеченской Республики Рамзан Ахматович Кадыров"
|
||||
description=""
|
||||
avatars={[]}
|
||||
background={{ variant: 'plain' }}
|
||||
className="py-20"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardOne
|
||||
animationType="slide-up"
|
||||
@@ -321,4 +343,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user