Files
JML/src/app/layout.tsx

44 lines
1.1 KiB
TypeScript
Raw Normal View History

import type { Metadata, Viewport } from "next";
import { Inter } from "next/font/google";
2026-04-21 22:20:39 +06:00
import "./globals.css";
import { Toaster } from "react-hot-toast";
import LayoutContent from "@/components/LayoutContent";
2026-04-21 22:20:39 +06:00
const inter = Inter({
variable: "--font-inter",
2026-04-21 22:20:39 +06:00
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "JAIBEN Mobility - EV Rental Platform",
description: "JAIBEN Mobility Ltd - EV Rental, Rent-to-Own, Share EV, FOCO Investor",
manifest: "/manifest.json",
appleWebApp: {
capable: true,
statusBarStyle: "default",
title: "JAIBEN",
},
};
export const viewport: Viewport = {
themeColor: "#ffffff",
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: false,
2026-04-21 22:20:39 +06:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" className={inter.variable} suppressHydrationWarning>
<body className="min-h-screen bg-slate-50 antialiased" suppressHydrationWarning>
<LayoutContent>{children}</LayoutContent>
<Toaster position="top-right" />
</body>
2026-04-21 22:20:39 +06:00
</html>
);
}