added map to listings
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user