Update src/app/layout.tsx
This commit is contained in:
@@ -1,50 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Mulish } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const mulish = Mulish({
|
||||
variable: "--font-mulish",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "NoticiasDigitales - Noticias Actualizadas",
|
||||
description: "Tu fuente confiable de noticias en deportes, tecnología, política, cultura e internacional. Mantente informado con reportajes de calidad.",
|
||||
keywords: "noticias, periodismo, actualidad, reportajes, deportes, tecnología, política, cultura, internacional",
|
||||
openGraph: {
|
||||
title: "NoticiasDigitales",
|
||||
description: "Tu fuente confiable de noticias en deportes, tecnología, política, cultura e internacional.",
|
||||
url: "https://noticiasdigitales.com",
|
||||
siteName: "NoticiasDigitales",
|
||||
type: "website",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "NoticiasDigitales",
|
||||
description: "Noticias actualizadas y análisis profundo",
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "NoticiasDigitales", description: "Tu fuente confiable de noticias de calidad"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${mulish.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="es">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1412,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user