added map to listings

This commit is contained in:
QkoSad
2022-12-02 22:21:43 +02:00
parent d79737a497
commit 09b6b0ad86
7 changed files with 270 additions and 44 deletions
+7
View File
@@ -11,6 +11,8 @@ import Signin from "./pages/Signin";
import Signup from "./pages/Signup";
import Category from "./pages/Category";
import CreateLising from "./pages/CreateListing";
import Listing from "./pages/Listing";
import Contact from "./pages/Contact";
function App() {
return (
@@ -28,6 +30,11 @@ function App() {
<Route path="/sign-up" element={<Signup />} />
<Route path="/forgot-password" element={<ForgotPassword />} />
<Route path="/create-listing" element={<CreateLising />} />
<Route
path="/category/:categoryName/:listingId"
element={<Listing />}
/>
<Route path="/contact/:landlordId" element={<Contact />}/>
</Routes>
<Navbar />
</Router>