Merge version_2 into main #4
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user