import Favorites from "../pages/Favorites";
import Comparisons from "../pages/Comparisons";
import IndexApartment from "../pages/IndexApartment";
import IndexPage from "../pages/IndexPage";
import PsychTest from "../pages/PsychTest";
import Tinder from "../pages/Tinder";
import LoginPage from "../pages/LoginPage";
import LoggedIn from "../pages/LoggedIn";
import PersonalCabinet from "../pages/PersonalCabinet";

// НА ПРОДАШКЕНЕ СДЕЛАТЬ ПРИВАТНЫЕ МАРШРУТЫ
// 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: "/favorites", component: <Favorites />, exact: true },
        { path: "/comparisons", component: <Comparisons />, 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 },
        { path: "/login", component: <LoginPage />, exact: true },
        { path: "/sign-in", component: <LoggedIn />, exact: true },
        { path: "/psych_test", component: <PsychTest />, exact: true },
        { path: "/personal_cabinet", component: <PersonalCabinet />, exact: true },
    ],
    privateRoutes: [],
});
