Update src/app/layout.tsx

This commit is contained in:
2026-03-09 18:03:07 +00:00
parent 6c2bb63159
commit ea27ebf0ac

View File

@@ -1,48 +1,31 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Open_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { ServiceWrapper } from "@/providers/service/ServiceWrapper";
import { Tag } from "@/components/common/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Real Estate Mentorship | Home Masters Mentoring - Derry, NH", description: "Get personalized real estate mentorship from experienced mentor in Derry, New Hampshire. Career guidance, sales strategies, and accountability for aspiring and new agents.", keywords: "real estate mentoring, real estate coaching, career guidance, New Hampshire, Derry", metadataBase: new URL("https://homemasters.com"),
alternates: {
canonical: "https://homemasters.com"},
openGraph: {
title: "Real Estate Mentorship | Home Masters Mentoring", description: "Build a successful real estate career with personalized mentorship and proven strategies.", url: "https://homemasters.com", siteName: "Home Masters Mentoring", type: "website"},
twitter: {
card: "summary_large_image", title: "Real Estate Mentorship | Home Masters Mentoring", description: "Get personalized real estate mentorship in New Hampshire"},
};
title: "Home Masters Mentoring", description: "Build a successful real estate career with personalized mentorship and proven strategies from an experienced mentor in New Hampshire."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
>
<Tag />
<body className={inter.className}>
<ServiceWrapper>
{children}
</ServiceWrapper>
<Tag />
<script
async
src="https://cdn.jsdelivr.net/npm/lenis@latest"
/>
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1410,7 +1393,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}