3 Commits

Author SHA1 Message Date
3c1c7ebbf6 Update src/app/page.tsx 2026-03-11 08:44:06 +00:00
9f05da55b6 Merge version_1 into main
Merge version_1 into main
2026-03-11 08:31:16 +00:00
49c729ff09 Merge version_1 into main
Merge version_1 into main
2026-03-11 08:30:44 +00:00

View File

@@ -13,6 +13,10 @@ import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
import { Flame, Star } from "lucide-react";
export default function LandingPage() {
const handleOrderClick = () => {
window.location.href = "https://www.swiggy.com";
};
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
@@ -35,7 +39,7 @@ export default function LandingPage() {
{ name: "Location", id: "location" },
{ name: "Contact", id: "contact" }
]}
button={{ text: "Order Now", href: "#contact" }}
button={{ text: "Order Now", href: "https://www.swiggy.com", onClick: handleOrderClick }}
animateOnLoad={true}
/>
</div>
@@ -55,7 +59,7 @@ export default function LandingPage() {
tagAnimation="slide-up"
buttons={[
{ text: "🔥 Explore Menu", href: "#menu" },
{ text: "🛵 Order Online", href: "#contact" }
{ text: "🛵 Order Online", href: "https://www.swiggy.com", onClick: handleOrderClick }
]}
buttonAnimation="blur-reveal"
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"
textboxLayout="default"
useInvertedBackground={false}
buttons={[{ text: "View Full Menu", href: "#" }]}
buttons={[{ text: "View Full Menu", href: "https://www.swiggy.com" }]}
/>
</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"
imageAlt="The Epic Burger Restaurant Interior"
useInvertedBackground={false}
buttons={[{ text: "Reserve a Table", href: "#contact" }]}
buttons={[{ text: "Reserve a Table", href: "https://www.swiggy.com" }]}
/>
</div>
@@ -207,6 +211,7 @@ export default function LandingPage() {
inputPlaceholder="Enter your email for updates"
buttonText="Order Now"
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>