Files
2026-03-10 11:09:13 +00:00

82 lines
2.5 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: "Homelife Mersin - Premium Home Decor & Lifestyle Store",
description: "Discover curated home decor, kitchen products, and lifestyle items at Homelife Mersin. Transform your living space with quality furniture and elegant accessories in Mersin, Turkey.",
keywords: "home decor, lifestyle products, home furnishings, Mersin retail store, interior design, home accessories",
metadataBase: new URL("https://homelifemersin.com"),
alternates: {
canonical: "https://homelifemersin.com",
},
openGraph: {
title: "Homelife Mersin - Your Home Lifestyle Destination",
description: "Premium home goods and lifestyle products for modern living in Mersin.",
url: "https://homelifemersin.com",
siteName: "Homelife Mersin",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/luxurious-lifestyle-rich-woman_52683-97510.jpg",
alt: "Homelife Mersin - Home Decor & Lifestyle Store",
},
],
},
twitter: {
card: "summary_large_image",
title: "Homelife Mersin - Home Decor & Lifestyle",
description: "Discover premium home furnishings and lifestyle products in Mersin.",
images: ["http://img.b2bpic.net/free-photo/luxurious-lifestyle-rich-woman_52683-97510.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>
);
}