Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 91a0ae317a | |||
| db6d4e13e0 | |||
| a8c2468767 | |||
| 68552668fc |
@@ -12,6 +12,10 @@ import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
|||||||
import { Clock, Heart, MapPin, MessageSquare, Phone, Star, Utensils, Users } from 'lucide-react';
|
import { Clock, Heart, MapPin, MessageSquare, Phone, Star, Utensils, Users } from 'lucide-react';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const handleReserveTable = () => {
|
||||||
|
window.location.href = 'tel:+919811389963';
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="icon-arrow"
|
defaultButtonVariant="icon-arrow"
|
||||||
@@ -35,7 +39,7 @@ export default function LandingPage() {
|
|||||||
{ name: "Reviews", id: "testimonials" }
|
{ name: "Reviews", id: "testimonials" }
|
||||||
]}
|
]}
|
||||||
button={{
|
button={{
|
||||||
text: "Reserve Table", href: "#contact"
|
text: "Reserve Table", onClick: handleReserveTable
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -52,7 +56,7 @@ export default function LandingPage() {
|
|||||||
imageAlt="Chache Di Hatti authentic Punjabi restaurant"
|
imageAlt="Chache Di Hatti authentic Punjabi restaurant"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "View Menu", href: "#menu" },
|
{ text: "View Menu", href: "#menu" },
|
||||||
{ text: "Reserve Table", href: "#contact" }
|
{ text: "Reserve Table", onClick: handleReserveTable }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
ariaLabel="Chache Di Hatti - Punjabi Restaurant Hero Section"
|
ariaLabel="Chache Di Hatti - Punjabi Restaurant Hero Section"
|
||||||
@@ -105,7 +109,7 @@ export default function LandingPage() {
|
|||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "See Full Menu", href: "#contact" }
|
{ text: "See Full Menu", onClick: handleReserveTable }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
/>
|
/>
|
||||||
@@ -229,4 +233,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user