Update src/app/layout.tsx
This commit is contained in:
@@ -1,63 +1,23 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Nunito } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./styles/variables.css";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const nunito = Nunito({
|
||||
variable: "--font-nunito",
|
||||
subsets: ["latin"],
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Sabor - Restaurante Moderno Diseño Bauhaus",
|
||||
description: "Sabor es un restaurante contemporáneo que combina diseño Bauhaus con gastronomía local. Ingredientes de temporada, experiencia memorable, reservas online.",
|
||||
keywords: "restaurante moderno, diseño Bauhaus, gastronomía local, ingredientes frescos, reservas",
|
||||
metadataBase: new URL("https://sabor-restaurante.local"),
|
||||
alternates: {
|
||||
canonical: "https://sabor-restaurante.local",
|
||||
},
|
||||
openGraph: {
|
||||
title: "Sabor - Restaurante Local Contemporáneo",
|
||||
description: "Donde el diseño se encuentra con la gastronomía. Menú de temporada con ingredientes locales.",
|
||||
type: "website",
|
||||
siteName: "Sabor",
|
||||
url: "https://sabor-restaurante.local",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg",
|
||||
alt: "Interior del restaurante Sabor",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Sabor - Restaurante Moderno",
|
||||
description: "Diseño Bauhaus + Gastronomía Local = Experiencia Memorable",
|
||||
images: [
|
||||
"http://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg",
|
||||
],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Sabor - Restaurante Local Contemporáneo", description: "Donde el diseño se encuentra con la gastronomía. Una experiencia culinaria moderna con diseño Bauhaus e ingredientes locales de temporada."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${nunito.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="es">
|
||||
<body className={inter.variable}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1425,7 +1385,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user