81 lines
2.4 KiB
TypeScript
81 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: "MESTERHIG - Professional Cleaning Services Pécs Hungary",
|
|
description: "Professional cleaning services for residential, commercial, industrial, and healthcare facilities in Pécs and Baranya. 5-star rated. Free quote.",
|
|
keywords: "takarítás Pécs, professzionális takarítás, ablak tisztítás, szőnyeg tisztítás, iroda takarítás, ózonos fertőtlenítés, napelem tisztítás",
|
|
metadataBase: new URL("https://mesterhig.hu"),
|
|
alternates: {
|
|
canonical: "https://mesterhig.hu",
|
|
},
|
|
openGraph: {
|
|
title: "MESTERHIG - Professional Cleaning Services in Pécs",
|
|
description: "Reliable cleaning solutions for homes, offices, industrial facilities, and healthcare institutions. 5-star rated service.",
|
|
type: "website",
|
|
siteName: "MESTERHIG",
|
|
images: [
|
|
{
|
|
url: "https://mesterhig.hu/og-image.jpg",
|
|
alt: "MESTERHIG Professional Cleaning Services",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "MESTERHIG - Professional Cleaning Services Pécs",
|
|
description: "Premium cleaning solutions for all sectors. Trusted by 150+ clients.",
|
|
images: ["https://mesterhig.hu/twitter-image.jpg"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
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>
|
|
);
|
|
} |