Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d09f9583ea | |||
| b69027812f | |||
| 601a5a2ae2 | |||
| 3898c797c5 | |||
| 3c1c7ebbf6 | |||
| 9f05da55b6 | |||
| 49c729ff09 |
@@ -13,6 +13,10 @@ import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
|
|||||||
import { Flame, Star } from "lucide-react";
|
import { Flame, Star } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const handleOrderClick = () => {
|
||||||
|
window.location.href = "https://www.swiggy.com";
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="hover-bubble"
|
defaultButtonVariant="hover-bubble"
|
||||||
@@ -35,7 +39,7 @@ export default function LandingPage() {
|
|||||||
{ name: "Location", id: "location" },
|
{ name: "Location", id: "location" },
|
||||||
{ name: "Contact", id: "contact" }
|
{ name: "Contact", id: "contact" }
|
||||||
]}
|
]}
|
||||||
button={{ text: "Order Now", href: "#contact" }}
|
button={{ text: "Order Now", href: "https://www.swiggy.com", onClick: handleOrderClick }}
|
||||||
animateOnLoad={true}
|
animateOnLoad={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -55,7 +59,7 @@ export default function LandingPage() {
|
|||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "🔥 Explore Menu", href: "#menu" },
|
{ text: "🔥 Explore Menu", href: "#menu" },
|
||||||
{ text: "🛵 Order Online", href: "#contact" }
|
{ text: "🛵 Order Online", href: "https://www.swiggy.com", onClick: handleOrderClick }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="blur-reveal"
|
buttonAnimation="blur-reveal"
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/closeup-shot-tasty-looking-burger-isolated-black-surface_181624-39131.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/closeup-shot-tasty-looking-burger-isolated-black-surface_181624-39131.jpg"
|
||||||
@@ -90,7 +94,7 @@ export default function LandingPage() {
|
|||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
textboxLayout="default"
|
textboxLayout="default"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
buttons={[{ text: "View Full Menu", href: "#" }]}
|
buttons={[{ text: "Order Now", onClick: handleOrderClick }]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -142,7 +146,7 @@ export default function LandingPage() {
|
|||||||
imageSrc="http://img.b2bpic.net/free-photo/young-woman-eating-burger-street-cafe-close-up_169016-43760.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/young-woman-eating-burger-street-cafe-close-up_169016-43760.jpg"
|
||||||
imageAlt="The Epic Burger Restaurant Interior"
|
imageAlt="The Epic Burger Restaurant Interior"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
buttons={[{ text: "Reserve a Table", href: "#contact" }]}
|
buttons={[{ text: "Reserve a Table", href: "https://www.swiggy.com" }]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -204,9 +208,10 @@ export default function LandingPage() {
|
|||||||
description="Order your favorite burgers now and experience premium quality delivered to your doorstep or enjoy dining in our luxury space."
|
description="Order your favorite burgers now and experience premium quality delivered to your doorstep or enjoy dining in our luxury space."
|
||||||
background={{ variant: "rotated-rays-animated" }}
|
background={{ variant: "rotated-rays-animated" }}
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
inputPlaceholder="Enter your email for updates"
|
inputPlaceholder="Enter email to order"
|
||||||
buttonText="Order Now"
|
buttonText="Order Now"
|
||||||
termsText="By ordering, you agree to our terms and conditions. We ensure fresh ingredients and quick delivery."
|
termsText="By ordering, you agree to our terms and conditions. We ensure fresh ingredients and quick delivery."
|
||||||
|
onSubmit={() => window.location.href = "https://www.swiggy.com"}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user