|
|
|
|
@@ -1,55 +1,20 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Halant } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
|
|
|
import Tag from "@/tag/Tag";
|
|
|
|
|
|
|
|
|
|
const halant = Halant({
|
|
|
|
|
variable: "--font-halant", subsets: ["latin"],
|
|
|
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
const inter = Inter({ subsets: ["latin"] });
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Neumax - Neumáticos Premium para Máximo Rendimiento", description: "Descubre neumáticos de calidad superior con la mejor relación precio-rendimiento. Confiados por miles de conductores. Envíos rápidos y garantía completa.", keywords: "neumáticos, tires, neumáticos premium, seguridad vial, rendimiento, durabilidad", metadataBase: new URL("https://neumax.mx"),
|
|
|
|
|
alternates: {
|
|
|
|
|
canonical: "https://neumax.mx"
|
|
|
|
|
},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "Neumax - Neumáticos Premium", description: "Neumáticos de calidad superior para máximo rendimiento y seguridad", url: "https://neumax.mx", siteName: "Neumax", images: [
|
|
|
|
|
{
|
|
|
|
|
url: "http://img.b2bpic.net/free-photo/happiness-smile-smartphone-holding-mechanic_1134-1122.jpg", alt: "Neumax Premium Tires"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
type: "website"
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image", title: "Neumax - Neumáticos Premium", description: "Descubre neumáticos de calidad superior con máximo rendimiento", images: ["http://img.b2bpic.net/free-photo/happiness-smile-smartphone-holding-mechanic_1134-1122.jpg"]
|
|
|
|
|
},
|
|
|
|
|
robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
title: "Neumax - Neumáticos Premium", description: "Neumáticos de calidad superior con la mejor relación precio-rendimiento. Confiados por miles de conductores."};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${halant.variable} ${inter.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="es" suppressHydrationWarning>
|
|
|
|
|
<body className={inter.className}>{children}
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1417,7 +1382,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|