mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-19 14:04:08 +01:00
46 lines
1.2 KiB
TypeScript
46 lines
1.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Open_Sans, Roboto_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
|
|
const openSans = Open_Sans({
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
variable: "--font-opensans",
|
|
});
|
|
|
|
const robotoMono = Roboto_Mono({
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
variable: "--font-roboto-mono",
|
|
});
|
|
|
|
// const geistMono = Geist_Mono({
|
|
// variable: "--font-geist-mono",
|
|
// subsets: ["latin"],
|
|
// });
|
|
|
|
export const metadata: Metadata = {
|
|
title: "ForFarm - Smart Farming Solutions",
|
|
description: "Optimize your agricultural business with AI-driven insights and real-time data.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<head />
|
|
<body className={`${openSans.variable} ${robotoMono.variable} font-sans antialiased`}>
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
|
<div className="relative flex min-h-screen flex-col">
|
|
<div className="flex-1 bg-background">{children}</div>
|
|
</div>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|