266 lines
15 KiB
TypeScript
266 lines
15 KiB
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import Link from "next/link";
|
|
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
|
|
import HeroBillboardCarousel from "@/components/sections/hero/HeroBillboardCarousel";
|
|
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
|
|
import FeatureCardSix from "@/components/sections/feature/FeatureCardSix";
|
|
import ProductCardThree from "@/components/sections/product/ProductCardThree";
|
|
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
|
|
import ContactSplit from "@/components/sections/contact/ContactSplit";
|
|
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
|
|
import { Sparkles, Heart, ChefHat, Utensils, Star, Camera, Mail } from "lucide-react";
|
|
|
|
export default function HomePage() {
|
|
const navItems = [
|
|
{ name: "Home", id: "/" },
|
|
{ name: "Menu", id: "/menu" },
|
|
{ name: "About", id: "/about" },
|
|
{ name: "Gallery", id: "/gallery" },
|
|
{ name: "Contact", id: "/contact" },
|
|
];
|
|
|
|
const handleNavClick = (id: string) => {
|
|
if (id === "/") {
|
|
window.location.href = "/";
|
|
} else if (id === "/menu") {
|
|
window.location.href = "/menu";
|
|
} else if (id === "/about") {
|
|
window.location.href = "/about";
|
|
} else if (id === "/gallery") {
|
|
window.location.href = "/gallery";
|
|
} else if (id === "/contact") {
|
|
window.location.href = "/contact";
|
|
} else {
|
|
const element = document.getElementById(id);
|
|
if (element) {
|
|
element.scrollIntoView({ behavior: "smooth" });
|
|
}
|
|
}
|
|
};
|
|
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="hover-bubble"
|
|
defaultTextAnimation="reveal-blur"
|
|
borderRadius="soft"
|
|
contentWidth="small"
|
|
sizing="mediumSizeLargeTitles"
|
|
background="fluid"
|
|
cardStyle="solid"
|
|
primaryButtonStyle="radial-glow"
|
|
secondaryButtonStyle="glass"
|
|
headingFontWeight="semibold"
|
|
>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarLayoutFloatingInline
|
|
brandName="Restaurant"
|
|
navItems={navItems}
|
|
button={{
|
|
text: "Book a Table", href: "/", onClick: () => handleNavClick("reservations"),
|
|
}}
|
|
animateOnLoad={true}
|
|
/>
|
|
</div>
|
|
|
|
<div id="hero" data-section="hero">
|
|
<HeroBillboardCarousel
|
|
title="Experience Fine Dining Excellence"
|
|
description="Discover culinary masterpieces crafted with the finest ingredients and passion. Reserve your table for an unforgettable evening."
|
|
tag="Premium Cuisine"
|
|
tagIcon={Sparkles}
|
|
tagAnimation="slide-up"
|
|
background={{ variant: "radial-gradient" }}
|
|
buttons={[
|
|
{ text: "View Menu", href: "/menu" },
|
|
{ text: "Book a Table", href: "/" },
|
|
]}
|
|
buttonAnimation="slide-up"
|
|
mediaItems={[
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/fried-meat-with-chips-vegetables_140725-352.jpg", imageAlt: "Elegant plated dish with herb garnish"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-classic-toast-appetizer-wooden-backdrop_23-2147922320.jpg", imageAlt: "Gourmet appetizer presentation"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/bass-fish-dish-arrangement_23-2148950224.jpg", imageAlt: "Fine dining main course"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/side-close-up-view-cake-cake-with-waffles-red-currants-green-sauce-bowls-sweets_140725-71831.jpg", imageAlt: "Artistic dessert creation"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/restaurant-hall-with-round-table-some-chairs-fireplace-plants_140725-8034.jpg", imageAlt: "Restaurant interior ambiance"},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="about" data-section="about">
|
|
<MetricSplitMediaAbout
|
|
tag="Our Story"
|
|
tagIcon={Heart}
|
|
tagAnimation="slide-up"
|
|
title="Crafted with Passion and Tradition"
|
|
description="Our restaurant celebrates the art of fine dining with a commitment to sourcing the finest local and international ingredients. For over two decades, we have been dedicated to creating memorable dining experiences that blend culinary innovation with timeless techniques."
|
|
metrics={[
|
|
{ value: "20+", title: "Years of Excellence" },
|
|
{ value: "5★", title: "Guest Satisfaction" },
|
|
]}
|
|
imageSrc="http://img.b2bpic.net/free-photo/fine-cuisine-design-made-by-chef-his-restaurant-kitchen_482257-10352.jpg"
|
|
imageAlt="Chef preparing signature dish"
|
|
useInvertedBackground={true}
|
|
mediaAnimation="slide-up"
|
|
metricsAnimation="slide-up"
|
|
/>
|
|
</div>
|
|
|
|
<div id="featured" data-section="featured">
|
|
<FeatureCardSix
|
|
title="Our Culinary Journey"
|
|
description="From concept to plate, each dish tells a story of dedication and expertise"
|
|
tag="Process"
|
|
tagIcon={ChefHat}
|
|
tagAnimation="slide-up"
|
|
textboxLayout="default"
|
|
useInvertedBackground={false}
|
|
features={[
|
|
{
|
|
id: 1,
|
|
title: "Premium Sourcing", description: "We partner with local farmers and international suppliers to ensure only the finest, freshest ingredients reach our kitchen.", imageSrc: "http://img.b2bpic.net/free-photo/vegetables-mix-wooden-table_114579-6095.jpg"},
|
|
{
|
|
id: 2,
|
|
title: "Master Preparation", description: "Our award-winning chefs employ classical French techniques combined with contemporary culinary innovation to create stunning dishes.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-chef-cutting-head-fish-chopping-board-pepper-grinder-flour-bowl-pomegranate-seeds-bowl-vegetables-kitchen-table_179666-46856.jpg"},
|
|
{
|
|
id: 3,
|
|
title: "Artistic Plating", description: "Every plate is a canvas where taste meets visual artistry, creating an experience that delights all the senses.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-grey-space_140725-83769.jpg"},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="products" data-section="products">
|
|
<ProductCardThree
|
|
title="Featured Specialties"
|
|
description="Explore our most celebrated signature dishes"
|
|
tag="Menu Highlights"
|
|
tagIcon={Utensils}
|
|
tagAnimation="slide-up"
|
|
textboxLayout="default"
|
|
useInvertedBackground={true}
|
|
gridVariant="three-columns-all-equal-width"
|
|
animationType="slide-up"
|
|
products={[
|
|
{
|
|
id: "1", name: "Pan-Seared Foie Gras", price: "$48", imageSrc: "http://img.b2bpic.net/free-photo/dessert-with-ice-cream-bowl-jam-mint-side-view_141793-4401.jpg", imageAlt: "Pan-seared foie gras with berry reduction", initialQuantity: 1,
|
|
},
|
|
{
|
|
id: "2", name: "Wagyu Beef Wellington", price: "$72", imageSrc: "http://img.b2bpic.net/free-photo/ribeye-steak-teriyaki-sauce-with-glass-burgundy_114579-2160.jpg", imageAlt: "Perfectly cooked Wagyu beef wellington", initialQuantity: 1,
|
|
},
|
|
{
|
|
id: "3", name: "Lobster Thermidor", price: "$65", imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-eating-fried-fish-with-mashed-potatoes-vegetables-plate_141793-12535.jpg", imageAlt: "Classic lobster thermidor presentation", initialQuantity: 1,
|
|
},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="testimonials" data-section="testimonials">
|
|
<TestimonialCardTwo
|
|
title="What Our Guests Say"
|
|
description="Hear from those who have experienced our culinary excellence"
|
|
tag="Reviews"
|
|
tagIcon={Star}
|
|
tagAnimation="slide-up"
|
|
textboxLayout="default"
|
|
useInvertedBackground={false}
|
|
animationType="slide-up"
|
|
testimonials={[
|
|
{
|
|
id: "1", name: "Margaret Chen", role: "Restaurant Critic", testimonial: "An extraordinary dining experience. Every course was a masterpiece of flavor and presentation. The attention to detail is simply unmatched.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-bearded-man-restaurant-waiting-his-girlfriend_1157-52225.jpg", imageAlt: "Portrait of Margaret Chen"},
|
|
{
|
|
id: "2", name: "David Richardson", role: "Food Enthusiast", testimonial: "The finest meal I've had in years. The chef's innovation combined with classic techniques creates something truly special.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-portrait-with-hands-crossed_158595-2940.jpg", imageAlt: "Portrait of David Richardson"},
|
|
{
|
|
id: "3", name: "Sophie Laurent", role: "Luxury Travel Editor", testimonial: "Not just a restaurant, but a journey through culinary excellence. World-class service paired with remarkable cuisine.", imageSrc: "http://img.b2bpic.net/free-photo/thoughtful-business-woman-white-shirt_23-2148095747.jpg", imageAlt: "Portrait of Sophie Laurent"},
|
|
{
|
|
id: "4", name: "James Mitchell", role: "Food Writer", testimonial: "An oasis of elegance and sophistication. The wine pairings alone are worth the visit. Absolutely phenomenal.", imageSrc: "http://img.b2bpic.net/free-photo/happy-cheerful-young-bearded-man-stylish-headwear-having-coffee-sitting-wooden-table-modern-cafe-interior-waiting-his-girlfriend-planning-propose-her-this-sunny-day_273609-1932.jpg", imageAlt: "Portrait of James Mitchell"},
|
|
{
|
|
id: "5", name: "Isabella Rossi", role: "Hotel Concierge", testimonial: "My clients consistently rave about their experience here. It's the first recommendation I make for fine dining.", imageSrc: "http://img.b2bpic.net/free-photo/hotel-receptionist-work_23-2149661546.jpg", imageAlt: "Portrait of Isabella Rossi"},
|
|
{
|
|
id: "6", name: "Thomas Wong", role: "Celebrity Chef", testimonial: "A masterclass in execution. The precision, the flavors, the presentation - every element is perfectly balanced.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-pensive-old-man-chef-dressed-uniform-posing-against-dark-background_613910-17582.jpg", imageAlt: "Portrait of Thomas Wong"},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="gallery" data-section="gallery">
|
|
<HeroBillboardCarousel
|
|
title="Visual Experience"
|
|
description="Step into the elegance and ambiance of our restaurant through curated imagery"
|
|
tag="Gallery"
|
|
tagIcon={Camera}
|
|
tagAnimation="slide-up"
|
|
background={{ variant: "sparkles-gradient" }}
|
|
mediaItems={[
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/life-style_1122-1851.jpg", imageAlt: "Elegant dining room with warm lighting"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-vector/restaurant-web-banner-collection-with-photo_23-2147853331.jpg", imageAlt: "Beautifully plated course"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/corkscrew-corks-near-wine-bottles_23-2147764847.jpg", imageAlt: "Premium wine collection display"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-having-lunch-luxury-restaurant_23-2150598347.jpg", imageAlt: "Intimate private dining space"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/large-cocktail-glass-with-macaroons-stands-dinner-table_8353-719.jpg", imageAlt: "Artisanal dessert presentations"},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/whiskey-with-fire-table_140725-9764.jpg", imageAlt: "Sophisticated bar counter with signature cocktails"},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="contact" data-section="contact">
|
|
<ContactSplit
|
|
tag="Get In Touch"
|
|
tagIcon={Mail}
|
|
tagAnimation="slide-up"
|
|
title="Reserve Your Table Today"
|
|
description="Join us for an exceptional dining experience. Reserve your spot or send us your questions and we'll be delighted to assist you."
|
|
background={{ variant: "gradient-bars" }}
|
|
useInvertedBackground={true}
|
|
imageSrc="http://img.b2bpic.net/free-photo/plate-set-with-fork-spoon-knife_140725-1835.jpg"
|
|
imageAlt="Intimate restaurant dining setup"
|
|
mediaAnimation="slide-up"
|
|
mediaPosition="right"
|
|
inputPlaceholder="your@email.com"
|
|
buttonText="Subscribe"
|
|
termsText="We respect your privacy. Contact information is used only for restaurant updates and reservations."
|
|
/>
|
|
</div>
|
|
|
|
<div id="footer" data-section="footer">
|
|
<FooterBaseReveal
|
|
columns={[
|
|
{
|
|
title: "Restaurant", items: [
|
|
{ label: "Home", href: "/" },
|
|
{ label: "Menu", href: "/menu" },
|
|
{ label: "About Us", href: "/about" },
|
|
{ label: "Gallery", href: "/gallery" },
|
|
],
|
|
},
|
|
{
|
|
title: "Dining", items: [
|
|
{ label: "Reservations", href: "/" },
|
|
{ label: "Private Events", href: "/" },
|
|
{ label: "Wine List", href: "/" },
|
|
{ label: "Catering", href: "/" },
|
|
],
|
|
},
|
|
{
|
|
title: "Connect", items: [
|
|
{ label: "Contact", href: "/contact" },
|
|
{ label: "Phone: (555) 123-4567", href: "/" },
|
|
{ label: "Email: hello@restaurant.com", href: "/" },
|
|
{ label: "Instagram", href: "https://instagram.com" },
|
|
],
|
|
},
|
|
]}
|
|
copyrightText="© 2025 Premium Restaurant. All rights reserved."
|
|
/>
|
|
</div>
|
|
</ThemeProvider>
|
|
);
|
|
} |