Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 23070c89b6 | |||
| ad1dd9fbcf | |||
| e2ebfe9f51 | |||
| 51b1e1ca1e | |||
| ec3b995965 | |||
| 593c4b6c83 | |||
| f58d7302c5 | |||
| ba1444c76f |
@@ -1,54 +1,28 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Libre_Baskerville } from "next/font/google";
|
import { Geist, Geist_Mono } from "next/font/google";
|
||||||
import { Inter } from "next/font/google";
|
import "@/styles/globals.css";
|
||||||
import "./globals.css";
|
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const libreBaskerville = Libre_Baskerville({
|
const geist = Geist({
|
||||||
variable: "--font-libre-baskerville", subsets: ["latin"],
|
variable: "--font-geist-sans", subsets: ["latin"],
|
||||||
weight: ["400", "700"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const inter = Inter({
|
const geistMono = Geist_Mono({
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
variable: "--font-geist-mono", subsets: ["latin"],
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Pastelería MOYANO | Bollería Artesanal en Alcorcón", description: "Pastelería MOYANO: palmeras, croissants y bollería recién hecha en Alcorcón. Café de calidad, trato cercano y recetas artesanales desde hace años.", keywords: "pastelería, alcorcón, bollería, palmeras, croissants, bakery, café, artesanal", metadataBase: new URL("https://pasteleriamoyano.com"),
|
title: "Pastelería MOYANO", description: "Bollería artesanal recién hecha en Alcorcón, Madrid"};
|
||||||
alternates: {
|
|
||||||
canonical: "https://pasteleriamoyano.com"
|
|
||||||
},
|
|
||||||
openGraph: {
|
|
||||||
title: "Pastelería MOYANO | Tradición Artesanal", description: "Descubre nuestra bollería recién hecha, café de calidad y el trato cercano de siempre en el corazón de Alcorcón.", url: "https://pasteleriamoyano.com", siteName: "Pastelería MOYANO", type: "website", images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/palmier-puff-pastry-plate-wooden-table_123827-19899.jpg", alt: "Palmeras artesanales de Pastelería MOYANO"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image", title: "Pastelería MOYANO | Bollería Artesanal Alcorcón", description: "Palmeras, croissants y especialidades recién horneadas. Servicio a domicilio y encargos especiales.", images: ["http://img.b2bpic.net/free-photo/palmier-puff-pastry-plate-wooden-table_123827-19899.jpg"]
|
|
||||||
},
|
|
||||||
robots: {
|
|
||||||
index: true,
|
|
||||||
follow: true
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="es">
|
||||||
<ServiceWrapper>
|
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||||
<body
|
{children}
|
||||||
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1416,7 +1390,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user