Files
b116cec3-693a-4e3a-997a-720…/src/app/layout.tsx
2026-03-20 15:02:26 +00:00

75 lines
2.4 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Inter_Tight } 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 interTight = Inter_Tight({
variable: "--font-inter-tight",
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "VV PG & Hostel - Premium Living for Exam Aspirants Near Central Library",
description: "Luxury residential accommodation for UPSC, GPSC, PSI & Constable exam aspirants. Walking distance to central library. 24/7 security, premium rooms, Gujarati meals & sports facilities.",
keywords: "PG hostel, exam preparation accommodation, UPSC coaching, GPSC hostel, premium pg near library, student hostel",
metadataBase: new URL("https://vvpghostel.com"),
alternates: {
canonical: "https://vvpghostel.com",
},
openGraph: {
title: "VV PG & Hostel - Premium Living for High-Achieving Students",
description: "Your perfect residential destination for competitive exam success. Luxury rooms, library proximity, world-class amenities.",
url: "https://vvpghostel.com",
siteName: "VV PG & Hostel",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "VV PG & Hostel - Premium Accommodation for Exam Aspirants",
description: "Luxury living + strict study environment = exam success. Near central library.",
},
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} ${interTight.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}