finished project

This commit is contained in:
nameishappy
2023-08-03 21:20:53 +05:30
commit 73651d6058
65 changed files with 15611 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import React from 'react'
import Sidebar from '../components/Sidebar'
import styles from './AppLayout.module.css'
import Map from '../components/Map'
import User from '../components/User'
import { useAuth } from '../contexts/FakeAuthcontext'
const AppLayout = () => {
const {isAuthenticated}=useAuth();
return (
<div className={styles.app}>
<Sidebar/>
<Map/>
{isAuthenticated && <User/>}
</div>
)
}
export default AppLayout