Merge version_2 into main #2
@@ -13,6 +13,10 @@ import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleCallNow = () => {
|
||||
window.location.href = 'tel:+918532123456';
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
@@ -47,7 +51,7 @@ export default function LandingPage() {
|
||||
tag="🍽️ Welcome to Akshya Patra"
|
||||
tagAnimation="slide-up"
|
||||
buttons={[
|
||||
{ text: "📞 Call Now", href: "tel:+918532123456" },
|
||||
{ text: "📞 Call Now", onClick: handleCallNow },
|
||||
{ text: "💬 WhatsApp Order", href: "https://wa.me/918532123456" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
@@ -205,7 +209,7 @@ export default function LandingPage() {
|
||||
imageAlt="Restaurant owner personal service"
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "📞 Speak to Owner", href: "tel:+918532123456" }
|
||||
{ text: "📞 Speak to Owner", onClick: handleCallNow }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user