From 6661dcf8014727456a2cbc538861c9e32e26afb1 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:03:44 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 359750b..b69fc6a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -12,6 +12,14 @@ import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; export default function LandingPage() { + const handleEmailSubmit = (data: Record) => { + // Scroll to email contact section + const visitSection = document.getElementById('visit'); + if (visitSection) { + visitSection.scrollIntoView({ behavior: 'smooth' }); + } + }; + return ( { + const visitSection = document.getElementById('visit'); + if (visitSection) { + visitSection.scrollIntoView({ behavior: 'smooth' }); + } + }}, { text: "Skatīt Izvēli", href: "#menu" } ]} background={{ variant: "glowing-orb" }} @@ -221,4 +234,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1