Update src/app/page.tsx

This commit is contained in:
2026-04-12 04:15:03 +00:00
parent e6f14aab56
commit 1f9fa8f65b

View File

@@ -30,26 +30,11 @@ export default function LandingPage() {
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{
name: "Home",
id: "#hero",
},
{
name: "Menu",
id: "#menu",
},
{
name: "About",
id: "#about",
},
{
name: "Gallery",
id: "#gallery",
},
{
name: "Reserve",
id: "#contact",
},
{ name: "Home", id: "#hero" },
{ name: "Menu", id: "#menu" },
{ name: "About", id: "#about" },
{ name: "Gallery", id: "#gallery" },
{ name: "Reserve", id: "#contact" },
]}
brandName="Elegance Dining"
/>
@@ -58,104 +43,33 @@ export default function LandingPage() {
<div id="hero" data-section="hero">
<HeroSplitTestimonial
useInvertedBackground={false}
background={{
variant: "radial-gradient",
}}
background={{ variant: "radial-gradient" }}
title="Experience Authentic Taste Like Never Before"
description="Delicious Moments, Crafted Fresh Every Day. Indulge in our exquisite menu featuring the finest ingredients and culinary artistry, curated for the true food enthusiast."
testimonials={[
{
name: "Alice Wong",
handle: "@alicewong",
testimonial: "An incredible experience. The best flavors I have ever encountered.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/couple-having-date-together-luxurious-restaurant_23-2150517424.jpg",
},
{
name: "John Doe",
handle: "@johndoe",
testimonial: "Absolutely breathtaking. Every dish tells a story of perfection.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-having-lunch-luxury-restaurant_23-2150598350.jpg",
},
{
name: "Sarah Miller",
handle: "@smiller",
testimonial: "The atmosphere and food are world-class. Highly recommended.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/married-couple-facing-camera_23-2148060459.jpg",
},
{
name: "James Smith",
handle: "@jsmith",
testimonial: "Refined and elegant. A true masterpiece of fine dining.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-holding-hands-with-her-lover_23-2148060335.jpg",
},
{
name: "Elena Rossi",
handle: "@erossi",
testimonial: "Exquisite service paired with bold, innovative flavors.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/man-presents-girl-ring_1398-4220.jpg",
},
{ name: "Alice Wong", handle: "@alicewong", testimonial: "An incredible experience. The best flavors I have ever encountered.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/couple-having-date-together-luxurious-restaurant_23-2150517424.jpg" },
{ name: "John Doe", handle: "@johndoe", testimonial: "Absolutely breathtaking. Every dish tells a story of perfection.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-having-lunch-luxury-restaurant_23-2150598350.jpg" },
{ name: "Sarah Miller", handle: "@smiller", testimonial: "The atmosphere and food are world-class. Highly recommended.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/married-couple-facing-camera_23-2148060459.jpg" },
{ name: "James Smith", handle: "@jsmith", testimonial: "Refined and elegant. A true masterpiece of fine dining.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-holding-hands-with-her-lover_23-2148060335.jpg" },
{ name: "Elena Rossi", handle: "@erossi", testimonial: "Exquisite service paired with bold, innovative flavors.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/man-presents-girl-ring_1398-4220.jpg" },
]}
buttons={[
{
text: "Order Now",
href: "#menu",
},
{
text: "Book Table",
href: "#contact",
},
]}
imageSrc="http://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-dark-grey-space_140725-83767.jpg?_wi=1"
buttons={[{ text: "Order Now", href: "#menu" }, { text: "Book Table", href: "#contact" }]}
imageSrc="http://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-dark-grey-space_140725-83767.jpg"
imageAlt="Luxury restaurant hero"
mediaAnimation="blur-reveal"
avatars={[
{
src: "http://img.b2bpic.net/free-photo/portrait-man-proposing-his-lover_23-2148060599.jpg",
alt: "Diner portrait",
},
{
src: "http://img.b2bpic.net/free-photo/medium-shot-couple-having-lunch-luxury-restaurant_23-2150598413.jpg",
alt: "Diner portrait",
},
{
src: "http://img.b2bpic.net/free-photo/friends-eating-conversating-restaurant_23-2148006711.jpg",
alt: "Diner portrait",
},
{
src: "http://img.b2bpic.net/free-photo/lovely-couple-enjoying-new-year-party_23-2149173295.jpg",
alt: "Diner portrait",
},
{
src: "http://img.b2bpic.net/free-photo/people-cheering-with-wine-glasses-luxurious-restaurant_23-2150517417.jpg",
alt: "Diner portrait",
},
{ src: "http://img.b2bpic.net/free-photo/portrait-man-proposing-his-lover_23-2148060599.jpg", alt: "Diner portrait" },
{ src: "http://img.b2bpic.net/free-photo/medium-shot-couple-having-lunch-luxury-restaurant_23-2150598413.jpg", alt: "Diner portrait" },
{ src: "http://img.b2bpic.net/free-photo/friends-eating-conversating-restaurant_23-2148006711.jpg", alt: "Diner portrait" },
{ src: "http://img.b2bpic.net/free-photo/lovely-couple-enjoying-new-year-party_23-2149173295.jpg", alt: "Diner portrait" },
{ src: "http://img.b2bpic.net/free-photo/people-cheering-with-wine-glasses-luxurious-restaurant_23-2150517417.jpg", alt: "Diner portrait" },
]}
marqueeItems={[
{
type: "text",
text: "Michelin Star Rated",
},
{
type: "text",
text: "Sustainable Sourcing",
},
{
type: "text",
text: "Global Culinary Arts",
},
{
type: "text",
text: "Fine Dining Excellence",
},
{
type: "text",
text: "Organic Ingredients",
},
{ type: "text", text: "Michelin Star Rated" },
{ type: "text", text: "Sustainable Sourcing" },
{ type: "text", text: "Global Culinary Arts" },
{ type: "text", text: "Fine Dining Excellence" },
{ type: "text", text: "Organic Ingredients" },
]}
/>
</div>
@@ -167,48 +81,12 @@ export default function LandingPage() {
gridVariant="uniform-all-items-equal"
useInvertedBackground={true}
products={[
{
id: "1",
name: "Saffron Risotto",
price: "$28",
variant: "Starter",
imageSrc: "http://img.b2bpic.net/free-photo/scallops-shell-with-bacon-asparagus_1203-9397.jpg?_wi=1",
},
{
id: "2",
name: "Truffle Pasta",
price: "$32",
variant: "Main",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-scoop-ice-cream-with-herbs_23-2148425548.jpg?_wi=1",
},
{
id: "3",
name: "Chocolate Sphere",
price: "$18",
variant: "Dessert",
imageSrc: "http://img.b2bpic.net/free-photo/golden-dyed-chocolate-volcano-served-with-vanilla-ice-cream-berries-tea_141793-2309.jpg",
},
{
id: "4",
name: "Grilled Salmon",
price: "$34",
variant: "Main",
imageSrc: "http://img.b2bpic.net/free-photo/bread-bun-thymes-olive-oil-white-napkin-slate-against-black-background_23-2147975087.jpg",
},
{
id: "5",
name: "Wild Mushroom Soup",
price: "$16",
variant: "Starter",
imageSrc: "http://img.b2bpic.net/free-photo/cooked-vegetables-served-white-plate_1304-4025.jpg",
},
{
id: "6",
name: "Exotic Fruit Sorbet",
price: "$14",
variant: "Dessert",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-smoke-cooked-food_23-2151259636.jpg",
},
{ id: "1", name: "Saffron Risotto", price: "$28", variant: "Starter", imageSrc: "http://img.b2bpic.net/free-photo/scallops-shell-with-bacon-asparagus_1203-9397.jpg" },
{ id: "2", name: "Truffle Pasta", price: "$32", variant: "Main", imageSrc: "http://img.b2bpic.net/free-photo/top-view-scoop-ice-cream-with-herbs_23-2148425548.jpg" },
{ id: "3", name: "Chocolate Sphere", price: "$18", variant: "Dessert", imageSrc: "http://img.b2bpic.net/free-photo/golden-dyed-chocolate-volcano-served-with-vanilla-ice-cream-berries-tea_141793-2309.jpg" },
{ id: "4", name: "Grilled Salmon", price: "$34", variant: "Main", imageSrc: "http://img.b2bpic.net/free-photo/bread-bun-thymes-olive-oil-white-napkin-slate-against-black-background_23-2147975087.jpg" },
{ id: "5", name: "Wild Mushroom Soup", price: "$16", variant: "Starter", imageSrc: "http://img.b2bpic.net/free-photo/cooked-vegetables-served-white-plate_1304-4025.jpg" },
{ id: "6", name: "Exotic Fruit Sorbet", price: "$14", variant: "Dessert", imageSrc: "http://img.b2bpic.net/free-photo/delicious-smoke-cooked-food_23-2151259636.jpg" },
]}
title="Signature Dishes"
description="Discover our most celebrated culinary creations, prepared with passion and precision."
@@ -233,46 +111,14 @@ export default function LandingPage() {
textboxLayout="default"
useInvertedBackground={true}
features={[
{
title: "Atmosphere",
description: "Luxury redefined in every detail.",
phoneOne: {
imageSrc: "http://img.b2bpic.net/free-photo/there-are-glasses-wine-water-table-with-white-cloth-are-ready-dining_613910-3428.jpg",
},
phoneTwo: {
imageSrc: "http://img.b2bpic.net/free-photo/light-symmetry-historic-atrium-upward-view-through-stairs_169016-70079.jpg",
},
imageSrc: "http://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-dark-grey-space_140725-83767.jpg?_wi=2",
imageAlt: "modern luxury restaurant interior decor",
},
{
title: "Drinks",
description: "Finest selections for connoisseurs.",
phoneOne: {
imageSrc: "http://img.b2bpic.net/free-photo/glass-foamy-cocktail-garnished-with-dried-rose-petal-pieces-egg-shell_140725-6032.jpg",
},
phoneTwo: {
imageSrc: "http://img.b2bpic.net/free-photo/elegant-gourmet-dessert-with-ice-cream-edible-flowers_23-2151973721.jpg",
},
imageSrc: "http://img.b2bpic.net/free-photo/scallops-shell-with-bacon-asparagus_1203-9397.jpg?_wi=2",
imageAlt: "modern luxury restaurant interior decor",
},
{
title: "Craft",
description: "Fresh ingredients meet expertise.",
phoneOne: {
imageSrc: "http://img.b2bpic.net/free-photo/man-preparing-salad-with-fresh-vegetables-wooden-table-cooking-tasty-healthy-food-black-background-vegetarian-food-healthy-cooking-concept_639032-425.jpg",
},
phoneTwo: {
imageSrc: "http://img.b2bpic.net/free-photo/chocolate-dough-with-raspberry-strawberry-cream_140725-9382.jpg",
},
imageSrc: "http://img.b2bpic.net/free-photo/top-view-scoop-ice-cream-with-herbs_23-2148425548.jpg?_wi=2",
imageAlt: "modern luxury restaurant interior decor",
},
{ title: "Atmosphere", description: "Luxury redefined in every detail.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/there-are-glasses-wine-water-table-with-white-cloth-are-ready-dining_613910-3428.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/light-symmetry-historic-atrium-upward-view-through-stairs_169016-70079.jpg" } },
{ title: "Drinks", description: "Finest selections for connoisseurs.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/glass-foamy-cocktail-garnished-with-dried-rose-petal-pieces-egg-shell_140725-6032.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/elegant-gourmet-dessert-with-ice-cream-edible-flowers_23-2151973721.jpg" } },
{ title: "Craft", description: "Fresh ingredients meet expertise.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/man-preparing-salad-with-fresh-vegetables-wooden-table-cooking-tasty-healthy-food-black-background-vegetarian-food-healthy-cooking-concept_639032-425.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/chocolate-dough-with-raspberry-strawberry-cream_140725-9382.jpg" } },
]}
showStepNumbers={false}
title="Ambiance & Culinary Arts"
description="A glimpse into the elegance, flavors, and moments shared at Elegance Dining."
animationType="blur-reveal"
/>
</div>
@@ -282,60 +128,16 @@ export default function LandingPage() {
textboxLayout="split"
useInvertedBackground={false}
testimonials={[
{
id: "1",
name: "Sarah W.",
role: "Food Critic",
company: "Daily Eats",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/couple-having-date-together-luxurious-restaurant_23-2150517420.jpg",
},
{
id: "2",
name: "Mark R.",
role: "Patron",
company: "Local Guide",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-women-with-delicious-food_23-2149250117.jpg",
},
{
id: "3",
name: "Emily P.",
role: "Foodie",
company: "Social",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-people-enjoying-christmas-dinner_23-2149144969.jpg",
},
{
id: "4",
name: "David L.",
role: "Regular",
company: "Business",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/thumbs-up-spa-smiling-girl-white-robe-good-wellness-vibes_169016-69478.jpg",
},
{
id: "5",
name: "Karen T.",
role: "Patron",
company: "Traveler",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-woman-hands-holds-two-burgers-blurred-background_169016-43765.jpg",
},
{ id: "1", name: "Sarah W.", role: "Food Critic", company: "Daily Eats", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/couple-having-date-together-luxurious-restaurant_23-2150517420.jpg" },
{ id: "2", name: "Mark R.", role: "Patron", company: "Local Guide", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-women-with-delicious-food_23-2149250117.jpg" },
{ id: "3", name: "Emily P.", role: "Foodie", company: "Social", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-people-enjoying-christmas-dinner_23-2149144969.jpg" },
{ id: "4", name: "David L.", role: "Regular", company: "Business", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/thumbs-up-spa-smiling-girl-white-robe-good-wellness-vibes_169016-69478.jpg" },
{ id: "5", name: "Karen T.", role: "Patron", company: "Traveler", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-woman-hands-holds-two-burgers-blurred-background_169016-43765.jpg" },
]}
kpiItems={[
{
value: "15K+",
label: "Happy Guests",
},
{
value: "4.9",
label: "Rating",
},
{
value: "20+",
label: "Signature Dishes",
},
{ value: "15K+", label: "Happy Guests" },
{ value: "4.9", label: "Rating" },
{ value: "20+", label: "Signature Dishes" },
]}
title="Voices of Our Guests"
description="Hear what our patrons have to say about their journey with us."
@@ -348,24 +150,10 @@ export default function LandingPage() {
title="Reserve Your Table"
description="Join us for an unforgettable meal. Book your reservation or order online today."
inputs={[
{
name: "name",
type: "text",
placeholder: "Your Name",
required: true,
},
{
name: "email",
type: "email",
placeholder: "Email Address",
required: true,
},
{ name: "name", type: "text", placeholder: "Your Name", required: true },
{ name: "email", type: "email", placeholder: "Email Address", required: true },
]}
textarea={{
name: "message",
placeholder: "Special requests or reservation details",
rows: 4,
}}
textarea={{ name: "message", placeholder: "Special requests or reservation details", rows: 4 }}
imageSrc="http://img.b2bpic.net/free-photo/round-base-clear-drinking-glasses-brown-wooden-table-round-black-white-pendant-lamp_410324-63.jpg"
buttonText="Submit Request"
/>
@@ -376,21 +164,9 @@ export default function LandingPage() {
logoText="Elegance Dining"
copyrightText="© 2025 Elegance Dining. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
ariaLabel: "Instagram",
},
{
icon: Facebook,
href: "#",
ariaLabel: "Facebook",
},
{
icon: Twitter,
href: "#",
ariaLabel: "Twitter",
},
{ icon: Instagram, href: "#", ariaLabel: "Instagram" },
{ icon: Facebook, href: "#", ariaLabel: "Facebook" },
{ icon: Twitter, href: "#", ariaLabel: "Twitter" },
]}
/>
</div>