50 lines
1.4 KiB
TypeScript
50 lines
1.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import "@/lib/gsap-setup";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
import { Roboto } from "next/font/google";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Luxe Properties | Premier Estates & Luxury Real Estate',
|
|
description: 'Discover curated luxury homes and premier estates with Luxe Properties. Experience unparalleled quality and sophistication in real estate.',
|
|
openGraph: {
|
|
"title": "Luxe Properties",
|
|
"description": "Explore the finest collection of luxury properties.",
|
|
"type": "website",
|
|
"siteName": "Luxe Properties"
|
|
},
|
|
};
|
|
|
|
const roboto = Roboto({
|
|
variable: "--font-roboto",
|
|
subsets: ["latin"],
|
|
weight: ["100", "300", "400", "500", "700", "900"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${roboto.variable} antialiased`}>
|
|
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
}
|