add new navigation routes

This commit is contained in:
NCanggoro 2023-09-17 16:26:46 +07:00
parent 976cdd1fc3
commit 819527ca20

View File

@ -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;