import { AboutPage } from '../pages/about'
import { BlogsPage } from '../pages/blogs'
import { GamesPage } from '../pages/games'
import { HomePage } from '../pages/home'
import { ModsPage } from '../pages/mods'
import { SubmitModPage } from '../pages/submitMod'

export const appRoutes = {
  index: '/',
  home: '/home',
  games: '/games',
  mods: '/mods',
  about: '/about',
  blog: '/blog',
  submitMod: '/submit-mod'
}

export const routes = [
  {
    path: appRoutes.index,
    element: <HomePage />
  },
  {
    path: appRoutes.home,
    element: <HomePage />
  },
  {
    path: appRoutes.games,
    element: <GamesPage />
  },
  {
    path: appRoutes.mods,
    element: <ModsPage />
  },
  {
    path: appRoutes.about,
    element: <AboutPage />
  },
  {
    path: appRoutes.blog,
    element: <BlogsPage />
  },
  {
    path: appRoutes.submitMod,
    element: <SubmitModPage />
  }
]
