-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbrands.ts
450 lines (422 loc) · 14.3 KB
/
brands.ts
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
import { Theme } from '@terra-ui-packages/components';
import anvilLogo from 'src/images/brands/anvil/ANVIL-Logo.svg';
import anvilLogoWhite from 'src/images/brands/anvil/ANVIL-Logo-White.svg';
import baselineLogo from 'src/images/brands/baseline/baseline-logo-color.svg';
import baselineLogoWhite from 'src/images/brands/baseline/baseline-logo-white.svg';
import bioDataCatalystLogo from 'src/images/brands/bioDataCatalyst/bioDataCatalyst-Logo-color.svg';
import bioDataCatalystLogoWhite from 'src/images/brands/bioDataCatalyst/bioDataCatalyst-Logo-white.svg';
import datastageLogo from 'src/images/brands/datastage/DataSTAGE-Logo.svg';
import datastageLogoWhite from 'src/images/brands/datastage/DataSTAGE-Logo-White.svg';
import elwaziLogo from 'src/images/brands/elwazi/elwazi-logo-color.svg';
import elwaziLogoWhite from 'src/images/brands/elwazi/elwazi-logo-white.svg';
import fcLogo from 'src/images/brands/firecloud/FireCloud-Logo.svg';
import fcLogoWhite from 'src/images/brands/firecloud/FireCloud-Logo-White.svg';
import projectSingularLogo from 'src/images/brands/projectSingular/project-singular-logo-black.svg';
import projectSingularLogoWhite from 'src/images/brands/projectSingular/project-singular-logo-white.svg';
import publicHealthBackground from 'src/images/brands/publicHealth/Terra-PHG-background.png';
import publicHealthLogo from 'src/images/brands/publicHealth/Terra-PHG-Color.svg';
import publicHealthLogoWhite from 'src/images/brands/publicHealth/Terra-PHG-White.svg';
import rareXLogo from 'src/images/brands/rareX/rarex-logo-color.svg';
import rareXLogoWhite from 'src/images/brands/rareX/rarex-logo-white.svg';
import terraLogo from 'src/images/brands/terra/logo.svg';
import terraLogoWhite from 'src/images/brands/terra/logo-grey.svg';
import terraLogoShadow from 'src/images/brands/terra/logo-wShadow.svg';
const nonBreakingHyphen = '\u2011';
export interface BrandConfiguration {
/** Brand name */
name: string;
/** Used to construct return URLs for FireCloud */
queryName: string;
/** Landing page header text */
welcomeHeader: string;
/** Landing page text */
description: string;
/** Host name for branded site */
hostName: string;
/** Links shown on landing page */
docLinks: {
/** Link URL */
link: string;
/** Link text */
text: string;
}[];
/** URLs for logo images */
logos: {
/** Brand logo */
color: string;
/** Light version of brand logo used against dark backgrounds */
white: string;
[otherLogoType: string]: string;
};
/** Optional URL for landing page background image */
landingPageBackground?: string;
landingPageCards?: {
/** Card link */
link: string;
/** Card title */
title: string;
/** Card body */
body: string;
/** Card link pathParams */
linkPathParams?: object;
/** Card link queryParams */
linkQueryParams?: object;
}[];
/** Optionally filter which datasets show up in the Data Catalog */
catalogDataCollectionsToInclude?: string[];
/** Snapshot ID for dataset builder */
datasetBuilderSnapshotId?: string;
/** Theme for components */
theme: Theme;
/** Optional flag to show the roadmap link */
showRoadmap?: boolean;
/** Optional card for the roadmap */
roadMapCard?: {
/** Card link */
link: string;
/** Card title */
title: string;
/** Card body */
body: string;
};
}
export const landingPageCardsDefault = [
{
link: 'workspaces',
title: 'View Workspaces',
body: 'Workspaces connect your data to popular analysis tools powered by the cloud. Use Workspaces to share data, code, and results easily and securely.',
},
{
link: 'library-showcase',
title: 'View Examples',
body: 'Browse our gallery of showcase Workspaces to see how science gets done.',
},
{
link: 'library-datasets',
title: 'Browse Data',
body: 'Access data from a rich ecosystem of data portals.',
},
];
export const roadMapCardDefault = {
link: 'https://support.terra.bio/hc/en-us/sections/30968105851931-Terra-Roadmap',
title: 'Terra Roadmap',
body: "Stay connected: see what's new, what's next, and try out the latest features on Terra.",
};
const baseColors: Theme['colorPalette'] = {
primary: '#74ae43',
secondary: '#6d6e70',
accent: '#4d72aa',
success: '#74ae43',
warning: '#f7981c',
danger: '#db3214',
light: '#e9ecef',
dark: '#333f52',
grey: '#808080',
disabled: '#b6b7b8',
};
/**
* Configuration for Terra co-brands (a.k.a. white label sites)
* https://broadworkbench.atlassian.net/wiki/spaces/WOR/pages/2369388553/Cobranding+and+White+Label+Sites
*/
export const brands: Record<string, BrandConfiguration> = {
anvil: {
name: 'AnVIL',
queryName: 'anvil',
welcomeHeader: 'Welcome to AnVIL',
description:
'The NHGRI AnVIL (Genomic Data Science Analysis, Visualization, and Informatics Lab-space) is a project powered by Terra for biomedical researchers to access data, run analysis tools, and collaborate.',
hostName: 'anvil.terra.bio',
docLinks: [
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find how-to's, documentation, video tutorials, and discussion forums",
},
],
logos: {
color: anvilLogo,
white: anvilLogoWhite,
},
theme: {
colorPalette: { ...baseColors, primary: '#e0dd10', accent: '#035c94', light: '#f6f7f4', dark: '#012840' },
},
showRoadmap: true,
},
baseline: {
name: 'Project Baseline',
queryName: 'project baseline',
welcomeHeader: 'Welcome to Project Baseline',
description:
'The Baseline Health Study Data Portal is a project powered by Terra for biomedical researchers to access data, run analysis tools, and collaborate.',
hostName: 'baseline.terra.bio',
docLinks: [
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find how-to's, documentation, video tutorials, and discussion forums",
},
],
logos: {
color: baselineLogo,
white: baselineLogoWhite,
},
theme: {
colorPalette: { ...baseColors, primary: '#c41061', secondary: '#31164c', light: '#f6f7f4', dark: '#012840' },
},
},
bioDataCatalyst: {
name: 'NHLBI BioData Catalyst',
queryName: 'nhlbi biodata catalyst',
welcomeHeader: 'Welcome to NHLBI BioData Catalyst',
description:
'NHLBI BioData Catalyst (BDC) is a project powered by Terra for biomedical researchers to access data, run analysis tools, and collaborate.',
hostName: 'terra.biodatacatalyst.nhlbi.nih.gov',
docLinks: [
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find how-to's, documentation, video tutorials, and discussion forums",
},
],
logos: {
color: bioDataCatalystLogo,
white: bioDataCatalystLogoWhite,
},
theme: {
colorPalette: {
...baseColors,
primary: '#c0143c',
secondary: '#1a568c',
accent: '#1a568c',
light: '#f4f4f6',
dark: '#12385a',
},
},
},
datastage: {
name: 'DataStage',
queryName: 'datastage',
welcomeHeader: 'Welcome to DataStage',
description:
'DataStage is a project powered by Terra for biomedical researchers to access data, run analysis tools, and collaborate.',
hostName: 'datastage.terra.bio',
docLinks: [
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find how-to's, documentation, video tutorials, and discussion forums",
},
],
logos: {
color: datastageLogo,
white: datastageLogoWhite,
},
theme: {
colorPalette: {
...baseColors,
primary: '#c02f42',
secondary: '#1a568c',
accent: '#1a568c',
light: '#f4f4f6',
dark: '#12385a',
},
},
},
elwazi: {
name: 'eLwazi',
queryName: 'elwazi',
welcomeHeader: 'Welcome to eLwazi',
description:
'The eLwazi Open Data Science Platform is a project powered by Terra for biomedical researchers to access data, run analysis tools, and collaborate.',
hostName: 'elwazi.terra.bio',
docLinks: [
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find how-to's, documentation, video tutorials, and discussion forums",
},
],
logos: {
color: elwaziLogo,
white: elwaziLogoWhite,
},
theme: {
colorPalette: {
...baseColors,
primary: '#c13f27',
secondary: '#c13f27',
dark: '#1d1d1b',
accent: '#6e3d3b',
success: '#9eb642',
},
},
},
firecloud: {
name: 'FireCloud',
queryName: 'firecloud',
welcomeHeader: 'Welcome to FireCloud',
description:
'FireCloud is a NCI Cloud Resource project powered by Terra for biomedical researchers to access data, run analysis tools, and collaborate.',
hostName: 'firecloud.terra.bio',
docLinks: [
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find how-to's, documentation, video tutorials, and discussion forums",
},
{
link: 'https://support.terra.bio/hc/en-us/articles/360022694271',
text: "Already a FireCloud user? Learn what's new.",
},
{
link: 'https://support.terra.bio/hc/en-us/articles/360033416912',
text: 'Learn more about the Cancer Research Data Commons and other NCI Cloud Resources',
},
],
logos: {
color: fcLogo,
white: fcLogoWhite,
},
theme: {
colorPalette: { ...baseColors, primary: '#4d72aa' },
},
},
projectSingular: {
name: 'Project Singular',
queryName: 'project singular',
welcomeHeader: 'Welcome to Project Singular',
description:
'Project Singular is a project funded by Additional Ventures and powered by Terra for biomedical researchers to access data, run analysis tools, and collaborate.',
hostName: 'projectsingular.terra.bio',
docLinks: [
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find how-to's, documentation, video tutorials, and discussion forums",
},
],
logos: {
color: projectSingularLogo,
white: projectSingularLogoWhite,
},
theme: {
colorPalette: { ...baseColors, primary: '#521b93', secondary: '#011c48', accent: '#521b93' },
},
},
publicHealth: {
name: 'Terra for Public Health Genomics',
queryName: 'publicHealth',
welcomeHeader: 'Terra for Public Health Genomics',
description:
'Terra is a secure cloud-based data platform enabling pathogen genomic data analysis in public health, clinical, and academic settings.',
hostName: 'publichealth.terra.bio',
docLinks: [
{
link: 'https://publichealth.terra.bio/#workspaces/malaria-featured-workspaces/Malaria_Resources_Overview',
text: 'Malaria Resources on Terra',
},
{
link: 'https://dockstore.org/organizations/Theiagen',
text: 'Theiagen Workflow Repository (Dockstore)',
},
{
link: 'https://docs.google.com/document/d/e/2PACX-1vTPQC-bYMRxXQ4Gz9ESH_Eo-E6UXD2qOL7_3iMxJaQF3pOyW3tUyu7G9Nvk-JTf8xDkOyhftvd9L-sa/pub',
text: 'Terra Cloud Costs FAQs',
},
{
link: 'mailto:publichealthgenomics@broadinstitute.org',
text: 'Contact us',
},
{
link: 'https://support.terra.bio/hc/en-us',
text: 'Terra Support',
},
],
logos: {
color: publicHealthLogo,
white: publicHealthLogoWhite,
},
landingPageBackground: publicHealthBackground,
landingPageCards: [
{
link: 'workspaces',
title: 'My Workspaces',
body: 'Combine your own data and workflows with publicly available data and workflows to power your analyses in a secure environment.',
},
{
link: 'workspaces',
title: 'Public Workspaces',
body: 'Curated example workspaces to help users understand common pathogen genomic datasets and workflows.',
linkPathParams: {},
linkQueryParams: { tab: 'public', 'tagsFilter[]': 'pathogen genomics' },
},
],
theme: {
colorPalette: {
...baseColors,
primary: '#006DB6',
secondary: '#004D81',
accent: '#4D72AA',
light: '#E6F1F8',
dark: '#333F52',
},
},
showRoadmap: true,
},
rareX: {
name: `The RARE${nonBreakingHyphen}X Data Analysis Platform`,
queryName: `the rare${nonBreakingHyphen}x data analysis platform`,
welcomeHeader: `Welcome to the RARE${nonBreakingHyphen}X Data Analysis Platform`,
description: `The RARE${nonBreakingHyphen}X Data Analysis Platform is a federated data repository of rare disease patient health data, including patient reported outcomes, clinical and molecular information. The platform is powered by Terra for biomedical researchers to access data, run analysis tools, and collaborate.`,
hostName: 'rare-x.terra.bio',
docLinks: [
{
link: 'https://docs.google.com/forms/d/e/1FAIpQLScpqfZIXW53IJOiYz2RhASJzm7lZBYAjzkjJ67qFDERUpuDAQ/viewform',
text: 'Request access to the RARE-X data set within Terra',
},
{
link: 'https://rare-x.org/researchers/',
text: 'Learn more about the data available from RARE-X',
},
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find Terra how-to's, documentation, video tutorials, and discussion forums",
},
],
logos: {
color: rareXLogo,
white: rareXLogoWhite,
},
theme: {
colorPalette: {
...baseColors,
primary: '#26355c',
secondary: '#26355c',
dark: '#414042',
accent: '#4e6888',
light: '#f4efea',
},
},
},
terra: {
name: 'Terra',
queryName: 'terra',
welcomeHeader: 'Welcome to Terra Community Workbench',
description:
'Terra is a cloud-native platform for biomedical researchers to access data, run analysis tools, and collaborate.',
hostName: 'app.terra.bio',
docLinks: [
{
link: 'https://support.terra.bio/hc/en-us',
text: "Find how-to's, documentation, video tutorials, and discussion forums",
},
{
link: 'https://support.terra.bio/hc/en-us/articles/360033416672',
text: 'Learn more about the Terra platform and our co-branded sites',
},
],
logos: {
color: terraLogo,
white: terraLogoWhite,
shadow: terraLogoShadow,
},
theme: {
colorPalette: { ...baseColors },
},
showRoadmap: true,
},
};
export const defaultBrand = brands.terra;