Auth - Login/Signup/Forgot/Rest

This commit is contained in:
Rotimi Best
2022-12-03 22:45:01 +01:00
parent 8e169241e1
commit 3b0ff79c60
21 changed files with 881 additions and 283 deletions
+24
View File
@@ -0,0 +1,24 @@
export const ROUTE = {
HOME: '/',
DASHBOARD: '/dashboard',
ONBOARDING: '/onboarding',
COURSES: '/courses',
LOGIN: '/login',
SIGN_UP: '/signup',
PROFILE: '/profile',
PEOPLE: '/people',
DISCUSSIONS: '/discussions',
ASK: '/ask',
FORGOT: '/forgot',
RESET: '/reset',
};
export const PUBLIC_ROUTES = [
ROUTE.HOME,
ROUTE.LOGIN,
ROUTE.SIGN_UP,
ROUTE.FORGOT,
ROUTE.RESET,
];
export const ROUTES_TO_HIDE_NAV = [...PUBLIC_ROUTES, ROUTE.ONBOARDING];