2 Commits

Author SHA1 Message Date
03ae71d325 Update src/app/page.tsx 2026-05-22 12:08:29 +00:00
7394739242 Merge version_14 into main
Merge version_14 into main
2026-05-22 11:56:52 +00:00

View File

@@ -16,6 +16,17 @@ import TeamCardSix from '@/components/sections/team/TeamCardSix';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
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 +62,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={[
{