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 { SettingsPage } from '../pages/settings' import { SubmitModPage } from '../pages/submitMod' import { WritePage } from '../pages/write' export const appRoutes = { index: '/', home: '/home', games: '/games', mods: '/mods', about: '/about', blog: '/blog', submitMod: '/submit-mod', write: '/write', settingsProfile: '/settings-profile', settingsRelays: '/settings-relays', settingsPreferences: '/settings-preferences', settingsAdmin: '/settings-admin' } export const routes = [ { path: appRoutes.index, element: }, { path: appRoutes.home, element: }, { path: appRoutes.games, element: }, { path: appRoutes.mods, element: }, { path: appRoutes.about, element: }, { path: appRoutes.blog, element: }, { path: appRoutes.submitMod, element: }, { path: appRoutes.write, element: }, { path: appRoutes.settingsProfile, element: }, { path: appRoutes.settingsRelays, element: }, { path: appRoutes.settingsPreferences, element: }, { path: appRoutes.settingsAdmin, element: } ]