Fakultas Ilmu Komputer UI

routes.ts 1.68 KB
Newer Older
1
export const initial = 'initial-page';
2
export const comingSoon = '*';
3
4
5

const questionnaire = 'questionnaire';
export const allAccessQuestionnaire = `${questionnaire}/all-access`;
6
export const dietelaQuizResult = `${questionnaire}/dietela-quiz-result`;
Wulan Mantiri's avatar
Wulan Mantiri committed
7
8
9
10
export const consentForm = `${questionnaire}/consent`;
export const extendedQuestionnaire = `${questionnaire}/extended`;
export const extendedQuestionnaireById = (id: number) =>
  `${extendedQuestionnaire}/${id}`;
11

12
13
14
15
export const checkout = 'checkout';
export const choosePlan = `${checkout}/choose-plan`;
export const programDetail = `${checkout}/dietela-program`;
export const nutritionistDetail = `${checkout}/nutritionist`;
16
17

export const registration = 'registration';
18
export const login = 'login';
19
export const loginChoosePlan = 'login-choose-plan';
20
export const nutritionistAdminLogin = 'nutritionist-admin-login';
21

22
23
const profile = 'profile';
export const clientProfile = `${profile}/client`;
Wulan Mantiri's avatar
Wulan Mantiri committed
24

25
export const payment = 'payment';
Wulan Mantiri's avatar
Wulan Mantiri committed
26
export const paymentResult = `${payment}/result`;
27
28

const nutritionist = 'nutritionist';
29
export const clientListForNutritionist = `${nutritionist}/client-list`;
30
31
32
export const clientProfileNutritionist = `${nutritionist}/client-profile`;
export const clientDietReportNutritionist = `${nutritionist}/client-diet-report`;
export const clientChatNutritionist = `${nutritionist}/client-chat`;
33
34
35
36
37
38
39
40

export const profileDietRecommendation = `${clientProfileNutritionist}/recommendation`;

const admin = 'admin';
export const clientListForAdmin = `${admin}/client-list`;
export const clientProfileAdmin = `${admin}/client-profile`;
export const clientDietReportAdmin = `${admin}/client-diet-report`;
export const clientChatAdmin = `${admin}/client-chat`;