Files
1cf558a5-62e6-4e05-a3c3-426…/src/app/layout.tsx
2026-03-12 18:43:26 +00:00

41 lines
1.1 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
export const metadata: Metadata = {
title: 'Brothers Barber Shop - Premium Haircuts & Grooming',
description: 'Expert barber services in a classic atmosphere. Premium haircuts, traditional shaves, and professional grooming. 14+ years of excellence.',
};
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${inter.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}