UserDashboard/app/layout.tsx
2025-02-21 19:54:48 +08:00

29 lines
820 B
TypeScript

import ProviderComponent from '@/components/layouts/provider-component';
import 'react-perfect-scrollbar/dist/css/styles.css';
import '../styles/tailwind.css';
import { Metadata } from 'next';
import { Nunito } from 'next/font/google';
export const metadata: Metadata = {
title: {
template: '%s | Rooftop Energy - Admin',
default: 'Rooftop Energy - Admin',
},
};
const nunito = Nunito({
weight: ['400', '500', '600', '700', '800'],
subsets: ['latin'],
display: 'swap',
variable: '--font-nunito',
});
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body className={nunito.variable}>
<ProviderComponent>{children}</ProviderComponent>
</body>
</html>
);
}