Merge version_2 into main #4

Merged
bender merged 1 commits from version_2 into main 2026-03-12 11:03:48 +00:00

View File

@@ -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<string, string>) => {
// Scroll to email contact section
const visitSection = document.getElementById('visit');
if (visitSection) {
visitSection.scrollIntoView({ behavior: 'smooth' });
}
};
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
@@ -49,7 +57,12 @@ export default function LandingPage() {
tagAnimation="opacity"
buttonAnimation="opacity"
buttons={[
{ text: "Apmeklēt Mūs", href: "#visit" },
{ text: "Apmeklēt Mūs", onClick: () => {
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() {
</div>
</ThemeProvider>
);
}
}