Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8dad51fd02 | |||
| 86f2445a0a |
@@ -10,8 +10,20 @@ import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
|
||||
import ContactFaq from '@/components/sections/contact/ContactFaq';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import { Briefcase, Shield, Zap, Users, Phone, Linkedin } from 'lucide-react';
|
||||
import { useRef } from 'react';
|
||||
|
||||
export default function LandingPage() {
|
||||
const contactModalRef = useRef<HTMLDivElement>(null);
|
||||
const contactFormRef = useRef<HTMLFormElement>(null);
|
||||
|
||||
const handleContactClick = () => {
|
||||
// Scroll to contact section
|
||||
const contactSection = document.getElementById('contact');
|
||||
if (contactSection) {
|
||||
contactSection.scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
@@ -35,7 +47,7 @@ export default function LandingPage() {
|
||||
{ name: "Kontakt", id: "contact" }
|
||||
]}
|
||||
button={{
|
||||
text: "Dohodnúť konzultáciu", href: "contact"
|
||||
text: "Dohodnúť konzultáciu", onClick: handleContactClick
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
@@ -51,10 +63,10 @@ export default function LandingPage() {
|
||||
showBlur={true}
|
||||
buttons={[
|
||||
{
|
||||
text: "Dohodnúť konzultáciu", href: "contact"
|
||||
text: "Dohodnúť konzultáciu", onClick: handleContactClick
|
||||
},
|
||||
{
|
||||
text: "Kontaktovať kanceláriu", href: "#contact"
|
||||
text: "Kontaktovať kanceláriu", onClick: handleContactClick
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -183,7 +195,9 @@ export default function LandingPage() {
|
||||
ctaDescription="Dohodneš konzultáciu alebo sa nás opýtaj na akékoľvek právne otázky."
|
||||
ctaIcon={Phone}
|
||||
ctaButton={{
|
||||
text: "Napíšte nám", href: "mailto:ak@bariakova.sk"
|
||||
text: "Napíšte nám", onClick: () => {
|
||||
window.open('mailto:ak@bariakova.sk', '_blank');
|
||||
}
|
||||
}}
|
||||
useInvertedBackground={false}
|
||||
animationType="slide-up"
|
||||
|
||||
Reference in New Issue
Block a user