Merge version_2 into main #5
@@ -1,13 +1,12 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/providers/service";
|
||||
import { Tag } from "@/utils/tag";
|
||||
|
||||
const inter = Inter({ variable: "--font-inter", subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Luxe Properties - Luxury Real Estate", description: "Discover exceptional luxury properties, exclusive real estate solutions, and premium investment opportunities."};
|
||||
title: "Luxe Properties - Luxury Real Estate", description: "Discover exceptional luxury properties, exclusive real estate solutions, and premium investment opportunities."
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -17,24 +16,21 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={`${inter.variable}`}>
|
||||
<ServiceWrapper>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
async
|
||||
src="https://cdn.jsdelivr.net/npm/lenis@1.1.13/dist/lenis.min.js"
|
||||
/>
|
||||
<script>
|
||||
{`
|
||||
const lenis = new Lenis();
|
||||
function raf(time) {
|
||||
lenis.raf(time);
|
||||
requestAnimationFrame(raf);
|
||||
}
|
||||
{children}
|
||||
<script
|
||||
async
|
||||
src="https://cdn.jsdelivr.net/npm/lenis@1.1.13/dist/lenis.min.js"
|
||||
/>
|
||||
<script>
|
||||
{`
|
||||
const lenis = new Lenis();
|
||||
function raf(time) {
|
||||
lenis.raf(time);
|
||||
requestAnimationFrame(raf);
|
||||
`}
|
||||
</script>
|
||||
</ServiceWrapper>
|
||||
}
|
||||
requestAnimationFrame(raf);
|
||||
`}
|
||||
</script>
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
|
||||
Reference in New Issue
Block a user