add new navigation routes
This commit is contained in:
parent
976cdd1fc3
commit
819527ca20
@ -1,5 +1,9 @@
|
|||||||
import {
|
import {
|
||||||
Home
|
BestLocation,
|
||||||
|
Discovery,
|
||||||
|
Home,
|
||||||
|
NewsEvent,
|
||||||
|
Story
|
||||||
} from '../pages';
|
} from '../pages';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
@ -7,7 +11,27 @@ const routes = [
|
|||||||
path: "/",
|
path: "/",
|
||||||
name: "Home",
|
name: "Home",
|
||||||
element: <Home />
|
element: <Home />
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
path: "/best-places",
|
||||||
|
name: "Home",
|
||||||
|
element: <BestLocation />
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/discover",
|
||||||
|
name: "Home",
|
||||||
|
element: <Discovery />
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/stories",
|
||||||
|
name: "Home",
|
||||||
|
element: <Story />
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/news-events",
|
||||||
|
name: "Home",
|
||||||
|
element: <NewsEvent />
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
export default routes;
|
export default routes;
|
Loading…
Reference in New Issue
Block a user