Switch to version 1: remove src/app/contatti/page.tsx
This commit is contained in:
@@ -1,104 +0,0 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
||||||
import ReactLenis from "lenis/react";
|
|
||||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
|
||||||
import ContactCTA from '@/components/sections/contact/ContactCTA';
|
|
||||||
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
|
||||||
|
|
||||||
export const generateMetadata = () => {
|
|
||||||
return {
|
|
||||||
title: "Contattaci - Il Paisiello", description: "Per qualsiasi domanda, informazione o richiesta speciale, non esitare a contattare Il Paisiello, ristorante di pesce a Veglie (LE)."
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function ContattiPage() {
|
|
||||||
const navItems = [
|
|
||||||
{ name: "Home", id: "/" },
|
|
||||||
{ name: "Chi siamo", id: "/#about" },
|
|
||||||
{ name: "Menu", id: "/#menu" },
|
|
||||||
{ name: "Recensioni", id: "/#reviews" },
|
|
||||||
{ name: "Esperienza", id: "/#experience" },
|
|
||||||
{ name: "Prenotazioni", id: "/prenotazioni" },
|
|
||||||
{ name: "Contatti", id: "/contatti" }
|
|
||||||
];
|
|
||||||
|
|
||||||
return (
|
|
||||||
<ThemeProvider
|
|
||||||
defaultButtonVariant="text-shift"
|
|
||||||
defaultTextAnimation="entrance-slide"
|
|
||||||
borderRadius="rounded"
|
|
||||||
contentWidth="small"
|
|
||||||
sizing="largeSmallSizeLargeTitles"
|
|
||||||
background="none"
|
|
||||||
cardStyle="gradient-mesh"
|
|
||||||
primaryButtonStyle="radial-glow"
|
|
||||||
secondaryButtonStyle="radial-glow"
|
|
||||||
headingFontWeight="light"
|
|
||||||
>
|
|
||||||
<ReactLenis root>
|
|
||||||
<div id="nav" data-section="nav">
|
|
||||||
<NavbarStyleApple navItems={navItems} brandName="Il Paisiello" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="contact-info" data-section="contact-info">
|
|
||||||
<ContactCTA
|
|
||||||
tag="Contattaci"
|
|
||||||
title="Siamo qui per te"
|
|
||||||
description="Per prenotazioni, informazioni o qualsiasi altra esigenza, non esitare a raggiungerci. Siamo aperti per pranzo e cena."
|
|
||||||
buttons={[
|
|
||||||
{
|
|
||||||
text: "Chiamaci: 320 199 2518", href: "tel:3201992518"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: "Trova la nostra posizione", href: "https://www.google.com/maps/dir/?api=1&destination=Via+Monte+Grappa,+68,+73010+Veglie+LE"
|
|
||||||
}
|
|
||||||
]}
|
|
||||||
background={{ variant: "plain" }}
|
|
||||||
useInvertedBackground={false}
|
|
||||||
className="py-24"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
|
||||||
<FooterMedia
|
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/delicious-pizza-indoors_23-2150901153.jpg"
|
|
||||||
imageAlt="Atmosfera serale del ristorante Il Paisiello"
|
|
||||||
logoText="Il Paisiello"
|
|
||||||
columns={[
|
|
||||||
{
|
|
||||||
title: "Menu", items: [
|
|
||||||
{
|
|
||||||
label: "Piatti Iconici", href: "/#menu"},
|
|
||||||
{
|
|
||||||
label: "Crudi e Carpacci", href: "/#menu"},
|
|
||||||
{
|
|
||||||
label: "Specialità dello Chef", href: "/#menu"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Informazioni", items: [
|
|
||||||
{
|
|
||||||
label: "Chi Siamo", href: "/#about"},
|
|
||||||
{
|
|
||||||
label: "Prenotazioni", href: "/prenotazioni"},
|
|
||||||
{
|
|
||||||
label: "Contatti", href: "/contatti"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Legale", items: [
|
|
||||||
{
|
|
||||||
label: "Privacy Policy", href: "#"},
|
|
||||||
{
|
|
||||||
label: "Termini di Servizio", href: "#"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]}
|
|
||||||
copyrightText="© 2024 Il Paisiello. Tutti i diritti riservati."
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</ReactLenis>
|
|
||||||
</ThemeProvider>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user