Files
1190cabd-cff9-4952-b6ca-4e9…/src/app/layout.tsx
2026-03-13 02:10:13 +00:00

77 lines
2.4 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Lato } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const lato = Lato({
variable: "--font-lato",
subsets: ["latin"],
weight: ["100", "300", "400", "700", "900"],
});
export const metadata: Metadata = {
title: "Gunthers Barbershop | Fresh Cuts & Fades in Orosi, CA",
description: "Premium barbershop in Orosi, CA offering fresh cuts, clean fades, beard trims & more. Rated 4.9 stars. Call (559) 596-9222 or visit today!",
keywords: "barber shop Orosi CA, best fade Orosi, haircut near Orosi California, Gunthers Barbershop, men's haircut, professional barber",
robots: {
index: true,
follow: true,
},
openGraph: {
title: "Gunthers Barbershop - Fresh Cuts & Clean Fades",
description: "Premium barbershop in Orosi, CA. 4.9★ rated. Haircuts, fades, beard trims & kids cuts. Call (559) 596-9222.",
type: "website",
siteName: "Gunthers Barbershop",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=8nl6r7",
alt: "Gunthers Barbershop - Professional Barbering",
},
],
},
twitter: {
card: "summary_large_image",
title: "Gunthers Barbershop - Fresh Cuts & Fades in Orosi",
description: "Premium barber shop with 4.9★ rating. Expert cuts, fades & beard trims. (559) 596-9222",
images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=8nl6r7"],
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${lato.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}