2024-07-11 15:09:47 +00:00
|
|
|
import { AboutPage } from '../pages/about'
|
2024-07-11 13:34:12 +00:00
|
|
|
import { BlogsPage } from '../pages/blogs'
|
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:52:48 +00:00
|
|
|
import { ModsPage } from '../pages/mods'
|
2024-07-11 11:45:59 +00:00
|
|
|
|
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,
|
2024-07-11 12:52:48 +00:00
|
|
|
element: <ModsPage />
|
2024-07-11 12:15:03 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
path: appRoutes.about,
|
2024-07-11 15:09:47 +00:00
|
|
|
element: <AboutPage />
|
2024-07-11 12:15:03 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
path: appRoutes.blog,
|
2024-07-11 13:34:12 +00:00
|
|
|
element: <BlogsPage />
|
2024-07-11 11:45:59 +00:00
|
|
|
}
|
|
|
|
]
|