Newer
Older
import { Oswald, Roboto } from "next/font/google";
import { AuthProvider } from "@/lib/components/AuthComponent";
import Header from "@/lib/components/header";
import Footer from "@/lib/components/footer";
const roboto = Roboto({
weight: ["100", "300", "400", "500", "700"],
variable: "--font-roboto",
const oswald = Oswald({
subsets: ["latin"],
weight: ["200", "300", "400", "500", "600", "700"],
variable: "--font-oswald",
title: "ImmoNext",
description: "A real estate listing platform built with Next.js and Prisma.",
children: React.ReactNode;
<html lang="fr">
<body className={`${roboto.variable} ${oswald.variable} font-sans antialiased`}>
<AuthProvider>
<Header />
<main>{children}</main>
<Footer />
</AuthProvider>
</body>
</html>
);