51 lines
1.6 KiB
TypeScript
51 lines
1.6 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import "@/lib/gsap-setup";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
import { Lato } from "next/font/google";
|
|
import { Montserrat } from "next/font/google";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Brook Barbers | Premium Barber Shop in Douglas, Cork',
|
|
description: 'Looking for a professional barber in Douglas, Cork? Brook Barbers offers precision haircuts, skin fades, and beard trims in a modern, friendly shop. Book your appointment today!',
|
|
keywords: ["barber Cork, barber Douglas Cork, barber shop Cork, fades Cork, beard trim Cork, men's haircut Cork"],
|
|
openGraph: {
|
|
"title": "Brook Barbers | Douglas, Cork",
|
|
"description": "Expert grooming services for men in a modern barber shop environment.",
|
|
"siteName": "Brook Barbers",
|
|
"type": "website"
|
|
},
|
|
};
|
|
|
|
|
|
const montserrat = Montserrat({
|
|
variable: "--font-montserrat", subsets: ["latin"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${montserrat.variable} antialiased`}>
|
|
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
}
|