Update src/app/layout.tsx
This commit is contained in:
@@ -1,57 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Montserrat } 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 halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const montserrat = Montserrat({
|
||||
variable: "--font-montserrat", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Super Liquor Paihia | Local Bottle Shop Bay of Islands", description: "Premium liquor store in Paihia with beer, wine, spirits, and ready-to-drink beverages. Convenient location, fast service, great prices. Call 09 945 8333.", keywords: "liquor store Paihia, bottle shop Paihia, alcohol Bay of Islands, beer wine spirits Paihia, liquor near me", metadataBase: new URL("https://www.superliquorpaihia.co.nz"),
|
||||
alternates: {
|
||||
canonical: "https://www.superliquorpaihia.co.nz"},
|
||||
openGraph: {
|
||||
title: "Super Liquor Paihia | Your Local Bottle Shop", description: "Quality alcohol, friendly service, convenient location. Cold drinks ready to go. Open daily 10 AM - 9 PM.", url: "https://www.superliquorpaihia.co.nz", siteName: "Super Liquor Paihia", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/confident-bartender-standing-bar-counter_107420-94857.jpg", alt: "Super Liquor Paihia storefront"},
|
||||
],
|
||||
type: "website"},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Super Liquor Paihia | Local Bottle Shop", description: "Great prices. Friendly service. Cold drinks ready. Visit us in Paihia!", images: ["http://img.b2bpic.net/free-photo/confident-bartender-standing-bar-counter_107420-94857.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Super Liquor Paihia | Local Bottle Shop Bay of Islands", description: "Great prices. Friendly service. Cold drinks ready to go. Your local bottle shop in Paihia, Bay of Islands. Open daily 10 AM - 9 PM."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<body className={`${geist.variable} ${geistMono.variable}`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1419,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user