2026-05-06 16:38:57 +06:00
|
|
|
import type { Metadata, Viewport } from "next";
|
2026-04-22 01:02:45 +06:00
|
|
|
import { Inter } from "next/font/google";
|
2026-04-21 22:20:39 +06:00
|
|
|
import "./globals.css";
|
2026-05-05 02:44:32 +06:00
|
|
|
import { Toaster } from "react-hot-toast";
|
2026-05-07 16:08:18 +06:00
|
|
|
import LayoutContent from "@/components/LayoutContent";
|
2026-04-21 22:20:39 +06:00
|
|
|
|
2026-04-22 01:02:45 +06:00
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter",
|
2026-04-21 22:20:39 +06:00
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2026-04-22 01:02:45 +06:00
|
|
|
title: "JAIBEN Mobility - EV Rental Platform",
|
|
|
|
|
description: "JAIBEN Mobility Ltd - EV Rental, Rent-to-Own, Share EV, FOCO Investor",
|
2026-05-06 16:38:57 +06:00
|
|
|
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 (
|
2026-05-06 16:38:57 +06:00
|
|
|
<html lang="en" className={inter.variable} suppressHydrationWarning>
|
|
|
|
|
<body className="min-h-screen bg-slate-50 antialiased" suppressHydrationWarning>
|
2026-05-07 16:08:18 +06:00
|
|
|
<LayoutContent>{children}</LayoutContent>
|
2026-05-05 02:44:32 +06:00
|
|
|
<Toaster position="top-right" />
|
2026-04-22 01:02:45 +06:00
|
|
|
</body>
|
2026-04-21 22:20:39 +06:00
|
|
|
</html>
|
|
|
|
|
);
|
2026-04-22 01:02:45 +06:00
|
|
|
}
|