@@ -5,41 +5,47 @@ export enum OrgType {
5
5
MISC = "misc" ,
6
6
}
7
7
8
- export const Organizations = {
9
- "A01" : { name : "ACM" , type : OrgType . MAIN , shortcode : "acm" } ,
10
- "S01" : { name : "SIGPwny" , type : OrgType . SIG , shortcode : "sigpwny" } ,
11
- "S02" : { name : "SIGCHI" , type : OrgType . SIG , shortcode : "sigchi" } ,
12
- "S03" : { name : "GameBuilders" , type : OrgType . SIG , shortcode : "gamebuilders" } ,
13
- "S04" : { name : "SIGAIDA" , type : OrgType . SIG , shortcode : "sigaida" } ,
14
- "S05" : { name : "SIGGRAPH" , type : OrgType . SIG , shortcode : "siggraph" } ,
15
- "S06" : { name : "ICPC" , type : OrgType . SIG , shortcode : "icpc" } ,
16
- "S07" : { name : "SIGMobile" , type : OrgType . SIG , shortcode : "sigmobile" } ,
17
- "S08" : { name : "SIGMusic" , type : OrgType . SIG , shortcode : "sigmusic" } ,
18
- "S09" : { name : "GLUG" , type : OrgType . SIG , shortcode : "glug" } ,
19
- "S10" : { name : "SIGNLL" , type : OrgType . SIG , shortcode : "signll" } ,
20
- "S11" : { name : "SIGma" , type : OrgType . SIG , shortcode : "sigma" } ,
21
- "S12" : { name : "SIGQuantum" , type : OrgType . SIG , shortcode : "sigquantum" } ,
22
- "S13" : { name : "SIGecom" , type : OrgType . SIG , shortcode : "sigecom" } ,
23
- "S14" : { name : "SIGPLAN" , type : OrgType . SIG , shortcode : "sigplan" } ,
24
- "S15" : { name : "SIGPolicy" , type : OrgType . SIG , shortcode : "sigpolicy" } ,
25
- "S16" : { name : "SIGARCH" , type : OrgType . SIG , shortcode : "sigarch" } ,
26
- "S17" : { name : "SIGRobotics" , type : OrgType . SIG , shortcode : "sigrobotics" } ,
27
- "S18" : { name : "SIGtricity" , type : OrgType . SIG , shortcode : "sigtricity" } ,
8
+ export type Organization = {
9
+ name : string
10
+ type : OrgType
11
+ shortcode : string
12
+ color : string
13
+ }
14
+
15
+ export const Organizations : Record < string , Organization > = {
16
+ "A01" : { name : "ACM" , type : OrgType . MAIN , shortcode : "acm" , color : "#4577f8" } ,
17
+ "S01" : { name : "SIGPwny" , type : OrgType . SIG , shortcode : "sigpwny" , color : "#33cc55" } ,
18
+ "S02" : { name : "SIGCHI" , type : OrgType . SIG , shortcode : "sigchi" , color : "#EEAE48" } ,
19
+ "S03" : { name : "GameBuilders" , type : OrgType . SIG , shortcode : "gamebuilders" , color : "#29386D" } ,
20
+ "S04" : { name : "SIGAIDA" , type : OrgType . SIG , shortcode : "sigaida" , color : "#BFDDFC" } ,
21
+ "S05" : { name : "SIGGRAPH" , type : OrgType . SIG , shortcode : "siggraph" , color : "#7896A7" } ,
22
+ "S06" : { name : "ICPC" , type : OrgType . SIG , shortcode : "icpc" , color : "#AF2A23" } ,
23
+ "S07" : { name : "SIGMobile" , type : OrgType . SIG , shortcode : "sigmobile" , color : "#0C7BBD" } ,
24
+ "S08" : { name : "SIGMusic" , type : OrgType . SIG , shortcode : "sigmusic" , color : "#F4DCA3" } ,
25
+ "S09" : { name : "GLUG" , type : OrgType . SIG , shortcode : "glug" , color : "#E94A27" } ,
26
+ "S10" : { name : "SIGNLL" , type : OrgType . SIG , shortcode : "signll" , color : "#F59A23" } ,
27
+ "S11" : { name : "SIGma" , type : OrgType . SIG , shortcode : "sigma" , color : "#4B65F2" } ,
28
+ "S12" : { name : "SIGQuantum" , type : OrgType . SIG , shortcode : "sigquantum" , color : "#233643" } ,
29
+ "S13" : { name : "SIGecom" , type : OrgType . SIG , shortcode : "sigecom" , color : "#00759A" } ,
30
+ "S14" : { name : "SIGPLAN" , type : OrgType . SIG , shortcode : "sigplan" , color : "#4577f8" } ,
31
+ "S15" : { name : "SIGPolicy" , type : OrgType . SIG , shortcode : "sigpolicy" , color : "#292929" } ,
32
+ "S16" : { name : "SIGARCH" , type : OrgType . SIG , shortcode : "sigarch" , color : "#155CD0" } ,
33
+ "S17" : { name : "SIGRobotics" , type : OrgType . SIG , shortcode : "sigrobotics" , color : "#B0B0B0" } ,
34
+ "S18" : { name : "SIGtricity" , type : OrgType . SIG , shortcode : "sigtricity" , color : "#4577f8" } ,
28
35
29
- "C01" : { name : "Infrastructure Committee" , type : OrgType . COMMITTEE , shortcode : "infra" } ,
30
- "C02" : { name : "Social Committee" , type : OrgType . COMMITTEE , shortcode : "social" } ,
31
- "C03" : { name : "Mentorship Committee" , type : OrgType . COMMITTEE , shortcode : "mentorship" } ,
32
- "C04" : { name : "Academic Committee" , type : OrgType . COMMITTEE , shortcode : "academic" } ,
33
- "C05" : { name : "Corporate Committee" , type : OrgType . COMMITTEE , shortcode : "corporate" } ,
34
- "C06" : { name : "Marketing Committee" , type : OrgType . COMMITTEE , shortcode : "marketing" } ,
36
+ "C01" : { name : "Infrastructure Committee" , type : OrgType . COMMITTEE , shortcode : "infra" , color : "#4577f8" } ,
37
+ "C02" : { name : "Social Committee" , type : OrgType . COMMITTEE , shortcode : "social" , color : "#4577f8" } ,
38
+ "C03" : { name : "Mentorship Committee" , type : OrgType . COMMITTEE , shortcode : "mentorship" , color : "#4577f8" } ,
39
+ "C04" : { name : "Academic Committee" , type : OrgType . COMMITTEE , shortcode : "academic" , color : "#4577f8" } ,
40
+ "C05" : { name : "Corporate Committee" , type : OrgType . COMMITTEE , shortcode : "corporate" , color : "#4577f8" } ,
41
+ "C06" : { name : "Marketing Committee" , type : OrgType . COMMITTEE , shortcode : "marketing" , color : "#4577f8" } ,
35
42
36
- "C07" : { name : "Reflections | Projections" , type : OrgType . COMMITTEE , shortcode : "reflproj" } ,
37
- "C08" : { name : "HackIllinois" , type : OrgType . COMMITTEE , shortcode : "hackillinois" } ,
43
+ "C07" : { name : "Reflections | Projections" , type : OrgType . COMMITTEE , shortcode : "reflproj" , color : "#4577f8" } ,
44
+ "C08" : { name : "HackIllinois" , type : OrgType . COMMITTEE , shortcode : "hackillinois" , color : "#4577f8" } ,
38
45
} as const ;
39
46
40
47
export const AllOrganizationNameList = Object . values ( Organizations ) . map ( x => x . name ) ;
41
48
export type OrganizationId = keyof typeof Organizations ;
42
- export type Organization = ( typeof Organizations ) [ OrganizationId ] ;
43
49
export type OrganizationName = Organization [ "name" ] ;
44
50
45
51
// Create a reverse lookup map from name to ID
0 commit comments