Files
frontend/src/app/layout.tsx

49 lines
1.2 KiB
TypeScript
Raw Normal View History

2025-12-19 01:19:18 +05:30
import type { Metadata } from "next";
2026-01-12 12:34:58 +05:30
import { Geist, Geist_Mono, Source_Serif_4, Nunito_Sans } from "next/font/google";
import { SessionProvider } from "@/components/providers/session-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-12 12:17:16 +05:30
const sourceSerif4 = Source_Serif_4({
variable: "--font-source-serif-4",
subsets: ["latin"],
weight: ["400", "500", "600", "700"],
});
2026-01-12 12:34:58 +05:30
// Using Nunito Sans as a close alternative to Fractul (similar geometric sans-serif style)
const nunitoSans = Nunito_Sans({
variable: "--font-fractul",
subsets: ["latin"],
weight: ["400", "500", "600", "700", "800"],
});
2025-12-19 01:19:18 +05:30
export const metadata: Metadata = {
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 (
<html lang="en">
<body
2026-01-12 12:34:58 +05:30
className={`${geistSans.variable} ${geistMono.variable} ${sourceSerif4.variable} ${nunitoSans.variable} antialiased`}
2025-12-19 01:19:18 +05:30
>
<SessionProvider>{children}</SessionProvider>
2025-12-19 01:19:18 +05:30
</body>
</html>
);
}