Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 503afd56e6 |
242
src/app/page.tsx
242
src/app/page.tsx
@@ -12,7 +12,7 @@ import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
||||
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
|
||||
import { Facebook, Instagram, Twitter } from "lucide-react";
|
||||
import { Facebook, Instagram, Twitter, Languages } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -33,104 +33,74 @@ 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: "Reviews",
|
||||
id: "testimonials",
|
||||
},
|
||||
name: "Reviews", id: "testimonials"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
name: "Contact", id: "contact"},
|
||||
]}
|
||||
brandName="Trattoria"
|
||||
/>
|
||||
<div className="fixed top-4 right-4 z-50 flex items-center gap-2 bg-white/80 backdrop-blur-sm p-2 rounded-full border border-gray-200">
|
||||
<Languages className="w-4 h-4 text-gray-600" />
|
||||
<select className="bg-transparent text-sm focus:outline-none">
|
||||
<option value="en">English</option>
|
||||
<option value="et">Estonian</option>
|
||||
<option value="es">Spanish</option>
|
||||
<option value="ru">Russian</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
title="Authentic Italian Flavors, Warmth in Every Plate"
|
||||
description="Family recipes passed down for generations, served fresh daily in an intimate setting. Experience Italy without leaving home."
|
||||
kpis={[
|
||||
{
|
||||
value: "25+",
|
||||
label: "Generations of Tradition",
|
||||
},
|
||||
value: "25+", label: "Generations of Tradition"},
|
||||
{
|
||||
value: "120",
|
||||
label: "Seats for Gathering",
|
||||
},
|
||||
value: "120", label: "Seats for Gathering"},
|
||||
{
|
||||
value: "500+",
|
||||
label: "Daily Satisfied Guests",
|
||||
},
|
||||
value: "500+", label: "Daily Satisfied Guests"},
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{
|
||||
text: "Reserve Your Table",
|
||||
href: "#contact",
|
||||
},
|
||||
text: "Reserve Your Table", href: "#contact"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/safari-party-with-snacks-high-angle_23-2149707857.jpg"
|
||||
mediaAnimation="blur-reveal"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/beautiful-thanksgiving-meal-concept_23-2148629590.jpg",
|
||||
alt: "Diner 1",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/beautiful-thanksgiving-meal-concept_23-2148629590.jpg", alt: "Diner 1"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/elegant-restaurant-table-setting-service-reception_53876-42863.jpg",
|
||||
alt: "Diner 2",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/elegant-restaurant-table-setting-service-reception_53876-42863.jpg", alt: "Diner 2"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/people-having-dinner-home-celebration-greek-easter_23-2150206666.jpg",
|
||||
alt: "Diner 3",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/people-having-dinner-home-celebration-greek-easter_23-2150206666.jpg", alt: "Diner 3"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/thanksgiving-meal-arrangement_23-2148652186.jpg",
|
||||
alt: "Diner 4",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/thanksgiving-meal-arrangement_23-2148652186.jpg", alt: "Diner 4"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-taking-photos_23-2149250065.jpg",
|
||||
alt: "Diner 5",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-taking-photos_23-2149250065.jpg", alt: "Diner 5"},
|
||||
]}
|
||||
avatarText="Join our happy guests"
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Fresh Pasta",
|
||||
},
|
||||
type: "text", text: "Fresh Pasta"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Wood-fired Pizza",
|
||||
},
|
||||
type: "text", text: "Wood-fired Pizza"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Fine Wine",
|
||||
},
|
||||
type: "text", text: "Fine Wine"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Artisanal Breads",
|
||||
},
|
||||
type: "text", text: "Artisanal Breads"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Authentic Desserts",
|
||||
},
|
||||
type: "text", text: "Authentic Desserts"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -140,9 +110,7 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
title="Our Heritage"
|
||||
description={[
|
||||
"Born from a small kitchen in Tuscany, our restaurant is a tribute to the rustic elegance of Italian cooking.",
|
||||
"We source our ingredients from local farmers who share our passion for quality, ensuring every plate tells a story of tradition and love.",
|
||||
]}
|
||||
"Born from a small kitchen in Tuscany, our restaurant is a tribute to the rustic elegance of Italian cooking.", "We source our ingredients from local farmers who share our passion for quality, ensuring every plate tells a story of tradition and love."]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -154,47 +122,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Tagliatelle al Ragù",
|
||||
price: "$24",
|
||||
variant: "Pasta",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-plate-cooked-ravioli-pasta-wooden-table_23-2148246784.jpg",
|
||||
},
|
||||
id: "1", name: "Tagliatelle al Ragù", price: "$24", variant: "Pasta", imageSrc: "http://img.b2bpic.net/free-photo/delicious-plate-cooked-ravioli-pasta-wooden-table_23-2148246784.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Margherita Classica",
|
||||
price: "$18",
|
||||
variant: "Pizza",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-vegan-pizza-social-post_23-2151895448.jpg",
|
||||
},
|
||||
id: "2", name: "Margherita Classica", price: "$18", variant: "Pizza", imageSrc: "http://img.b2bpic.net/free-photo/delicious-vegan-pizza-social-post_23-2151895448.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Risotto al Tartufo",
|
||||
price: "$28",
|
||||
variant: "Special",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fruit-salad-table_140725-9549.jpg",
|
||||
},
|
||||
id: "3", name: "Risotto al Tartufo", price: "$28", variant: "Special", imageSrc: "http://img.b2bpic.net/free-photo/fruit-salad-table_140725-9549.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Bruschetta Pomodoro",
|
||||
price: "$12",
|
||||
variant: "Appetizer",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/rustic-background-with-variety-ingredients_23-2147612085.jpg",
|
||||
},
|
||||
id: "4", name: "Bruschetta Pomodoro", price: "$12", variant: "Appetizer", imageSrc: "http://img.b2bpic.net/free-photo/rustic-background-with-variety-ingredients_23-2147612085.jpg"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Traditional Tiramisu",
|
||||
price: "$10",
|
||||
variant: "Dessert",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/elegant-dessert-presentation-with-ice-cream-edible-flowers_23-2151973730.jpg",
|
||||
},
|
||||
id: "5", name: "Traditional Tiramisu", price: "$10", variant: "Dessert", imageSrc: "http://img.b2bpic.net/free-photo/elegant-dessert-presentation-with-ice-cream-edible-flowers_23-2151973730.jpg"},
|
||||
{
|
||||
id: "6",
|
||||
name: "Burrata Salad",
|
||||
price: "$16",
|
||||
variant: "Salad",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-farfalle-pasta-with-cheese-olive-tablecloth_23-2147925964.jpg",
|
||||
},
|
||||
id: "6", name: "Burrata Salad", price: "$16", variant: "Salad", imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-farfalle-pasta-with-cheese-olive-tablecloth_23-2147925964.jpg"},
|
||||
]}
|
||||
title="Chef's Signature Dishes"
|
||||
description="Hand-crafted pasta, artisanal pizzas, and seasonal desserts prepared daily."
|
||||
@@ -208,40 +146,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah J.",
|
||||
handle: "@sarahj",
|
||||
testimonial: "The best carbonara I've ever had outside of Rome. Absolutely authentic.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/person-eating-seaweed-snacks_23-2150519974.jpg",
|
||||
},
|
||||
id: "1", name: "Sarah J.", handle: "@sarahj", testimonial: "The best carbonara I've ever had outside of Rome. Absolutely authentic.", imageSrc: "http://img.b2bpic.net/free-photo/person-eating-seaweed-snacks_23-2150519974.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Marco V.",
|
||||
handle: "@marcov",
|
||||
testimonial: "A true hidden gem. The atmosphere is warm and the food is consistently perfect.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-food_23-2149536952.jpg",
|
||||
},
|
||||
id: "2", name: "Marco V.", handle: "@marcov", testimonial: "A true hidden gem. The atmosphere is warm and the food is consistently perfect.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-food_23-2149536952.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emily R.",
|
||||
handle: "@emilyr",
|
||||
testimonial: "Perfect for date night. The wine selection and pasta dishes are incredible.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/friends-eating-pizza-medium-shot_23-2149872407.jpg",
|
||||
},
|
||||
id: "3", name: "Emily R.", handle: "@emilyr", testimonial: "Perfect for date night. The wine selection and pasta dishes are incredible.", imageSrc: "http://img.b2bpic.net/free-photo/friends-eating-pizza-medium-shot_23-2149872407.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David K.",
|
||||
handle: "@davidk",
|
||||
testimonial: "Finally, real Italian food without the pretension. Loved every bite.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/crazy-chef-happy-expression_1194-1322.jpg",
|
||||
},
|
||||
id: "4", name: "David K.", handle: "@davidk", testimonial: "Finally, real Italian food without the pretension. Loved every bite.", imageSrc: "http://img.b2bpic.net/free-photo/crazy-chef-happy-expression_1194-1322.jpg"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Julia P.",
|
||||
handle: "@juliap",
|
||||
testimonial: "The service is exceptional and the ingredients are remarkably fresh.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-drinks-tacos_23-2149073435.jpg",
|
||||
},
|
||||
id: "5", name: "Julia P.", handle: "@juliap", testimonial: "The service is exceptional and the ingredients are remarkably fresh.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-drinks-tacos_23-2149073435.jpg"},
|
||||
]}
|
||||
title="Loved by Our Guests"
|
||||
description="Hear what our patrons have to say about their experience."
|
||||
@@ -253,14 +166,7 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Gourmet Guide",
|
||||
"Local Daily",
|
||||
"Fine Dining Magazine",
|
||||
"Italian Taste Award",
|
||||
"Chef Spotlight",
|
||||
"Foodie Collective",
|
||||
"Heritage Hospitality",
|
||||
]}
|
||||
"Gourmet Guide", "Local Daily", "Fine Dining Magazine", "Italian Taste Award", "Chef Spotlight", "Foodie Collective", "Heritage Hospitality"]}
|
||||
title="Featured & Recognized"
|
||||
description="Honored by the community and culinary experts."
|
||||
/>
|
||||
@@ -272,20 +178,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "Do I need a reservation?",
|
||||
content: "We highly recommend making a reservation, especially for dinner and weekend service, to ensure availability.",
|
||||
},
|
||||
id: "1", title: "Do I need a reservation?", content: "We highly recommend making a reservation, especially for dinner and weekend service, to ensure availability."},
|
||||
{
|
||||
id: "2",
|
||||
title: "Do you offer takeout?",
|
||||
content: "Yes, all our dishes are available for convenient takeout. Order online or call us directly.",
|
||||
},
|
||||
id: "2", title: "Do you offer takeout?", content: "Yes, all our dishes are available for convenient takeout. Order online or call us directly."},
|
||||
{
|
||||
id: "3",
|
||||
title: "Are there vegetarian options?",
|
||||
content: "Absolutely. We have a variety of vegetarian pasta, pizza, and salad dishes on our menu.",
|
||||
},
|
||||
id: "3", title: "Are there vegetarian options?", content: "Absolutely. We have a variety of vegetarian pasta, pizza, and salad dishes on our menu."},
|
||||
]}
|
||||
title="Common Questions"
|
||||
description="Everything you need to know about dining at Trattoria."
|
||||
@@ -302,35 +199,11 @@ export default function LandingPage() {
|
||||
description="Discover our culinary philosophy and recipes."
|
||||
blogs={[
|
||||
{
|
||||
id: "1",
|
||||
category: "Culture",
|
||||
title: "The Art of Pasta",
|
||||
excerpt: "Exploring the centuries-old techniques behind our signature tagliatelle.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg",
|
||||
authorName: "Chef Matteo",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628493.jpg",
|
||||
date: "Oct 12, 2024",
|
||||
},
|
||||
id: "1", category: "Culture", title: "The Art of Pasta", excerpt: "Exploring the centuries-old techniques behind our signature tagliatelle.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg", authorName: "Chef Matteo", authorAvatar: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628493.jpg", date: "Oct 12, 2024"},
|
||||
{
|
||||
id: "2",
|
||||
category: "Ingredients",
|
||||
title: "Sourcing Locally",
|
||||
excerpt: "Why our partnership with local farmers makes all the difference.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fresh-delicious-salad-close-up_23-2148516929.jpg",
|
||||
authorName: "Chef Matteo",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/dreamy-beautiful-female-with-warm-blue-eyes-positive-smile-dressed-casually-has-dark-hair-tied-knot-drinks-fresh-cocktail-being-pleased-spend-free-time-cafeteria-summer-rest-leisure_273609-3039.jpg",
|
||||
date: "Sep 28, 2024",
|
||||
},
|
||||
id: "2", category: "Ingredients", title: "Sourcing Locally", excerpt: "Why our partnership with local farmers makes all the difference.", imageSrc: "http://img.b2bpic.net/free-photo/fresh-delicious-salad-close-up_23-2148516929.jpg", authorName: "Chef Matteo", authorAvatar: "http://img.b2bpic.net/free-photo/dreamy-beautiful-female-with-warm-blue-eyes-positive-smile-dressed-casually-has-dark-hair-tied-knot-drinks-fresh-cocktail-being-pleased-spend-free-time-cafeteria-summer-rest-leisure_273609-3039.jpg", date: "Sep 28, 2024"},
|
||||
{
|
||||
id: "3",
|
||||
category: "Tips",
|
||||
title: "Pairing Wines",
|
||||
excerpt: "How to select the perfect wine for your Italian meal at home.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mushroom-risotto-garnished-with-grated-parmesan-parsley-vertical_141793-1933.jpg",
|
||||
authorName: "Chef Matteo",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-tasty-food_23-2150168091.jpg",
|
||||
date: "Sep 15, 2024",
|
||||
},
|
||||
id: "3", category: "Tips", title: "Pairing Wines", excerpt: "How to select the perfect wine for your Italian meal at home.", imageSrc: "http://img.b2bpic.net/free-photo/mushroom-risotto-garnished-with-grated-parmesan-parsley-vertical_141793-1933.jpg", authorName: "Chef Matteo", authorAvatar: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-tasty-food_23-2150168091.jpg", date: "Sep 15, 2024"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -339,8 +212,7 @@ export default function LandingPage() {
|
||||
<ContactSplit
|
||||
useInvertedBackground={true}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
tag="Visit Us"
|
||||
title="Book Your Table"
|
||||
description="Reserve a table for your next Italian dining experience. We look forward to welcoming you."
|
||||
@@ -357,23 +229,17 @@ export default function LandingPage() {
|
||||
socialLinks={[
|
||||
{
|
||||
icon: Instagram,
|
||||
href: "#",
|
||||
ariaLabel: "Instagram",
|
||||
},
|
||||
href: "#", ariaLabel: "Instagram"},
|
||||
{
|
||||
icon: Facebook,
|
||||
href: "#",
|
||||
ariaLabel: "Facebook",
|
||||
},
|
||||
href: "#", ariaLabel: "Facebook"},
|
||||
{
|
||||
icon: Twitter,
|
||||
href: "#",
|
||||
ariaLabel: "Twitter",
|
||||
},
|
||||
href: "#", ariaLabel: "Twitter"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user