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