Update src/app/layout.tsx

This commit is contained in:
2026-03-05 02:31:23 +00:00
parent 6ef6dcd915
commit 49980e5bb9

View File

@@ -1,46 +1,20 @@
import type { Metadata } from "next";
import { DM_Sans } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Rangeley Lake Cabin & Boat Rentals | Maine Getaway", description: "Premium cabin rentals and water sports equipment in Rangeley, Maine. Book your lakefront retreat with boats, kayaks, and canoes. Unforgettable outdoor adventures await.", keywords: "cabin rental Maine, Rangeley Lake, boat rental, vacation rental, water sports, kayak, fishing", metadataBase: new URL("https://rangeleylakerental.com"),
openGraph: {
title: "Rangeley Lake Cabin & Boat Rentals", description: "Experience lakefront luxury and outdoor adventure in Rangeley, Maine", type: "website", siteName: "Rangeley Lake Rentals", images: [
{
url: "http://img.b2bpic.net/free-photo/beautiful-view-fisherman-catching-fish-from-lake_181624-59709.jpg", alt: "Rangeley Lake scenic view"
}
]
},
twitter: {
card: "summary_large_image", title: "Rangeley Lake Cabin & Boat Rentals", description: "Book your Maine lakefront getaway today", images: ["http://img.b2bpic.net/free-photo/beautiful-view-fisherman-catching-fish-from-lake_181624-59709.jpg"]
}
};
title: "Create Next App", description: "Generated by create next app"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${dmSans.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1408,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}