Update src/app/layout.tsx
This commit is contained in:
@@ -1,58 +1,16 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Roboto } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const roboto = Roboto({
|
||||
variable: "--font-roboto", subsets: ["latin"],
|
||||
weight: ["100", "300", "400", "500", "700", "900"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "White Otter Inn Atikokan | Hotel Near Quetico Park", description: "Clean, comfortable motel rooms in Atikokan, Ontario. 4.0★ rated. Friendly staff, on-site restaurant, great value. Highway convenient near Quetico Park.", keywords: "motel Atikokan, hotel Atikokan Ontario, Quetico Park accommodation, roadside inn, Northern Ontario lodging", metadataBase: new URL("https://www.whiteotterinn.com"),
|
||||
alternates: {
|
||||
canonical: "https://www.whiteotterinn.com"},
|
||||
openGraph: {
|
||||
title: "White Otter Inn - Clean Rooms, Great Service in Atikokan", description: "Affordable, comfortable rooms with friendly staff and on-site restaurant. Perfect stop between Thunder Bay and Fort Frances.", url: "https://www.whiteotterinn.com", siteName: "White Otter Inn", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/young-friends-hostel_52683-121726.jpg", alt: "modern motel exterior building clean"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "White Otter Inn - Your Rest Stop in Atikokan", description: "Clean rooms, friendly staff, on-site restaurant. Highway convenient near Quetico Park.", images: ["http://img.b2bpic.net/free-photo/young-friends-hostel_52683-121726.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "White Otter Inn - Rooms & Restaurant in Atikokan", description: "Clean, comfortable rooms and great food in Atikokan, Ontario. Your perfect stop on the highway between Thunder Bay and Fort Frances."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${roboto.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1420,7 +1378,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user