2024-07-11 12:15:03 +00:00
|
|
|
import { GamesPage } from '../pages/games'
|
2024-07-11 11:45:59 +00:00
|
|
|
import { HomePage } from '../pages/home'
|
|
|
|
|
2024-07-11 12:15:03 +00:00
|
|
|
export const appRoutes = {
|
2024-07-11 11:45:59 +00:00
|
|
|
index: '/',
|
2024-07-11 12:15:03 +00:00
|
|
|
home: '/home',
|
|
|
|
games: '/games',
|
|
|
|
mods: '/mods',
|
|
|
|
about: '/about',
|
|
|
|
blog: '/blog'
|
2024-07-11 11:45:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const routes = [
|
|
|
|
{
|
|
|
|
path: appRoutes.index,
|
|
|
|
element: <HomePage />
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: appRoutes.home,
|
|
|
|
element: <HomePage />
|
2024-07-11 12:15:03 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
path: appRoutes.games,
|
|
|
|
element: <GamesPage />
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: appRoutes.mods,
|
|
|
|
element: <HomePage />
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: appRoutes.about,
|
|
|
|
element: <HomePage />
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: appRoutes.blog,
|
|
|
|
element: <HomePage />
|
2024-07-11 11:45:59 +00:00
|
|
|
}
|
|
|
|
]
|