33 lines
844 B
TypeScript
33 lines
844 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import Sidebar from "@/components/Sidebar";
|
|
import { Toaster } from "react-hot-toast";
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
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",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={inter.variable}>
|
|
<body className="min-h-screen bg-slate-50 antialiased">
|
|
<Sidebar />
|
|
<main className="lg:ml-64 min-h-screen">
|
|
{children}
|
|
</main>
|
|
<Toaster position="top-right" />
|
|
</body>
|
|
</html>
|
|
);
|
|
} |