import Favorites from "../pages/Favorites";
import Comparisons from "../pages/Comparisons";
import IndexApartment from "../pages/IndexApartment";
import IndexPage from "../pages/IndexPage";
import Tinder from "../pages/Tinder";

// НА ПРОДАШКЕНЕ СДЕЛАТЬ ПРИВАТНЫЕ МАРШРУТЫ
// export const privateRoutes = [
//     {path: '/favorites', component: Favorites, exact: true},
//     {path: '/comparisons', component: Comparisons, exact: true},
// ]

export default Object.freeze({
    publicRoutes: [
        { path: '/',                component: <IndexPage />,       exact: true },
        { path: '/apartment/:id',   component: <IndexApartment />,  exact: true },
        { path: '/favorites',       component: <Favorites />,       exact: true },
        { path: '/comparisons',     component: <Comparisons />,     exact: true },
        { path: '/tinder',          component: <Tinder />,          exact: true }
    ],
    privateRoutes: []
})