41 lines
1.1 KiB
TypeScript
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: 'Zona Barbershop 2 Citoh | Barbershop Terpercaya Cimanggu Bogor',
|
|
description: 'Barbershop profesional di Cimanggu dengan rating 4.9/5 dari 142+ pelanggan. Potongan rapi, barber berpengalaman, minuman gratis, dan suasana nyaman.',
|
|
};
|
|
|
|
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>
|
|
);
|
|
}
|