Files
35069a9c-d47a-4ddb-baef-033…/src/app/layout.tsx
2026-05-12 20:13:55 +00:00

51 lines
1.4 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 Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Mulish } from "next/font/google";
import { Nunito_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'Darlene\'s Barbershop | Trusted Barber in Your Neighborhood',
description: 'Precision cuts, genuine conversation, and old-school barber service with modern polish. Your new go-to barbershop for the whole family.',
openGraph: {
"title": "Darlene's Barbershop",
"siteName": "Darlene's Barbershop",
"type": "website"
},
};
const nunitoSans = Nunito_Sans({
variable: "--font-nunito-sans",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${nunitoSans.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}