-
Notifications
You must be signed in to change notification settings - Fork 13
/
MenuOptions.jsx
103 lines (102 loc) · 2.6 KB
/
MenuOptions.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
import React from 'react';
import {
Info as AboutIcon,
Chat as BlogIcon,
People as CommunityIcon,
AccountBalance as ArchCommunityCallIcon,
DeveloperMode as DevCommunityCallIcon,
SpeakerNotes as OpenHIETerminologyServiceIcon,
GitHub as GitHubIcon,
InsertDriveFile as DocumentationIcon,
Email as EmailIcon,
CloudCircle as MetadataClearinghouseIcon,
Build as ToolsIcon,
Web as MetadataBrowserIcon,
Code as TerminologyServiceIcon,
ContactSupport as ContactIcon
} from '@material-ui/icons';
import OpenMRSLogo from '../common/OpenMRSLogo';
export const MARKETING_SITE_URL = 'https://aws.openconceptlab.org/';
const COMMUNITY_OPTIONS = [
{
label: 'Architecture Community Call',
href: MARKETING_SITE_URL + 'community-resources/ocl-architecture-call/',
icon: <ArchCommunityCallIcon />
},
{
label: 'Developer Community Call',
href: MARKETING_SITE_URL + 'community-resources/ocl-dev-community/',
icon: <DevCommunityCallIcon />
},
{
label: 'OpenHIE Terminology Service Call',
href: MARKETING_SITE_URL + 'community-resources/community-calls/',
icon: <OpenHIETerminologyServiceIcon />
},
{
label: 'Github',
href: 'https://github.com/OpenConceptLab',
icon: <GitHubIcon />
},
{
label: 'Documentation',
href: 'https://docs.openconceptlab.org',
icon: <DocumentationIcon />
},
{
label: 'OCL for OpenMRS',
href: MARKETING_SITE_URL + 'community-resources/ocl-for-openmrs/',
icon: <OpenMRSLogo style={{width: '28px', marginLeft: '-2px'}} />
},
{
label: 'OCL Mailing List',
href: MARKETING_SITE_URL + 'list/',
icon: <EmailIcon />
},
];
const TOOLS_OPTIONS = [
{
label: 'TermBrowser',
href: MARKETING_SITE_URL + 'ocl-tools/metadata-browser/',
icon: <MetadataBrowserIcon />
},
{
label: 'Terminology Service',
href: MARKETING_SITE_URL + 'ocl-tools/terminology-service/',
icon: <TerminologyServiceIcon />
},
];
export const OPTIONS = [
{
label: 'About',
href: MARKETING_SITE_URL + 'about/',
icon: <AboutIcon />,
},
{
label: 'Blog',
href: MARKETING_SITE_URL + 'blog/',
icon: <BlogIcon />
},
{
label: 'Community',
nested: [...COMMUNITY_OPTIONS],
icon: <CommunityIcon />,
href: MARKETING_SITE_URL + 'community-resources/'
},
{
label: 'OCL Online',
icon: <MetadataClearinghouseIcon color='primary' />,
selected: true
},
{
label: 'Tools',
nested: [...TOOLS_OPTIONS],
icon: <ToolsIcon />,
href: MARKETING_SITE_URL + 'ocl-tools/'
},
{
label: 'Contact',
href: MARKETING_SITE_URL + 'contact/',
icon: <ContactIcon />
}
];