Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1cf77d78af | |||
| 25ec494744 | |||
| 5f03535479 | |||
| bf3a4dc6f5 | |||
| cdb3ee1da5 |
@@ -4,7 +4,6 @@ import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Inter_Tight } from "next/font/google";
|
||||
|
||||
@@ -32,7 +31,7 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${interTight.variable} antialiased`}>
|
||||
<Tag />
|
||||
|
||||
{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
|
||||
218
src/app/page.tsx
218
src/app/page.tsx
@@ -29,21 +29,13 @@ export default function LandingPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "#hero",
|
||||
},
|
||||
name: "Home", id: "#hero"},
|
||||
{
|
||||
name: "Our Story",
|
||||
id: "#about",
|
||||
},
|
||||
name: "Our Story", id: "#about"},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "#menu",
|
||||
},
|
||||
name: "Menu", id: "#menu"},
|
||||
{
|
||||
name: "Reservation",
|
||||
id: "#contact",
|
||||
},
|
||||
name: "Reservation", id: "#contact"},
|
||||
]}
|
||||
brandName="La Cucina"
|
||||
/>
|
||||
@@ -52,72 +44,50 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{
|
||||
variant: "downward-rays-static",
|
||||
}}
|
||||
variant: "downward-rays-static"}}
|
||||
title="Taste the Tradition of Italy"
|
||||
description="Handmade pasta, wood-fired pizzas, and timeless recipes crafted with love in the heart of the city."
|
||||
kpis={[
|
||||
{
|
||||
value: "20+",
|
||||
label: "Years Experience",
|
||||
},
|
||||
value: "20+", label: "Years Experience"},
|
||||
{
|
||||
value: "50+",
|
||||
label: "Authentic Recipes",
|
||||
},
|
||||
value: "50+", label: "Authentic Recipes"},
|
||||
{
|
||||
value: "4.9★",
|
||||
label: "Client Rating",
|
||||
},
|
||||
value: "4.9★", label: "Client Rating"},
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{
|
||||
text: "Book a Table", href: "#contact"
|
||||
}
|
||||
]}
|
||||
imageSrc="https://pixabay.com/get/g9602be6476a8ab114e07125a3a2ea60c05bd0535eef6b4542befc3408a14f69e981ad9299ae8413acfc67585496616f3e893f691a637db6dff1f490cc49e59f4_1280.jpg"
|
||||
imageAlt="Italian restaurant hero dining scene"
|
||||
mediaAnimation="slide-up"
|
||||
avatars={[
|
||||
{
|
||||
src: "https://pixabay.com/get/geb19223d111403d724201dd1bdc43e2875fcdf6fd4cfbcef17931a67214f598edbd7298bfa02d28ea09212eb7f8f24a791b007c1f4607ac98444250b15dccf92_1280.jpg",
|
||||
alt: "Happy customer",
|
||||
},
|
||||
src: "https://pixabay.com/get/geb19223d111403d724201dd1bdc43e2875fcdf6fd4cfbcef17931a67214f598edbd7298bfa02d28ea09212eb7f8f24a791b007c1f4607ac98444250b15dccf92_1280.jpg", alt: "Happy customer"},
|
||||
{
|
||||
src: "https://pixabay.com/get/g7c639f7b83680a7288840e918780492d78f5c2c91009aeec06bcae7adc5d34020f3ec327f2c832f5aa2fe6266b6c9dac1ad0f5753ce40a5ce59304cd0c4d66ac_1280.jpg",
|
||||
alt: "Happy customer",
|
||||
},
|
||||
src: "https://pixabay.com/get/g7c639f7b83680a7288840e918780492d78f5c2c91009aeec06bcae7adc5d34020f3ec327f2c832f5aa2fe6266b6c9dac1ad0f5753ce40a5ce59304cd0c4d66ac_1280.jpg", alt: "Happy customer"},
|
||||
{
|
||||
src: "https://pixabay.com/get/g821dd7685c8849897a764205e4e2e3ea735379a1a2441686ba8b8b235d868d851d8d558ccd20a080ec8ecca9b966b78ecb7d3fe6d0fa916979e8bf653078846b_1280.jpg",
|
||||
alt: "Happy customer",
|
||||
},
|
||||
src: "https://pixabay.com/get/g821dd7685c8849897a764205e4e2e3ea735379a1a2441686ba8b8b235d868d851d8d558ccd20a080ec8ecca9b966b78ecb7d3fe6d0fa916979e8bf653078846b_1280.jpg", alt: "Happy customer"},
|
||||
{
|
||||
src: "https://pixabay.com/get/gc47cdcd5b775776df5ab48dbac69e8560d6a360b82b94acd571ece2343539d231a9f286d828e1c03acf2fb50b6e54da5217392d45b134d04d089bb6099d4ce97_1280.jpg",
|
||||
alt: "Happy customer",
|
||||
},
|
||||
src: "https://pixabay.com/get/gc47cdcd5b775776df5ab48dbac69e8560d6a360b82b94acd571ece2343539d231a9f286d828e1c03acf2fb50b6e54da5217392d45b134d04d089bb6099d4ce97_1280.jpg", alt: "Happy customer"},
|
||||
{
|
||||
src: "https://pixabay.com/get/geb19223d111403d724201dd1bdc43e2875fcdf6fd4cfbcef17931a67214f598edbd7298bfa02d28ea09212eb7f8f24a791b007c1f4607ac98444250b15dccf92_1280.jpg",
|
||||
alt: "Happy customer",
|
||||
},
|
||||
src: "https://pixabay.com/get/geb19223d111403d724201dd1bdc43e2875fcdf6fd4cfbcef17931a67214f598edbd7298bfa02d28ea09212eb7f8f24a791b007c1f4607ac98444250b15dccf92_1280.jpg", alt: "Happy customer"},
|
||||
]}
|
||||
avatarText="Loved by 2,000+ foodies"
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Freshly Prepared",
|
||||
},
|
||||
type: "text", text: "Freshly Prepared"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Locally Sourced",
|
||||
},
|
||||
type: "text", text: "Locally Sourced"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Traditional Techniques",
|
||||
},
|
||||
type: "text", text: "Traditional Techniques"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Family Recipe",
|
||||
},
|
||||
type: "text", text: "Family Recipe"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Authentic Italian",
|
||||
},
|
||||
type: "text", text: "Authentic Italian"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -140,59 +110,23 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
brand: "Pasta",
|
||||
name: "Tagliatelle al Ragù",
|
||||
price: "$22",
|
||||
rating: 5,
|
||||
reviewCount: "120",
|
||||
imageSrc: "https://pixabay.com/get/g3a8a9d51c69bc8e32d815edbd29ce8a66bc43c896610ddbfd26e19b6266e93520c21490d02a72a160be91db01a19ebc94232264865386024fc4b3ccb6e546a4e_1280.jpg",
|
||||
},
|
||||
id: "p1", brand: "Pasta", name: "Tagliatelle al Ragù", price: "$22", rating: 5,
|
||||
reviewCount: "120", imageSrc: "https://pixabay.com/get/g3a8a9d51c69bc8e32d815edbd29ce8a66bc43c896610ddbfd26e19b6266e93520c21490d02a72a160be91db01a19ebc94232264865386024fc4b3ccb6e546a4e_1280.jpg"},
|
||||
{
|
||||
id: "p2",
|
||||
brand: "Pizza",
|
||||
name: "Margherita Classica",
|
||||
price: "$18",
|
||||
rating: 5,
|
||||
reviewCount: "340",
|
||||
imageSrc: "https://pixabay.com/get/gfd7f14af2e9a3f588c32716d5ec2b91f21f76e42d491a03b90bca225bf5c6575a0d7045f004e836173bb9483dd3d25629a673f3de10336977bd3ea48db813b3c_1280.jpg",
|
||||
},
|
||||
id: "p2", brand: "Pizza", name: "Margherita Classica", price: "$18", rating: 5,
|
||||
reviewCount: "340", imageSrc: "https://pixabay.com/get/gfd7f14af2e9a3f588c32716d5ec2b91f21f76e42d491a03b90bca225bf5c6575a0d7045f004e836173bb9483dd3d25629a673f3de10336977bd3ea48db813b3c_1280.jpg"},
|
||||
{
|
||||
id: "p3",
|
||||
brand: "Dessert",
|
||||
name: "Tiramisu al Caffè",
|
||||
price: "$12",
|
||||
rating: 5,
|
||||
reviewCount: "210",
|
||||
imageSrc: "https://pixabay.com/get/gf26d32dcfa3469102f27aef9a4e049416b8a7363900e130561080ea2f4cab65d983e7f1bd7b8a0a464fe46324014c7d56e27a44ddb12763067e030686247043a_1280.jpg",
|
||||
},
|
||||
id: "p3", brand: "Dessert", name: "Tiramisu al Caffè", price: "$12", rating: 5,
|
||||
reviewCount: "210", imageSrc: "https://pixabay.com/get/gf26d32dcfa3469102f27aef9a4e049416b8a7363900e130561080ea2f4cab65d983e7f1bd7b8a0a464fe46324014c7d56e27a44ddb12763067e030686247043a_1280.jpg"},
|
||||
{
|
||||
id: "p4",
|
||||
brand: "Antipasti",
|
||||
name: "Bruschetta Tradizionale",
|
||||
price: "$14",
|
||||
rating: 4,
|
||||
reviewCount: "89",
|
||||
imageSrc: "https://pixabay.com/get/g585e4594a4c4fecb261305725dc77fe49ae6d12e977964281780be956dc4513943f7e14ad7135766712229353399e43f93c44a4a6a57437de4507b78f64cc32a_1280.jpg",
|
||||
},
|
||||
id: "p4", brand: "Antipasti", name: "Bruschetta Tradizionale", price: "$14", rating: 4,
|
||||
reviewCount: "89", imageSrc: "https://pixabay.com/get/g585e4594a4c4fecb261305725dc77fe49ae6d12e977964281780be956dc4513943f7e14ad7135766712229353399e43f93c44a4a6a57437de4507b78f64cc32a_1280.jpg"},
|
||||
{
|
||||
id: "p5",
|
||||
brand: "Main",
|
||||
name: "Osso Buco",
|
||||
price: "$32",
|
||||
rating: 5,
|
||||
reviewCount: "150",
|
||||
imageSrc: "https://pixabay.com/get/gfe50d26c59ff7c70d85c9d15c0f36a3274e7f0dd6ccbe98e2f4be3882a20cef351038c9d1300f736b79ec5bdda24b539f84fb40fdb8e4d258ec0ab345f7f310e_1280.jpg",
|
||||
},
|
||||
id: "p5", brand: "Main", name: "Osso Buco", price: "$32", rating: 5,
|
||||
reviewCount: "150", imageSrc: "https://pixabay.com/get/gfe50d26c59ff7c70d85c9d15c0f36a3274e7f0dd6ccbe98e2f4be3882a20cef351038c9d1300f736b79ec5bdda24b539f84fb40fdb8e4d258ec0ab345f7f310e_1280.jpg"},
|
||||
{
|
||||
id: "p6",
|
||||
brand: "Risotto",
|
||||
name: "Risotto allo Zafferano",
|
||||
price: "$28",
|
||||
rating: 5,
|
||||
reviewCount: "95",
|
||||
imageSrc: "https://pixabay.com/get/g7e8f4b7a0c6b6e8bf447043402b013f1473e362214080ea23a9f517c8239465eb840414e9f264b0612ccd4f706857dfc06ec0ddb371d8bca3df95b403ed50b74_1280.jpg",
|
||||
},
|
||||
id: "p6", brand: "Risotto", name: "Risotto allo Zafferano", price: "$28", rating: 5,
|
||||
reviewCount: "95", imageSrc: "https://pixabay.com/get/g7e8f4b7a0c6b6e8bf447043402b013f1473e362214080ea23a9f517c8239465eb840414e9f264b0612ccd4f706857dfc06ec0ddb371d8bca3df95b403ed50b74_1280.jpg"},
|
||||
]}
|
||||
title="Our Signature Dishes"
|
||||
description="Explore a curated selection of our most beloved traditional recipes."
|
||||
@@ -205,45 +139,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
title: "Incredible Authentic Taste!",
|
||||
quote: "The best pasta I've had outside of Rome. Absolutely exquisite experience.",
|
||||
name: "Marco D.",
|
||||
role: "Food Critic",
|
||||
imageSrc: "https://pixabay.com/get/geb19223d111403d724201dd1bdc43e2875fcdf6fd4cfbcef17931a67214f598edbd7298bfa02d28ea09212eb7f8f24a791b007c1f4607ac98444250b15dccf92_1280.jpg?_wi=1",
|
||||
},
|
||||
id: "t1", title: "Incredible Authentic Taste!", quote: "The best pasta I've had outside of Rome. Absolutely exquisite experience.", name: "Marco D.", role: "Food Critic", imageSrc: "https://pixabay.com/get/geb19223d111403d724201dd1bdc43e2875fcdf6fd4cfbcef17931a67214f598edbd7298bfa02d28ea09212eb7f8f24a791b007c1f4607ac98444250b15dccf92_1280.jpg?_wi=1"},
|
||||
{
|
||||
id: "t2",
|
||||
title: "True Italian hospitality",
|
||||
quote: "Wonderful ambiance, great wine list, and food that warms your soul.",
|
||||
name: "Sarah J.",
|
||||
role: "Local Patron",
|
||||
imageSrc: "https://pixabay.com/get/g7c639f7b83680a7288840e918780492d78f5c2c91009aeec06bcae7adc5d34020f3ec327f2c832f5aa2fe6266b6c9dac1ad0f5753ce40a5ce59304cd0c4d66ac_1280.jpg",
|
||||
},
|
||||
id: "t2", title: "True Italian hospitality", quote: "Wonderful ambiance, great wine list, and food that warms your soul.", name: "Sarah J.", role: "Local Patron", imageSrc: "https://pixabay.com/get/g7c639f7b83680a7288840e918780492d78f5c2c91009aeec06bcae7adc5d34020f3ec327f2c832f5aa2fe6266b6c9dac1ad0f5753ce40a5ce59304cd0c4d66ac_1280.jpg"},
|
||||
{
|
||||
id: "t3",
|
||||
title: "A hidden gem",
|
||||
quote: "I come back every single week. The flavors are always so fresh and vibrant.",
|
||||
name: "Luca P.",
|
||||
role: "Regular Guest",
|
||||
imageSrc: "https://pixabay.com/get/g821dd7685c8849897a764205e4e2e3ea735379a1a2441686ba8b8b235d868d851d8d558ccd20a080ec8ecca9b966b78ecb7d3fe6d0fa916979e8bf653078846b_1280.jpg",
|
||||
},
|
||||
id: "t3", title: "A hidden gem", quote: "I come back every single week. The flavors are always so fresh and vibrant.", name: "Luca P.", role: "Regular Guest", imageSrc: "https://pixabay.com/get/g821dd7685c8849897a764205e4e2e3ea735379a1a2441686ba8b8b235d868d851d8d558ccd20a080ec8ecca9b966b78ecb7d3fe6d0fa916979e8bf653078846b_1280.jpg"},
|
||||
{
|
||||
id: "t4",
|
||||
title: "Perfect for date night",
|
||||
quote: "Romantic atmosphere and flawless service. Highly recommended.",
|
||||
name: "Elena M.",
|
||||
role: "Diner",
|
||||
imageSrc: "https://pixabay.com/get/gc47cdcd5b775776df5ab48dbac69e8560d6a360b82b94acd571ece2343539d231a9f286d828e1c03acf2fb50b6e54da5217392d45b134d04d089bb6099d4ce97_1280.jpg",
|
||||
},
|
||||
id: "t4", title: "Perfect for date night", quote: "Romantic atmosphere and flawless service. Highly recommended.", name: "Elena M.", role: "Diner", imageSrc: "https://pixabay.com/get/gc47cdcd5b775776df5ab48dbac69e8560d6a360b82b94acd571ece2343539d231a9f286d828e1c03acf2fb50b6e54da5217392d45b134d04d089bb6099d4ce97_1280.jpg"},
|
||||
{
|
||||
id: "t5",
|
||||
title: "Exceeds all expectations",
|
||||
quote: "Every dish is prepared with true expertise. Pure culinary perfection.",
|
||||
name: "Gianni L.",
|
||||
role: "Gourmet Enthusiast",
|
||||
imageSrc: "https://pixabay.com/get/geb19223d111403d724201dd1bdc43e2875fcdf6fd4cfbcef17931a67214f598edbd7298bfa02d28ea09212eb7f8f24a791b007c1f4607ac98444250b15dccf92_1280.jpg?_wi=2",
|
||||
},
|
||||
id: "t5", title: "Exceeds all expectations", quote: "Every dish is prepared with true expertise. Pure culinary perfection.", name: "Gianni L.", role: "Gourmet Enthusiast", imageSrc: "https://pixabay.com/get/geb19223d111403d724201dd1bdc43e2875fcdf6fd4cfbcef17931a67214f598edbd7298bfa02d28ea09212eb7f8f24a791b007c1f4607ac98444250b15dccf92_1280.jpg?_wi=2"},
|
||||
]}
|
||||
title="What Our Guests Say"
|
||||
description="Our dedication to quality makes every meal a celebration of flavor."
|
||||
@@ -254,16 +158,13 @@ export default function LandingPage() {
|
||||
<ContactCTA
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "radial-gradient",
|
||||
}}
|
||||
variant: "radial-gradient"}}
|
||||
tag="Visit Us"
|
||||
title="Reserve Your Table"
|
||||
description="Planning a visit? We look forward to hosting you for an unforgettable dining experience."
|
||||
buttons={[
|
||||
{
|
||||
text: "Book Now",
|
||||
href: "#",
|
||||
},
|
||||
text: "Book Now", href: "#"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -272,42 +173,27 @@ export default function LandingPage() {
|
||||
<FooterBase
|
||||
columns={[
|
||||
{
|
||||
title: "Location",
|
||||
items: [
|
||||
title: "Location", items: [
|
||||
{
|
||||
label: "123 Pasta Lane",
|
||||
href: "#",
|
||||
},
|
||||
label: "123 Pasta Lane", href: "#"},
|
||||
{
|
||||
label: "City Center, IT",
|
||||
href: "#",
|
||||
},
|
||||
label: "City Center, IT", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Hours",
|
||||
items: [
|
||||
title: "Hours", items: [
|
||||
{
|
||||
label: "Mon-Fri: 11am-10pm",
|
||||
href: "#",
|
||||
},
|
||||
label: "Mon-Fri: 11am-10pm", href: "#"},
|
||||
{
|
||||
label: "Sat-Sun: 12pm-11pm",
|
||||
href: "#",
|
||||
},
|
||||
label: "Sat-Sun: 12pm-11pm", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Use",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Use", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -318,4 +204,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user