Merge version_2 into main
Merge version_2 into main
This commit was merged in pull request #9.
This commit is contained in:
@@ -11,8 +11,8 @@ import { Playfair_Display, Inter } from "next/font/google";
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'L\'Elegante Ristorante',
|
||||
description: 'Experience authentic Italian elegance and handcrafted flavors.',
|
||||
title: 'Welcome',
|
||||
description: 'Our official website.',
|
||||
openGraph: {
|
||||
"title": "L'Elegante | Authentic Italian Fine Dining",
|
||||
"description": "Join us for an unforgettable evening of culinary tradition.",
|
||||
|
||||
105
src/app/page.tsx
105
src/app/page.tsx
@@ -1,19 +1,23 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
|
||||
import HeroBillboardScroll from "@/components/sections/hero/HeroBillboardScroll";
|
||||
import TextAbout from "@/components/sections/about/TextAbout";
|
||||
import ProductCardOne from "@/components/sections/product/ProductCardOne";
|
||||
import FeatureCardSeven from "@/components/sections/feature/FeatureCardSeven";
|
||||
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
|
||||
import FooterSimple from "@/components/sections/footer/FooterSimple";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
|
||||
import TextAbout from '@/components/sections/about/TextAbout';
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
|
||||
export default function LandingPage() {
|
||||
const navItems = [
|
||||
{ name: "Home", id: "/" },
|
||||
];
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="bounce-effect"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
defaultButtonVariant="text-stagger"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
@@ -24,94 +28,51 @@ export default function LandingPage() {
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "Gallery", id: "gallery" },
|
||||
{ name: "Reservation", id: "reservation" },
|
||||
{ name: "Contact", id: "contact" }
|
||||
]}
|
||||
/>
|
||||
<NavbarStyleFullscreen navItems={navItems} />
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardScroll
|
||||
title="Authentic Italian Elegance, Timeless Flavors"
|
||||
description="Experience genuine Italian hospitality in our intimate dining space. Savor handcrafted dishes inspired by regional traditions."
|
||||
background={{ variant: "radial-gradient" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/two-glasses-champagne-sparkling-wine-standing-table_7502-10070.jpg"
|
||||
imageAlt="Luxurious dining atmosphere at L'Elegante"
|
||||
buttons={[{ text: "Reserve Your Table", href: "#reservation" }]}
|
||||
title="Welcome to our site"
|
||||
description="Experience the best services tailored for you."
|
||||
background={{ variant: "animated-grid" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<TextAbout
|
||||
title="Our Story"
|
||||
useInvertedBackground={false}
|
||||
buttons={[{ text: "Learn More", href: "#" }]}
|
||||
title="About Us"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="menu" data-section="menu">
|
||||
<ProductCardOne
|
||||
title="Our Menu"
|
||||
description="Savor our seasonal ingredients and time-honored family recipes."
|
||||
gridVariant="two-columns-alternating-heights"
|
||||
description="Delicious offerings for everyone."
|
||||
gridVariant="uniform-all-items-equal"
|
||||
animationType="slide-up"
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{ id: "1", name: "Classic Burrata", price: "$18", imageSrc: "http://img.b2bpic.net/free-photo/gourmet-seafood-dish-with-white-wine_84443-82012.jpg" },
|
||||
{ id: "2", name: "Osso Buco", price: "$38", imageSrc: "http://img.b2bpic.net/free-photo/vertical-view-salmon-fish-brown-wooden-cutting-board-with-green-pepper-fir-branches-cutlery-set-fallen-oil-bottle-tomato-salt-pepper-dark-table_140725-143816.jpg" },
|
||||
{ id: "3", name: "Tiramisu Tradizionale", price: "$12", imageSrc: "http://img.b2bpic.net/free-photo/classic-italian-dessert-tiramisu-decorated-with-strawberries-cherries-mint-white-background_127032-3068.jpg" }
|
||||
]}
|
||||
textboxLayout="default"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="gallery" data-section="gallery">
|
||||
<FeatureCardSeven
|
||||
title="Atmosphere"
|
||||
description="A glimpse into our world."
|
||||
animationType="blur-reveal"
|
||||
textboxLayout="inline-image"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{ id: 1, title: "Intimate Dining", description: "Soft lighting and warm, velvet decor create the perfect environment.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-tasting-wine_23-2149428830.jpg" },
|
||||
{ id: 2, title: "Exquisite Bar", description: "Enjoy a curated selection of fine wines.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-dining-tables-without-food_23-2150157776.jpg" },
|
||||
{ id: 3, title: "Traditional Charm", description: "Every detail reflects the rich heritage of Italy.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-tasting-wine_23-2149428830.jpg" }
|
||||
]}
|
||||
title="Gallery"
|
||||
description="Check out our latest work."
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
features={[]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="reservation" data-section="reservation">
|
||||
<ContactSplitForm
|
||||
title="Book a Table"
|
||||
description="Secure your spot for an unforgettable evening."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Name", required: true },
|
||||
{ name: "date", type: "date", placeholder: "Date", required: true },
|
||||
{ name: "time", type: "time", placeholder: "Time", required: true },
|
||||
{ name: "guests", type: "number", placeholder: "Number of Guests", required: true },
|
||||
{ name: "phone", type: "tel", placeholder: "Phone Number", required: true }
|
||||
]}
|
||||
title="Make a Reservation"
|
||||
description="Contact us for bookings."
|
||||
inputs={[{ name: "name", type: "text", placeholder: "Your Name" }, { name: "email", type: "email", placeholder: "Your Email" }]}
|
||||
mediaAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/vertical-shot-black-rough-concrete-wall_181624-15392.jpg"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{ title: "Location", items: [{ label: "123 Via Roma, Florence", href: "#" }] },
|
||||
{ title: "Hours", items: [{ label: "Tue-Sun: 5PM - 11PM", href: "#" }] },
|
||||
{ title: "Contact", items: [{ label: "+39 055 123 4567", href: "tel:+390551234567" }, { label: "info@lelegante.it", href: "mailto:info@lelegante.it" }] }
|
||||
]}
|
||||
bottomLeftText="© 2024 L'Elegante Ristorante"
|
||||
bottomRightText="Crafted with Tradition"
|
||||
columns={[]}
|
||||
bottomLeftText="© 2024"
|
||||
bottomRightText="All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user