degmods.com/src/routes/index.tsx
2024-07-11 17:52:48 +05:00

40 lines
653 B
TypeScript

import { GamesPage } from '../pages/games'
import { HomePage } from '../pages/home'
import { ModsPage } from '../pages/mods'
export const appRoutes = {
index: '/',
home: '/home',
games: '/games',
mods: '/mods',
about: '/about',
blog: '/blog'
}
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: <HomePage />
},
{
path: appRoutes.blog,
element: <HomePage />
}
]