Files
property-pulse-nextjs/app/layout.jsx
T
2024-07-12 07:13:33 -04:00

28 lines
661 B
React

import Navbar from '@/components/Navbar';
import AuthProvider from '@/components/AuthProvider';
import { ToastContainer } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import '@/assets/styles/globals.css';
export const metadata = {
title: 'PropertyPulse',
description: 'Find The Perfect Rental Property',
keywords: 'rental, property, real estate',
};
const MainLayout = ({ children }) => {
return (
<AuthProvider>
<html lang='en'>
<body>
<Navbar />
<main>{children}</main>
<ToastContainer />
</body>
</html>
</AuthProvider>
);
};
export default MainLayout;