Merge version_15 into main

Merge version_15 into main
This commit was merged in pull request #25.
This commit is contained in:
2026-05-22 12:08:32 +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={[
{