Update src/app/page.tsx
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
|
||||
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
|
||||
@@ -32,17 +31,19 @@ export default function LandingPage() {
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Home", id: "#hero"},
|
||||
name: "Home", id: "/"},
|
||||
{
|
||||
name: "Chi siamo", id: "#about"},
|
||||
name: "Chi siamo", id: "/#about"},
|
||||
{
|
||||
name: "Menu", id: "#menu"},
|
||||
name: "Menu", id: "/#menu"},
|
||||
{
|
||||
name: "Recensioni", id: "#reviews"},
|
||||
name: "Recensioni", id: "/#reviews"},
|
||||
{
|
||||
name: "Esperienza", id: "#experience"},
|
||||
name: "Esperienza", id: "/#experience"},
|
||||
{
|
||||
name: "Contatti", id: "#contact"},
|
||||
name: "Prenotazioni", id: "/prenotazioni"},
|
||||
{
|
||||
name: "Contatti", id: "/contatti"},
|
||||
]}
|
||||
brandName="Il Paisiello"
|
||||
/>
|
||||
@@ -75,9 +76,9 @@ export default function LandingPage() {
|
||||
testimonialRotationInterval={5000}
|
||||
buttons={[
|
||||
{
|
||||
text: "Prenota ora", href: "tel:3201992518"},
|
||||
text: "Prenota ora", href: "/prenotazioni"},
|
||||
{
|
||||
text: "Guarda il menu", href: "#menu"},
|
||||
text: "Guarda il menu", href: "/#menu"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/spaghetti-with-mussels_1150-18483.jpg"
|
||||
imageAlt="Piatti di pesce eleganti al Paisiello"
|
||||
@@ -131,7 +132,7 @@ export default function LandingPage() {
|
||||
description="Scopri una selezione delle nostre creazioni più amate e le specialità dello chef, preparate con pesce freschissimo e passione. Un assaggio del nostro menu completo."
|
||||
buttons={[
|
||||
{
|
||||
text: "Vedi menu completo", href: "#"},
|
||||
text: "Vedi menu completo", href: "/#menu"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -219,20 +220,6 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactText
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain"}}
|
||||
text="Ci troviamo a Veglie, nel cuore del Salento. Ti aspettiamo per un'esperienza culinaria indimenticabile. Prenota il tuo tavolo oggi!"
|
||||
buttons={[
|
||||
{
|
||||
text: "Prenota ora", href: "tel:3201992518"},
|
||||
{
|
||||
text: "Portami qui", href: "https://www.google.com/maps/dir/?api=1&destination=Via+Monte+Grappa,+68,+73010+Veglie+LE"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterMedia
|
||||
@@ -243,21 +230,21 @@ export default function LandingPage() {
|
||||
{
|
||||
title: "Menu", items: [
|
||||
{
|
||||
label: "Piatti Iconici", href: "#menu"},
|
||||
label: "Piatti Iconici", href: "/#menu"},
|
||||
{
|
||||
label: "Crudi e Carpacci", href: "#menu"},
|
||||
label: "Crudi e Carpacci", href: "/#menu"},
|
||||
{
|
||||
label: "Specialità dello Chef", href: "#menu"},
|
||||
label: "Specialità dello Chef", href: "/#menu"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Informazioni", items: [
|
||||
{
|
||||
label: "Chi Siamo", href: "#about"},
|
||||
label: "Chi Siamo", href: "/#about"},
|
||||
{
|
||||
label: "Orari", href: "#contact"},
|
||||
label: "Prenotazioni", href: "/prenotazioni"},
|
||||
{
|
||||
label: "Contatti", href: "#contact"},
|
||||
label: "Contatti", href: "/contatti"},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -275,4 +262,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user