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