Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6726 | Rev 6729 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6726 Rev 6727
Línea 6... Línea 6...
6
 
6
 
7
import PublicRoute from './PublicRoute'
7
import PublicRoute from './PublicRoute'
8
import PrivateRoute from './PrivateRoute'
8
import PrivateRoute from './PrivateRoute'
9
import Spinner from '../components/UI/Spinner'
9
import Spinner from '../components/UI/Spinner'
-
 
10
import NotificationAlert from '../components/UI/notification/NotificationAlert'
-
 
11
import MyProfilesPage from '../pages/profiles/MyProfilesPage'
-
 
12
import PeopleViewedMyProfilePage from '../pages/profiles/PeopleViewedMyProfilePage'
Línea 10... Línea 13...
10
import NotificationAlert from '../components/UI/notification/NotificationAlert'
13
import SavedJobsPage from '../pages/jobs/SavedJobsPage'
11
 
14
 
12
const Header = lazy(() => import('../components/navbar/Header'))
15
const Header = lazy(() => import('../components/navbar/Header'))
13
const Auth = lazy(() => import('../pages/auth/Auth'))
16
const Auth = lazy(() => import('../pages/auth/Auth'))
Línea 97... Línea 100...
97
            path="/connection/people-blocked"
100
            path="/connection/people-blocked"
98
            isAuthenticated={isAuth}
101
            isAuthenticated={isAuth}
99
          >
102
          >
100
            <PeopleBlockedPage />
103
            <PeopleBlockedPage />
101
          </PrivateRoute>
104
          </PrivateRoute>
-
 
105
          <PrivateRoute
-
 
106
            exact
-
 
107
            path="/profile/my-profiles"
-
 
108
            isAuthenticated={isAuth}
-
 
109
          >
-
 
110
            <MyProfilesPage />
-
 
111
          </PrivateRoute>
-
 
112
          <PrivateRoute
-
 
113
            exact
-
 
114
            path="/profile/people-viewed-profile"
-
 
115
            isAuthenticated={isAuth}
-
 
116
          >
-
 
117
            <PeopleViewedMyProfilePage />
-
 
118
          </PrivateRoute>
-
 
119
          <PrivateRoute exact path="/job/saved-jobs" isAuthenticated={isAuth}>
-
 
120
            <SavedJobsPage />
-
 
121
          </PrivateRoute>
-
 
122
          <PrivateRoute exact path="/job/applied-jobs" isAuthenticated={isAuth}>
-
 
123
            <PeopleBlockedPage />
-
 
124
          </PrivateRoute>
Línea 102... Línea 125...
102
 
125
 
103
          <PublicRoute path="/" isAuthenticated={isAuth}>
126
          <PublicRoute path="/" isAuthenticated={isAuth}>
104
            <Auth />
127
            <Auth />
105
          </PublicRoute>
128
          </PublicRoute>