Merge version_1 into main #2
249
src/app/page.tsx
249
src/app/page.tsx
@@ -30,22 +30,10 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "Esperienza",
|
||||
id: "experience",
|
||||
},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "menu",
|
||||
},
|
||||
{
|
||||
name: "Prenota",
|
||||
id: "contact",
|
||||
},
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "Esperienza", id: "experience" },
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "Prenota", id: "contact" },
|
||||
]}
|
||||
brandName="Osteria Ticinese"
|
||||
/>
|
||||
@@ -53,43 +41,19 @@ export default function LandingPage() {
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitDualMedia
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
background={{ variant: "plain" }}
|
||||
title="Vivi la vera esperienza ticinese nel cuore di Lugano"
|
||||
description="Tavoli condivisi, piatti autentici e un'atmosfera che non dimentichi. Scopri il calore della nostra grotta."
|
||||
tag="Prenota ora"
|
||||
buttons={[
|
||||
{
|
||||
text: "Chiama ora",
|
||||
href: "tel:+41910000000",
|
||||
},
|
||||
{
|
||||
text: "Prenota un tavolo",
|
||||
href: "#contact",
|
||||
},
|
||||
{ text: "Chiama ora", href: "tel:+41910000000" },
|
||||
{ text: "Prenota un tavolo", href: "#contact" },
|
||||
]}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-fresh-cheese-table_23-2150267671.jpg?_wi=1",
|
||||
imageAlt: "Osteria atmosphere",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-fresh-cheese-table_23-2150267671.jpg", imageAlt: "Osteria atmosphere"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/coffee-fresh-aroma-drinking-relax_53876-23420.jpg?_wi=1",
|
||||
imageAlt: "Grotta ambience",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fettuccine-alfredo-with-chicken-mushroom-parmesan-hebs_140725-5805.jpg?_wi=1",
|
||||
imageAlt: "Risotto luganiga",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/meat-stew-with-potatoes-oil-spices_114579-4497.jpg?_wi=1",
|
||||
imageAlt: "Polenta and ossobuco",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-dolma-along-with-red-cherry-tomatoes-inside-brown-pots-wooden-desk_140725-13312.jpg?_wi=1",
|
||||
imageAlt: "Ticino wine",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/coffee-fresh-aroma-drinking-relax_53876-23420.jpg", imageAlt: "Grotta ambience"},
|
||||
]}
|
||||
mediaAnimation="slide-up"
|
||||
rating={5}
|
||||
@@ -103,60 +67,16 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah J.",
|
||||
role: "Turista",
|
||||
company: "UK",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-tanned-student-with-thick-beard-having-good-coffee-lunch-smiling-happily-enjoying-summer-vacations-tropical-country_273609-1756.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Marco P.",
|
||||
role: "Locale",
|
||||
company: "Lugano",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-enjoying-dinner-party_52683-132626.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Elena R.",
|
||||
role: "Foodie",
|
||||
company: "Milano",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3944.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Luca V.",
|
||||
role: "Regolare",
|
||||
company: "Ticino",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628493.jpg",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Giulia B.",
|
||||
role: "Appassionata",
|
||||
company: "Como",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-tanned-student-with-thick-beard-having-good-coffee-lunch-smiling-happily-enjoying-summer-vacations-tropical-country_273609-1756.jpg?_wi=2",
|
||||
},
|
||||
{ id: "1", name: "Sarah J.", role: "Turista", company: "UK", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cheerful-tanned-student-with-thick-beard-having-good-coffee-lunch-smiling-happily-enjoying-summer-vacations-tropical-country_273609-1756.jpg" },
|
||||
{ id: "2", name: "Marco P.", role: "Locale", company: "Lugano", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-enjoying-dinner-party_52683-132626.jpg" },
|
||||
{ id: "3", name: "Elena R.", role: "Foodie", company: "Milano", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3944.jpg" },
|
||||
{ id: "4", name: "Luca V.", role: "Regolare", company: "Ticino", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/family-reunion-celebrating-winter_23-2149628493.jpg" },
|
||||
{ id: "5", name: "Giulia B.", role: "Appassionata", company: "Como", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cheerful-tanned-student-with-thick-beard-having-good-coffee-lunch-smiling-happily-enjoying-summer-vacations-tropical-country_273609-1756.jpg" },
|
||||
]}
|
||||
kpiItems={[
|
||||
{
|
||||
value: "4.9",
|
||||
label: "Rating Google",
|
||||
},
|
||||
{
|
||||
value: "1.2k",
|
||||
label: "Clienti felici",
|
||||
},
|
||||
{
|
||||
value: "10",
|
||||
label: "Anni di tradizione",
|
||||
},
|
||||
{ value: "4.9", label: "Rating Google" },
|
||||
{ value: "1.2k", label: "Clienti felici" },
|
||||
{ value: "10", label: "Anni di tradizione" },
|
||||
]}
|
||||
title="Cosa dicono di noi"
|
||||
description="L'esperienza che resta nel cuore"
|
||||
@@ -170,7 +90,7 @@ export default function LandingPage() {
|
||||
title="Un angolo di Ticino nascosto"
|
||||
description="La nostra grotta non è solo un luogo dove mangiare, ma uno spazio dove la convivialità prende vita."
|
||||
subdescription="Sperimenta il vero spirito ticinese tra antiche pietre e sapori autentici."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/coffee-fresh-aroma-drinking-relax_53876-23420.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/coffee-fresh-aroma-drinking-relax_53876-23420.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
icon={Utensils}
|
||||
/>
|
||||
@@ -183,42 +103,12 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={true}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Risotto luganiga",
|
||||
price: "CHF 24",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fettuccine-alfredo-with-chicken-mushroom-parmesan-hebs_140725-5805.jpg?_wi=2",
|
||||
},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Polenta e ossobuco",
|
||||
price: "CHF 28",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/meat-stew-with-potatoes-oil-spices_114579-4497.jpg?_wi=2",
|
||||
},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Tagliatelle al cervo",
|
||||
price: "CHF 26",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-dough-slices-with-meatballs-gray-background-color-meat-restaurant-dinner-cooking-pasta_140725-157547.jpg",
|
||||
},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Porcini freschi",
|
||||
price: "CHF 22",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-mushroom-salad_23-2148471924.jpg",
|
||||
},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Tiramisù casa",
|
||||
price: "CHF 12",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-piece-tiramisu_23-2147772015.jpg",
|
||||
},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Vino locale in ciotola",
|
||||
price: "CHF 8",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-dolma-along-with-red-cherry-tomatoes-inside-brown-pots-wooden-desk_140725-13312.jpg?_wi=2",
|
||||
},
|
||||
{ id: "p1", name: "Risotto luganiga", price: "CHF 24", imageSrc: "http://img.b2bpic.net/free-photo/fettuccine-alfredo-with-chicken-mushroom-parmesan-hebs_140725-5805.jpg" },
|
||||
{ id: "p2", name: "Polenta e ossobuco", price: "CHF 28", imageSrc: "http://img.b2bpic.net/free-photo/meat-stew-with-potatoes-oil-spices_114579-4497.jpg" },
|
||||
{ id: "p3", name: "Tagliatelle al cervo", price: "CHF 26", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-dough-slices-with-meatballs-gray-background-color-meat-restaurant-dinner-cooking-pasta_140725-157547.jpg" },
|
||||
{ id: "p4", name: "Porcini freschi", price: "CHF 22", imageSrc: "http://img.b2bpic.net/free-photo/top-view-mushroom-salad_23-2148471924.jpg" },
|
||||
{ id: "p5", name: "Tiramisù casa", price: "CHF 12", imageSrc: "http://img.b2bpic.net/free-photo/close-up-piece-tiramisu_23-2147772015.jpg" },
|
||||
{ id: "p6", name: "Vino locale in ciotola", price: "CHF 8", imageSrc: "http://img.b2bpic.net/free-photo/top-view-dolma-along-with-red-cherry-tomatoes-inside-brown-pots-wooden-desk_140725-13312.jpg" },
|
||||
]}
|
||||
title="I nostri piatti forti"
|
||||
description="Sapori artigianali preparati con amore"
|
||||
@@ -232,34 +122,10 @@ export default function LandingPage() {
|
||||
gridVariant="two-items-per-row"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Posizione centralissima",
|
||||
description: "Nel cuore di Lugano, facilmente raggiungibili.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-fresh-cheese-table_23-2150267671.jpg?_wi=2",
|
||||
imageAlt: "authentic ticino restaurant interior warm lighting",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Esperienza autentica",
|
||||
description: "Non il solito ristorante, ma una grotta tradizionale.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-tanned-student-with-thick-beard-having-good-coffee-lunch-smiling-happily-enjoying-summer-vacations-tropical-country_273609-1756.jpg?_wi=3",
|
||||
imageAlt: "smiling happy guest restaurant portrait",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Passaparola internazionale",
|
||||
description: "Consigliati dai turisti e amati dai locali.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-enjoying-dinner-party_52683-132626.jpg?_wi=2",
|
||||
imageAlt: "satisfied customer dining experience",
|
||||
},
|
||||
{
|
||||
id: "f4",
|
||||
title: "Porzioni abbondanti",
|
||||
description: "La qualità e la quantità di una volta.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3944.jpg?_wi=2",
|
||||
imageAlt: "young woman smiling dinner restaurant",
|
||||
},
|
||||
{ id: "f1", title: "Posizione centralissima", description: "Nel cuore di Lugano, facilmente raggiungibili.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-fresh-cheese-table_23-2150267671.jpg", imageAlt: "authentic ticino restaurant interior warm lighting" },
|
||||
{ id: "f2", title: "Esperienza autentica", description: "Non il solito ristorante, ma una grotta tradizionale.", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-tanned-student-with-thick-beard-having-good-coffee-lunch-smiling-happily-enjoying-summer-vacations-tropical-country_273609-1756.jpg", imageAlt: "smiling happy guest restaurant portrait" },
|
||||
{ id: "f3", title: "Passaparola internazionale", description: "Consigliati dai turisti e amati dai locali.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-enjoying-dinner-party_52683-132626.jpg", imageAlt: "satisfied customer dining experience" },
|
||||
{ id: "f4", title: "Porzioni abbondanti", description: "La qualità e la quantità di una volta.", imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3944.jpg", imageAlt: "young woman smiling dinner restaurant" },
|
||||
]}
|
||||
title="Perché sceglierci"
|
||||
description="La differenza che ci rende unici"
|
||||
@@ -272,30 +138,10 @@ export default function LandingPage() {
|
||||
title="Prenota il tuo posto"
|
||||
description="Posti limitati, prenota in anticipo per evitare attese."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Il tuo nome",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "phone",
|
||||
type: "tel",
|
||||
placeholder: "Il tuo telefono",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "date",
|
||||
type: "date",
|
||||
placeholder: "Data",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "people",
|
||||
type: "number",
|
||||
placeholder: "Numero persone",
|
||||
required: true,
|
||||
},
|
||||
{ name: "name", type: "text", placeholder: "Il tuo nome", required: true },
|
||||
{ name: "phone", type: "tel", placeholder: "Il tuo telefono", required: true },
|
||||
{ name: "date", type: "date", placeholder: "Data", required: true },
|
||||
{ name: "people", type: "number", placeholder: "Numero persone", required: true },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/front-view-cute-japanese-girl-drinking-lemonade_23-2148665351.jpg"
|
||||
buttonText="Prenota ora"
|
||||
@@ -308,35 +154,16 @@ export default function LandingPage() {
|
||||
logoText="Osteria Ticinese"
|
||||
columns={[
|
||||
{
|
||||
title: "Contatti",
|
||||
items: [
|
||||
{
|
||||
label: "+41 91 000 00 00",
|
||||
href: "tel:+41910000000",
|
||||
},
|
||||
{
|
||||
label: "info@osteriaticinese.ch",
|
||||
href: "mailto:info@osteriaticinese.ch",
|
||||
},
|
||||
title: "Contatti", items: [
|
||||
{ label: "+41 91 000 00 00", href: "tel:+41910000000" },
|
||||
{ label: "info@osteriaticinese.ch", href: "mailto:info@osteriaticinese.ch" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Orari",
|
||||
items: [
|
||||
{
|
||||
label: "Lun-Dom: 12:00 - 23:00",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
title: "Orari", items: [{ label: "Lun-Dom: 12:00 - 23:00", href: "#" }],
|
||||
},
|
||||
{
|
||||
title: "Prenotazioni",
|
||||
items: [
|
||||
{
|
||||
label: "Prenota un tavolo",
|
||||
href: "#contact",
|
||||
},
|
||||
],
|
||||
title: "Prenotazioni", items: [{ label: "Prenota un tavolo", href: "#contact" }],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
@@ -344,4 +171,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user