Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c51633c69 | |||
| a3a9310d3e | |||
| d09f9583ea | |||
| b69027812f | |||
| 601a5a2ae2 | |||
| 3898c797c5 | |||
| 3c1c7ebbf6 | |||
| 9f05da55b6 | |||
| 49c729ff09 |
@@ -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"
|
||||
@@ -32,10 +36,10 @@ export default function LandingPage() {
|
||||
navItems={[
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Location", id: "location" },
|
||||
{ name: "Contact", id: "contact" }
|
||||
{ name: "Services", id: "services" },
|
||||
{ name: "Contact", id: "cta" }
|
||||
]}
|
||||
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: "Order Now", onClick: handleOrderClick }]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -100,8 +104,11 @@ export default function LandingPage() {
|
||||
description="Join thousands of satisfied burger lovers who have experienced The Epic Burger"
|
||||
tag="Social Proof"
|
||||
tagIcon={Star}
|
||||
tagAnimation="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
animationType="slide-up"
|
||||
showRating={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Rajesh Kumar", handle: "@rajesh_pune", testimonial: "Best burgers of my life. The patties are juicy and the ingredients taste premium. Absolutely worth every rupee!", rating: 5,
|
||||
@@ -128,8 +135,6 @@ export default function LandingPage() {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/business-woman-posing-street_23-2148213468.jpg", imageAlt: "Anjali Gupta"
|
||||
}
|
||||
]}
|
||||
showRating={true}
|
||||
animationType="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -142,7 +147,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>
|
||||
|
||||
@@ -176,6 +181,7 @@ export default function LandingPage() {
|
||||
title="Food Gallery"
|
||||
description="Visual journey through our premium burger collection and restaurant ambiance"
|
||||
tag="Gallery"
|
||||
tagIcon={Flame}
|
||||
tagAnimation="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
@@ -204,9 +210,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."
|
||||
background={{ variant: "rotated-rays-animated" }}
|
||||
useInvertedBackground={false}
|
||||
inputPlaceholder="Enter your email for updates"
|
||||
inputPlaceholder="Enter email to order"
|
||||
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>
|
||||
|
||||
@@ -219,4 +226,4 @@ export default function LandingPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user