Switch to version 2: modified src/pages/HomePage.tsx
This commit is contained in:
@@ -1,97 +1,36 @@
|
||||
import { motion } from "motion/react";
|
||||
// AUTO-GENERATED shell by per-section-migrate.
|
||||
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
|
||||
// files directly. Non-block content (wrappers, non-inlinable sections) is
|
||||
// preserved inline; extracted section blocks become <XSection/> refs.
|
||||
|
||||
import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
|
||||
import HeroExpand from "@/components/sections/hero/HeroExpand";
|
||||
import AboutParallax from "@/components/sections/about/AboutParallax";
|
||||
import FeaturesAttributeCards from "@/components/sections/features/FeaturesAttributeCards";
|
||||
import FeaturesMediaGrid from "@/components/sections/features/FeaturesMediaGrid";
|
||||
import FeaturesRevealCardsBento from "@/components/sections/features/FeaturesRevealCardsBento";
|
||||
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
|
||||
import React from 'react';
|
||||
import HeroSection from './HomePage/sections/Hero';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import RoomsSection from './HomePage/sections/Rooms';
|
||||
import ExperienceSection from './HomePage/sections/Experience';
|
||||
import JourneysSection from './HomePage/sections/Journeys';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage() {
|
||||
|
||||
import ReviewsSection from './HomePage/sections/Reviews';export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<StyleProvider siteBackground="none" heroBackground="none" buttonVariant="default">
|
||||
<StyleProvider siteBackground="none" heroBackground="none" buttonVariant="default">
|
||||
<SiteBackgroundSlot />
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroExpand
|
||||
title="Gourmet Haven"
|
||||
videoSrc="http://img.b2bpic.net/free-photo/atmosphere-kitchen-cafe-process_1321-4214.jpg"
|
||||
primaryButton={{ text: "View Menu", href: "#rooms" }}
|
||||
secondaryButton={{ text: "Book a Table", href: "#contact" }}
|
||||
/>
|
||||
</div>
|
||||
<HeroSection />
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<AboutParallax
|
||||
tag="Our Philosophy"
|
||||
title="Culinary Artistry in Every Dish"
|
||||
description="At Gourmet Haven, we believe that dining is an immersive experience. Our chefs combine locally sourced ingredients with centuries-old culinary techniques to create unforgettable plates."
|
||||
frontImageSrc="http://img.b2bpic.net/free-photo/cook-holding-plate-with-salad-near-service-bell_23-2148040240.jpg"
|
||||
backImageSrc="http://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8729.jpg"
|
||||
badge="Est. 1998"
|
||||
/>
|
||||
</div>
|
||||
<AboutSection />
|
||||
|
||||
<div id="rooms" data-section="rooms">
|
||||
<FeaturesAttributeCards
|
||||
tag="Menu Highlights"
|
||||
title="Signature Selections"
|
||||
description="A curated collection of our most celebrated dishes, crafted to perfection."
|
||||
items={[
|
||||
{ title: "Truffle Infused Risotto", tags: "Vegetarian, Rich, Seasonal", badge: "Chef's Choice", details: [{ icon: "ChefHat", label: "Prep", value: "30m" }, { icon: "Flame", label: "Heat", value: "Medium" }, { icon: "Award", label: "Rating", value: "4.9" }], imageSrc: "http://img.b2bpic.net/free-photo/top-view-yummy-chocolate-cake-with-chocolate-chips-grey-surface_140725-115540.jpg" },
|
||||
{ title: "Seared Atlantic Scallops", tags: "Seafood, Fresh, Delicate", badge: null, details: [{ icon: "ChefHat", label: "Prep", value: "20m" }, { icon: "Flame", label: "Heat", value: "High" }, { icon: "Award", label: "Rating", value: "4.8" }], imageSrc: "http://img.b2bpic.net/free-photo/seared-scallops-with-avocado-puree_23-2151942388.jpg" },
|
||||
{ title: "Wagyu Ribeye Steak", tags: "Premium, Savory, Aged", badge: "Top Seller", details: [{ icon: "ChefHat", label: "Prep", value: "45m" }, { icon: "Flame", label: "Heat", value: "High" }, { icon: "Award", label: "Rating", value: "5.0" }], imageSrc: "http://img.b2bpic.net/free-photo/closeup-juicy-piece-kebab-with-cranberry-puree_651396-1445.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<RoomsSection />
|
||||
|
||||
<div id="experience" data-section="experience">
|
||||
<FeaturesMediaGrid
|
||||
tag="Dining Experience"
|
||||
title="Atmosphere & Ambience"
|
||||
description="From intimate dinners to lively celebrations, discover the unique settings we offer for your next meal."
|
||||
items={[
|
||||
{ title: "Garden Terrace", description: "Open-air dining under the stars with soft ambient lighting", imageSrc: "http://img.b2bpic.net/free-photo/rustic-patio-with-deck-furniture-vegetation_23-2150698354.jpg" },
|
||||
{ title: "Private Wine Cellar", description: "Exclusive tastings paired with our sommelier's finest selection", imageSrc: "http://img.b2bpic.net/free-photo/people-meeting-family-reunion_23-2149153712.jpg" },
|
||||
{ title: "Chef's Counter", description: "Watch the magic happen live with our open kitchen experience", imageSrc: "http://img.b2bpic.net/free-photo/chef-working-together-professional-kitchen_23-2149727958.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<ExperienceSection />
|
||||
|
||||
<div id="journeys" data-section="journeys">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Our Story"
|
||||
title="Behind the Kitchen"
|
||||
description="Meet the passion and dedication that goes into every single plate at Gourmet Haven."
|
||||
items={[
|
||||
{ title: "Sourcing", description: "Working directly with local farmers for the freshest ingredients", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/fresh-organic-vegetable-farmers-market_23-2148209779.jpg" },
|
||||
{ title: "Craft", description: "Mastering the art of traditional methods", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/female-chef-kitchen-preparing-plate-steak_23-2149720768.jpg" },
|
||||
{ title: "Vision", description: "Creating memories through modern gastronomy", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/front-view-fresh-vegetable-salad-fork-dark_140725-153934.jpg" },
|
||||
{ title: "Wine", description: "Curating the finest global vineyards", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/side-view-red-wine-glass-white-vertical_176474-4128.jpg" },
|
||||
{ title: "Service", description: "Unparalleled attention to every detail", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/waiters-holding-plate-grilled-salmon-mashed-potato-topped-with-red-caviar-asparagus_140725-519.jpg" },
|
||||
{ title: "Passion", description: "Heart and soul in every bite", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-professional-chefs-working-together_23-2151232189.jpg" },
|
||||
{ title: "Community", description: "Serving our local neighborhood with love", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/front-view-people-with-delicious-cocktails_23-2150124812.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<JourneysSection />
|
||||
<ReviewsSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplitForm
|
||||
tag="Reservations"
|
||||
title="Secure Your Table"
|
||||
description="Join us for an exquisite dining journey. We recommend booking in advance, especially for weekend dinner service."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Guest Name", required: true },
|
||||
{ name: "guests", type: "number", placeholder: "Number of Guests", required: true },
|
||||
{ name: "date", type: "date", placeholder: "Preferred Date" },
|
||||
{ name: "time", type: "time", placeholder: "Preferred Time" }
|
||||
]}
|
||||
textarea={{ name: "requests", placeholder: "Dietary requirements or special requests?", rows: 4 }}
|
||||
buttonText="Reserve Now"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"
|
||||
/>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</StyleProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user