8 Commits

Author SHA1 Message Date
51bdfdc26e Update src/app/page.tsx 2026-04-24 17:48:23 +00:00
cd3ad12559 Update src/app/page.tsx 2026-04-24 17:47:46 +00:00
87c1d24052 Merge version_3 into main
Merge version_3 into main
2026-04-24 17:45:55 +00:00
af620f314f Update src/app/page.tsx 2026-04-24 17:45:52 +00:00
7d4d88a18b Merge version_2 into main
Merge version_2 into main
2026-04-24 17:39:51 +00:00
92bb4165a7 Update src/app/page.tsx 2026-04-24 17:39:45 +00:00
79e9a63abc Merge version_1 into main
Merge version_1 into main
2026-04-24 17:39:24 +00:00
de4b738e80 Merge version_1 into main
Merge version_1 into main
2026-04-24 17:37:34 +00:00

View File

@@ -2,18 +2,41 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import { useState } from "react";
import ContactText from '@/components/sections/contact/ContactText';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import MediaAbout from '@/components/sections/about/MediaAbout';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
export default function LandingPage() {
const [lang, setLang] = useState("EN");
const toggleLang = () => {
setLang((prev) => (prev === "EN" ? "AL" : prev === "AL" ? "IT" : "EN"));
};
const getTranslatedMenu = () => {
const menu = [
{ id: "1", brand: { EN: "Pizza", AL: "Picë", IT: "Pizza" }, name: { EN: "Margherita Classica", AL: "Margherita Klasike", IT: "Margherita Classica" }, price: "800 ALL", img: "http://img.b2bpic.net/free-photo/turkish-street-food-lahmacun-with-lemon-fresh-parsley-melted-cheese-top_114579-4348.jpg" },
{ id: "2", brand: { EN: "Pasta", AL: "Pastë", IT: "Pasta" }, name: { EN: "Carbonara Oro", AL: "Carbonara e Artë", IT: "Carbonara d'Oro" }, price: "1200 ALL", img: "http://img.b2bpic.net/free-photo/close-up-cheesy-spaghetti-pasta-white-ceramic-plate_23-2148246792.jpg" },
{ id: "3", brand: { EN: "Pasta", AL: "Pastë", IT: "Pasta" }, name: { EN: "Tagliatelle al Tartufo", AL: "Tagliatelle me Tartuf", IT: "Tagliatelle al Tartufo" }, price: "1600 ALL", img: "http://img.b2bpic.net/free-photo/fettuccine-funghi-table_140725-8235.jpg" },
{ id: "4", brand: { EN: "Dessert", AL: "Ëmbëlsirë", IT: "Dolce" }, name: { EN: "Tiramisu della Casa", AL: "Tiramisu e Shtëpisë", IT: "Tiramisù della Casa" }, price: "500 ALL", img: "http://img.b2bpic.net/free-photo/tiramisu-piece-with-coffee-beans_23-2148531561.jpg" },
{ id: "5", brand: { EN: "Antipasti", AL: "Antipasta", IT: "Antipasti" }, name: { EN: "Caprese Moderna", AL: "Caprese Moderne", IT: "Caprese Moderna" }, price: "700 ALL", img: "http://img.b2bpic.net/free-photo/plate-with-mozzarella-cheese-tomatoes_23-2149460148.jpg" },
{ id: "6", brand: { EN: "Antipasti", AL: "Antipasta", IT: "Antipasti" }, name: { EN: "Tagliere Italiano", AL: "Tavolinë Italiane", IT: "Tagliere Italiano" }, price: "1500 ALL", img: "http://img.b2bpic.net/free-photo/antipasto-catering-platter-with-bacon-jerky-sausage-blue-cheese-grapes-wooden-table-top-view_2829-5496.jpg" }
];
return menu.map(item => ({
id: item.id,
brand: item.brand[lang as keyof typeof item.brand],
name: item.name[lang as keyof typeof item.name],
price: item.price,
rating: 5,
reviewCount: "100+", imageSrc: item.img
}));
};
return (
<ThemeProvider
defaultButtonVariant="text-shift"
@@ -29,31 +52,28 @@ export default function LandingPage() {
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingInline
<NavbarLayoutFloatingOverlay
navItems={[
{ name: "Home", id: "hero" },
{ name: "About", id: "about" },
{ name: "Menu", id: "menu" },
{ name: "Reviews", id: "testimonials" },
{ name: "Contact", id: "contact" },
{ name: lang, id: "#" }
]}
brandName="La Fortezza "
button={{ text: "Reserve Table", href: "#contact" }}
brandName="La Fortezza"
button={{ text: "Reserve Table", onClick: toggleLang }}
/>
</div>
<div id="hero" data-section="hero">
<HeroCarouselLogo
logoText="L'Antica Tirana"
logoText="La Fortezza"
description="Authentic Italian flavors, warm hospitality, and the heart of Italy in Tirana."
buttons={[{ text: "Reserve Table", href: "#contact" }, { text: "View Menu", href: "#menu" }]}
slides={[
{ imageSrc: "http://img.b2bpic.net/free-photo/smoked-salmon-pizza_1339-2163.jpg", imageAlt: "Authentic Italian Pizza" },
{ imageSrc: "http://img.b2bpic.net/free-photo/homemade-vegan-margherita-pizza-food-photography_53876-63239.jpg", imageAlt: "Pasta Plating" },
{ imageSrc: "http://img.b2bpic.net/free-photo/caesar-salad-with-srimps-glass-white-wine_140725-3351.jpg", imageAlt: "Cozy Atmosphere" },
{ imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-pizza-dough-with-wooden-board-word-written-flour_23-2148753790.jpg", imageAlt: "Fresh Ingredients" },
{ imageSrc: "http://img.b2bpic.net/free-photo/delicious-gulas-dish-arrangement_23-2149072602.jpg", imageAlt: "Wood-fired Oven" },
{ imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pizza-with-vegetables_23-2148574236.jpg", imageAlt: "Friendly Service" },
]}
/>
</div>
@@ -62,26 +82,9 @@ export default function LandingPage() {
<MediaAbout
useInvertedBackground={false}
title="A Taste of Italy in Tirana"
description="From handmade pasta to our wood-fired oven pizzas, every dish is crafted with authentic Italian traditions and local, fresh ingredients. Experience a warm, cozy atmosphere that transports you to Rome with every bite."
description="From handmade pasta to our wood-fired oven pizzas, every dish is crafted with authentic Italian traditions and local, fresh ingredients."
buttons={[{ text: "Learn Our Story", href: "#about" }]}
imageSrc="http://img.b2bpic.net/free-photo/close-up-person-making-pasta-with-machine_23-2148296887.jpg"
imageAlt="Authentic Italian Kitchen"
/>
</div>
<div id="features" data-section="features">
<FeatureCardTwentyNine
animationType="slide-up"
textboxLayout="split"
gridVariant="bento-grid"
useInvertedBackground={true}
features={[
{ title: "Traditional Pizza", description: "Authentic sourdough crust fired in our traditional oven.", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-pizza-with-pepper-ingredients_23-2148765344.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/baking-delicious-pizza-with-wood-fired-oven_23-2150134252.jpg", buttonText: "Discover" },
{ title: "Artisanal Pasta", description: "Fresh, handmade pasta daily with premium imported flour.", imageSrc: "http://img.b2bpic.net/free-photo/from-pasta-near-meat-cheese_23-2147772009.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/low-angle-pasta-with-vegetables_23-2148584799.jpg", buttonText: "Discover" },
{ title: "Memorable Service", description: "Warm, welcoming hospitality just like family.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-couple-selling-food-street_329181-20708.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/barman-serving-coffee_23-2147821304.jpg", buttonText: "Discover" },
]}
title="Why We Are Tirana's Favorite"
description="Experience excellence in every detail of our service and cuisine."
/>
</div>
@@ -91,26 +94,9 @@ export default function LandingPage() {
textboxLayout="default"
gridVariant="four-items-2x2-equal-grid"
useInvertedBackground={false}
products={[
{ id: "1", brand: "Pizza", name: "Margherita Classica", price: "800 ALL", rating: 5, reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/turkish-street-food-lahmacun-with-lemon-fresh-parsley-melted-cheese-top_114579-4348.jpg" },
{ id: "2", brand: "Pasta", name: "Carbonara Oro", price: "1200 ALL", rating: 5, reviewCount: "95", imageSrc: "http://img.b2bpic.net/free-photo/close-up-cheesy-spaghetti-pasta-white-ceramic-plate_23-2148246792.jpg" },
{ id: "3", brand: "Pasta", name: "Tagliatelle al Tartufo", price: "1600 ALL", rating: 5, reviewCount: "80", imageSrc: "http://img.b2bpic.net/free-photo/fettuccine-funghi-table_140725-8235.jpg" },
{ id: "4", brand: "Dessert", name: "Tiramisu della Casa", price: "500 ALL", rating: 5, reviewCount: "150", imageSrc: "http://img.b2bpic.net/free-photo/tiramisu-piece-with-coffee-beans_23-2148531561.jpg" },
{ id: "5", brand: "Antipasti", name: "Caprese Moderna", price: "700 ALL", rating: 4, reviewCount: "60", imageSrc: "http://img.b2bpic.net/free-photo/plate-with-mozzarella-cheese-tomatoes_23-2149460148.jpg" },
{ id: "6", brand: "Antipasti", name: "Tagliere Italiano", price: "1500 ALL", rating: 5, reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/antipasto-catering-platter-with-bacon-jerky-sausage-blue-cheese-grapes-wooden-table-top-view_2829-5496.jpg" },
]}
title="Our Signature Dishes"
description="Taste the finest Italian culinary craftsmanship."
/>
</div>
<div id="social" data-section="social">
<SocialProofOne
textboxLayout="default"
useInvertedBackground={true}
names={["TripAdvisor", "Google Reviews", "Yelp", "Facebook", "Instagram", "OpenTable", "Food Mag"]}
title="Loved by the Tirana Community"
description="Featured in leading food platforms and community favorites."
products={getTranslatedMenu()}
title={lang === "EN" ? "Our Menu" : lang === "AL" ? "Menuja Jonë" : "Il Nostro Menù"}
description={lang === "EN" ? "Authentic Italian dishes prepared fresh daily." : lang === "AL" ? "Pjata autentike italiane të përgatitura çdo ditë." : "Piatti autentici italiani preparati ogni giorno."}
/>
</div>
@@ -120,46 +106,25 @@ export default function LandingPage() {
textboxLayout="default"
useInvertedBackground={false}
testimonials={[
{ id: "1", name: "Elena R.", handle: "@elena_r", testimonial: "The best pizza I have ever had in Tirana! Truly authentic.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-professional-chef-posing_23-2151232223.jpg" },
{ id: "2", name: "Marko V.", handle: "@marko_v", testimonial: "Feels like dining in Italy. Great atmosphere and friendly staff.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-asian-man-friends-reunion_23-2149244687.jpg" },
{ id: "3", name: "Sara K.", handle: "@sara_k", testimonial: "Absolutely 10/10 experience. The pasta is handmade perfection.", imageSrc: "http://img.b2bpic.net/free-photo/new-idea-great-business_329181-2907.jpg" },
{ id: "4", name: "John D.", handle: "@john_d", testimonial: "Friendly service and great wine list. Highly recommend.", imageSrc: "http://img.b2bpic.net/free-photo/man-presents-girl-ring_1398-4220.jpg" },
{ id: "5", name: "Sofia L.", handle: "@sofia_l", testimonial: "A hidden gem in the heart of the city. Will come again!", imageSrc: "http://img.b2bpic.net/free-photo/adult-enjoying-cocktail_52683-107593.jpg" },
{ id: "1", name: "Elena R.", handle: "@elena_r", testimonial: "The best pizza I have ever had in Tirana! Truly authentic." },
]}
title="What Our Guests Say"
description="Experiences that make every meal memorable."
/>
</div>
<div id="faq" data-section="faq">
<FaqSplitMedia
textboxLayout="split"
useInvertedBackground={true}
faqs={[
{ id: "1", title: "Do I need a reservation?", content: "While we welcome walk-ins, reservations are highly recommended, especially on weekends." },
{ id: "2", title: "Do you offer delivery?", content: "Yes, we partner with local delivery apps for a taste of our authentic kitchen delivered home." },
{ id: "3", title: "Is the pasta really handmade?", content: "Absolutely. Our pasta is handmade daily using high-quality ingredients imported directly from Italy." },
]}
mediaAnimation="slide-up"
title="Commonly Asked Questions"
description="Everything you need to know about our dining experience."
faqsAnimation="blur-reveal"
imageSrc="http://img.b2bpic.net/free-photo/baking-delicious-pizza-with-wood-fired-oven_23-2150134260.jpg"
/>
</div>
<div id="contact" data-section="contact">
<ContactText
useInvertedBackground={false}
background={{ variant: "radial-gradient" }}
text="Ready for an authentic Italian dinner? Reserve your table now for an unforgettable experience."
text="Ready for an authentic Italian dinner?"
buttons={[{ text: "Reserve Now", href: "https://wa.me/35569xxxxxxx" }]}
/>
</div>
<div id="footer" data-section="footer">
<FooterLogoReveal
logoText="L'Antica Tirana"
logoText="La Fortezza"
leftLink={{ text: "Privacy Policy", href: "#" }}
rightLink={{ text: "Terms of Service", href: "#" }}
/>
@@ -167,4 +132,4 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}
}