Merge version_2 into main #4
@@ -1,54 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Public_Sans } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const publicSans = Public_Sans({
|
||||
variable: "--font-public-sans", subsets: ["latin"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "J N Boys PG | Affordable Hostel in Shivamogga", description: "J N Boys PG offers comfortable, clean, and affordable accommodation for students and professionals in Shivamogga. Safe environment near Bapuji Nagar with excellent facilities.", keywords: "boys hostel Shivamogga, PG accommodation, student housing, affordable hostel, Bapuji Nagar", metadataBase: new URL("https://jnboyspg.com"),
|
||||
alternates: {
|
||||
canonical: "https://jnboyspg.com"
|
||||
},
|
||||
openGraph: {
|
||||
title: "J N Boys PG - Student Accommodation in Shivamogga", description: "Comfortable and affordable boys hostel with safe facilities for students and professionals", url: "https://jnboyspg.com", siteName: "J N Boys PG", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/young-friends-hostel_23-2150518194.jpg", alt: "boys hostel accommodation pg modern bedroom student housing"
|
||||
}
|
||||
],
|
||||
type: "website"
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "J N Boys PG - Student Accommodation in Shivamogga", description: "Find comfortable and affordable boys hostel accommodation near Bapuji Nagar", images: ["http://img.b2bpic.net/free-photo/young-friends-hostel_23-2150518194.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
title: "J N Boys PG - Student Housing in Shivamogga", description: "Comfortable and affordable PG accommodation for students and professionals in Shivamogga, near Bapuji Nagar."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${publicSans.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1416,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,8 +193,8 @@ export default function LandingPage() {
|
||||
title="Ready to Join J N Boys PG?"
|
||||
description="Reach out to us for room availability, pricing details, or any questions. We're here to help you find your perfect home away from home in Shivamogga."
|
||||
buttons={[
|
||||
{ text: "Contact WhatsApp", href: "https://wa.me/919999999999" },
|
||||
{ text: "Call Now", href: "tel:+919999999999" }
|
||||
{ text: "Message on WhatsApp", href: "https://wa.me/919999999999" },
|
||||
{ text: "Call +91-9999-999999", href: "tel:+919999999999" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
background={{ variant: "plain" }}
|
||||
|
||||
Reference in New Issue
Block a user