80 lines
2.5 KiB
TypeScript
80 lines
2.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import { Nunito } 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 halant = Halant({
|
|
variable: "--font-halant",
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
});
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const nunito = Nunito({
|
|
variable: "--font-nunito",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Central Residence - Luxury Hospitality in Karachi",
|
|
description: "Discover luxury and comfort at Central Residence by Paramount Hospitality. Premium rooms, 4.9-star rated service, and exceptional hospitality in Karachi's heart.",
|
|
keywords: "luxury hotel Karachi, boutique hotel Pakistan, premium accommodation, Central Residence, Paramount Hospitality",
|
|
metadataBase: new URL("https://centralresidence.pk"),
|
|
alternates: {
|
|
canonical: "https://centralresidence.pk",
|
|
},
|
|
openGraph: {
|
|
title: "Central Residence - Luxury Hotel in Karachi",
|
|
description: "Experience premium hospitality with 4.9-star service, luxury rooms, and warm welcome at Central Residence.",
|
|
siteName: "Central Residence",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "http://img.b2bpic.net/free-vector/modern-hotel-reception-with-flat-design_23-2147980724.jpg",
|
|
alt: "Central Residence Luxury Hotel",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Central Residence - Luxury Hotel Karachi",
|
|
description: "Premium hospitality with 4.9-star guest satisfaction. Book your luxury stay today.",
|
|
images: ["http://img.b2bpic.net/free-vector/modern-hotel-reception-with-flat-design_23-2147980724.jpg"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |