|
|
|
|
@@ -1,59 +1,20 @@
|
|
|
|
|
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";
|
|
|
|
|
|
|
|
|
|
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: "Lunar Rogue Pub | Craft Beers & Dining in Fredericton, NB", description: "Discover Lunar Rogue Pub, Fredericton's premier destination for craft beverages, authentic cuisine, and vibrant atmosphere. Reserve your table today.", keywords: "pub, restaurant, craft beer, Fredericton, New Brunswick, dining, events, reservations", metadataBase: new URL("https://lunarroguepub.com"),
|
|
|
|
|
alternates: {
|
|
|
|
|
canonical: "https://lunarroguepub.com"
|
|
|
|
|
},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "Lunar Rogue Pub | Fredericton's Premier Pub", description: "Experience craft beverages and authentic cuisine at Lunar Rogue Pub in Fredericton, NB.", url: "https://lunarroguepub.com", siteName: "Lunar Rogue Pub", type: "website", images: [
|
|
|
|
|
{
|
|
|
|
|
url: "http://img.b2bpic.net/free-photo/black-wooden-table_417767-153.jpg", alt: "Lunar Rogue Pub interior"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image", title: "Lunar Rogue Pub | Fredericton", description: "Craft beers, great food, unforgettable evenings in Fredericton, NB.", images: ["http://img.b2bpic.net/free-photo/black-wooden-table_417767-153.jpg"]
|
|
|
|
|
},
|
|
|
|
|
robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
title: "Lunar Rogue Pub - Fredericton's Premier Destination", description: "Lunar Rogue Pub in Fredericton offers craft beverages, authentic cuisine, and unforgettable evenings. Reserve your table today."};
|
|
|
|
|
|
|
|
|
|
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 />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body className={inter.className}>{children}
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1421,7 +1382,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|