81 lines
2.4 KiB
TypeScript
81 lines
2.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Libre_Baskerville, Inter } from "next/font/google";
|
|
import { Halant } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
|
|
const libreBaskerville = Libre_Baskerville({
|
|
variable: "--font-libre-baskerville",
|
|
subsets: ["latin"],
|
|
weight: ["400", "700"],
|
|
});
|
|
|
|
const interFont = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const halant = Halant({
|
|
variable: "--font-halant",
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Northeast Pulse News - Breaking News & Updates",
|
|
description: "Stay informed with breaking news, in-depth analysis from Northeast India, politics, sports, entertainment, and world news. Your trusted news portal.",
|
|
keywords: "news, Northeast India, breaking news, politics, sports, technology, entertainment, world news",
|
|
metadataBase: new URL("https://northeastpulsenews.com"),
|
|
alternates: {
|
|
canonical: "https://northeastpulsenews.com",
|
|
},
|
|
openGraph: {
|
|
title: "Northeast Pulse News - Breaking News & Updates",
|
|
description: "Your trusted source for news from Northeast India and beyond.",
|
|
url: "https://northeastpulsenews.com",
|
|
siteName: "Northeast Pulse News",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "http://img.b2bpic.net/free-vector/news-blog-banner-template_23-2148626511.jpg",
|
|
alt: "Northeast Pulse News - Breaking News Portal",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Northeast Pulse News",
|
|
description: "Breaking news and in-depth coverage from Northeast India",
|
|
images: ["http://img.b2bpic.net/free-vector/news-blog-banner-template_23-2148626511.jpg"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${libreBaskerville.variable} ${interFont.variable} ${halant.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |