2025-12-19 01:19:18 +05:30
|
|
|
import type { Metadata } from "next";
|
2026-01-18 08:44:53 +05:30
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import localFont from "next/font/local";
|
2025-12-20 19:22:35 +05:30
|
|
|
import { SessionProvider } from "@/components/providers/session-provider";
|
2026-02-24 22:36:53 +05:30
|
|
|
import { NotificationProvider } from "@/components/providers/notification-provider";
|
2025-12-19 01:19:18 +05:30
|
|
|
import "./globals.css";
|
|
|
|
|
|
|
|
|
|
const geistSans = Geist({
|
|
|
|
|
variable: "--font-geist-sans",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
2026-01-18 08:44:53 +05:30
|
|
|
// Local Fractul font
|
|
|
|
|
const fractul = localFont({
|
|
|
|
|
src: [
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-Regular.ttf",
|
|
|
|
|
weight: "400",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-Italic.ttf",
|
|
|
|
|
weight: "400",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-Medium.ttf",
|
|
|
|
|
weight: "500",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-MediumItalic.ttf",
|
|
|
|
|
weight: "500",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-SemiBold.ttf",
|
|
|
|
|
weight: "600",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-SemiBoldItalic.ttf",
|
|
|
|
|
weight: "600",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-Bold.ttf",
|
|
|
|
|
weight: "700",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-BoldItalic.ttf",
|
|
|
|
|
weight: "700",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-ExtraBold.ttf",
|
|
|
|
|
weight: "800",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/fractul/Fractul-ExtraBoldItalic.ttf",
|
|
|
|
|
weight: "800",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
variable: "--font-fractul",
|
2026-01-12 12:17:16 +05:30
|
|
|
});
|
|
|
|
|
|
2026-01-18 08:44:53 +05:30
|
|
|
// Local Source Serif 4 font
|
|
|
|
|
const sourceSerif4 = localFont({
|
|
|
|
|
src: [
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/Source_Serif_4/static/SourceSerif4-Regular.ttf",
|
|
|
|
|
weight: "400",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/Source_Serif_4/static/SourceSerif4-Italic.ttf",
|
|
|
|
|
weight: "400",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/Source_Serif_4/static/SourceSerif4-Medium.ttf",
|
|
|
|
|
weight: "500",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/Source_Serif_4/static/SourceSerif4-MediumItalic.ttf",
|
|
|
|
|
weight: "500",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/Source_Serif_4/static/SourceSerif4-SemiBold.ttf",
|
|
|
|
|
weight: "600",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/Source_Serif_4/static/SourceSerif4-SemiBoldItalic.ttf",
|
|
|
|
|
weight: "600",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/Source_Serif_4/static/SourceSerif4-Bold.ttf",
|
|
|
|
|
weight: "700",
|
|
|
|
|
style: "normal",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "../fonts/Source_Serif_4/static/SourceSerif4-BoldItalic.ttf",
|
|
|
|
|
weight: "700",
|
|
|
|
|
style: "italic",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
variable: "--font-source-serif-4",
|
2026-01-12 12:34:58 +05:30
|
|
|
});
|
|
|
|
|
|
2025-12-19 01:19:18 +05:30
|
|
|
export const metadata: Metadata = {
|
2025-12-20 19:22:35 +05:30
|
|
|
title: "Real Estate Platform",
|
|
|
|
|
description: "Find your dream property with trusted agents",
|
2025-12-19 01:19:18 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
2026-03-13 22:45:11 +05:30
|
|
|
<html lang="en" suppressHydrationWarning>
|
2025-12-19 01:19:18 +05:30
|
|
|
<body
|
2026-01-18 08:44:53 +05:30
|
|
|
className={`${geistSans.variable} ${geistMono.variable} ${sourceSerif4.variable} ${fractul.variable} antialiased`}
|
2025-12-19 01:19:18 +05:30
|
|
|
>
|
2026-02-24 22:36:53 +05:30
|
|
|
<SessionProvider>
|
|
|
|
|
<NotificationProvider />
|
|
|
|
|
{children}
|
|
|
|
|
</SessionProvider>
|
2025-12-19 01:19:18 +05:30
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|