Fakultas Ilmu Komputer UI

navigation.ts 574 Bytes
Newer Older
1
import * as ROUTES from 'constants/routes';
2
import { AllAccessQuestionnaire, DietelaQuizResult, InitialPage } from 'scenes';
3
import { FC } from 'react';
4

5
6
7
8
9
10
11
export interface NavRoute {
  name: string;
  component: FC;
  header?: string;
}

export const navigation: NavRoute[] = [
12
  {
13
14
    name: ROUTES.initial,
    component: InitialPage,
15
  },
16
17
18
19
20
  {
    name: ROUTES.allAccessQuestionnaire,
    component: AllAccessQuestionnaire,
    header: 'Dietela Quiz',
  },
21
22
23
24
25
  {
    name: ROUTES.dietelaQuizResult,
    component: DietelaQuizResult,
    header: 'Dietela Quiz Result',
  },
26
];