Skip to content

Commit

Permalink
#1465 updated companies in credits and logic behind for better manage…
Browse files Browse the repository at this point in the history
…ability
  • Loading branch information
matej-vavrek committed Jun 24, 2024
1 parent fe9fe08 commit 1573e16
Show file tree
Hide file tree
Showing 41 changed files with 290 additions and 178 deletions.
227 changes: 227 additions & 0 deletions js/components/funders/constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
/**
* Get image for src from \js\img\logos
*
* @param {string} image image file name
* @returns
*/
export const get_logo = image => {
return require('../../img/logos/' + image);
}

/**
* List of companies with their definitions
*/
export const COMPANIES = {
diamond: {
title: 'Diamond Light Source',
link: 'https://www.diamond.ac.uk/Home.html',
image: 'dlsLogo.png'
},
asap: {
title: 'AI-driven Structure-enabled Antiviral Platform',
link: 'https://asapdiscovery.org/',
image: 'asapLogo.jpg'
},
xchem: {
title: 'XChem',
link: 'https://www.diamond.ac.uk/Instruments/Mx/Fragment-Screening.html',
image: 'xchemLogo.png'
},
fragmentScreen: {
title: 'Fragment-Screen',
link: 'https://fragmentscreen.org/home',
image: 'fragmentScreenLogo.png'
},
sgc: {
title: 'Structural Genomics Consortium',
link: 'https://www.thesgc.org/',
image: 'sgcLogo.png'
},
iris: {
title: 'IRIS',
link: 'https://www.iris.ac.uk/',
image: 'irisLogo.png'
},
niaid: {
title: 'National Institute of Allergy and Infectious Diseases',
link: 'https://www.niaid.nih.gov/',
image: 'niaidLogo.png'
},
iEric: {
title: 'Instruct-ERIC',
link: 'https://instruct-eric.org/',
image: 'iEricLogo.png'
},
alc: {
title: 'Ada Lovelace Center',
link: 'https://adalovelacecentre.ac.uk/',
image: 'alcLogo.png'
},
ukRI: {
title: 'UK Research and Innovation',
link: 'https://www.ukri.org/',
image: 'ukRILogo.png'
},
inext: {
title: 'iNEXT-Discovery',
link: 'http://www.inext-eu.org/',
image: 'inextLogo.png'
},
jff: {
title: 'John Fell Fund',
link: 'https://researchsupport.admin.ox.ac.uk/funding/internal/jff',
image: 'jffLogo.jpg'
},
newtonfund: {
title: 'Newton Fund',
link: 'https://www.newtonfund.ac.uk/',
image: 'nfLogo.png'
},
wellcomeTrust: {
title: 'Institutional Strategic Support Fund',
link: 'https://wellcome.org/grant-funding/funded-people-and-projects/institutional-strategic-support-fund',
image: 'wtLogo.png'
},
wellcome: {
title: 'Wellcome',
link: 'https://wellcome.org',
image: 'welcomeLogo.jpg'
},
ultradd: {
title: 'Unrestricted Leveraging of Targets for Research Advancement and Drug Discovery',
link: 'https://ultra-dd.org/',
image: 'ultraddLogo.png'
},
imi: {
title: 'Innovative Medicines Initiative',
link: 'https://www.imi.europa.eu/',
image: 'imiLogo.png'
},
ukRIstfc: {
title: 'Science and Technology Facilities Council',
link: 'https://www.ukri.org/councils/stfc/',
image: 'ukRIstfcLogo.jpg'
},
rosetrees: {
title: 'Rosetrees',
link: 'https://rosetrees.org.uk/',
image: 'rosetreesLogo.png'
},
eu: {
title: 'European Union',
link: 'https://european-union.europa.eu/live-work-study/funding-grants-subsidies_en',
image: 'euLogo.png'
},
eubopen: {
title: 'EUbOPEN',
link: 'https://www.eubopen.org/',
image: 'eubopenLogo.png'
},
harwell: {
title: 'The Research Complex at Harwell',
link: 'https://www.ukri.org/who-we-are/mrc/institutes-units-and-centres/the-research-complex-at-harwell/',
image: 'harwellLogo.png'
},
sabs: {
title: 'SABS R³',
link: 'https://www.sabsr3.ox.ac.uk/home',
image: 'sabsLogo.png'
},
cmd: {
title: 'Centre for Medicines Discovery',
link: 'https://www.cmd.ox.ac.uk/',
image: 'cmdLogo.png'
},
opig: {
title: 'Oxford Protein Informatics Group',
link: 'https://opig.stats.ox.ac.uk/',
image: 'opigLogo.png'
},
horizon: {
title: 'Horizon 2020',
link: 'https://ec.europa.eu/programmes/horizon2020/',
image: 'horizon2020Logo.jpg'
},
janssen: {
title: 'Janssen',
link: 'https://www.janssen.com/',
image: 'janssenLogo.png'
},
m2ms: {
title: 'M2M Solutions',
link: 'https://www.en.m2ms.sk/',
image: 'm2msLogo.png'
},
informaticsmatters: {
title: 'Informatics Matters',
link: 'https://www.informaticsmatters.com/',
image: 'informaticsLogo.png'
},
// company: {
// link: 'https://www.acellera.com/',
// image:
// },
// company: {
// link: 'https://www.rse.ox.ac.uk/',
// image:
// },
// company: {
// link: 'https://www.molsoft.com/',
// image:
// },
moonshot: {
title: 'COVID Moonshot',
link: 'https://covid.postera.ai/covid',
image: 'covidMoonshotLogo.png'
},
mrc: {
title: 'Medical Research Council',
link: 'https://mrc.ukri.org/',
image: 'mrcLogo.png'
}
};

/**
* Companies listed in funding section
*/
export const FUNDING = [
COMPANIES.diamond,
COMPANIES.asap,
COMPANIES.fragmentScreen,
COMPANIES.ultradd,
COMPANIES.sgc,
COMPANIES.iris,
COMPANIES.niaid,
COMPANIES.iEric,
COMPANIES.janssen,
COMPANIES.wellcomeTrust,
COMPANIES.alc,
COMPANIES.wellcome,
COMPANIES.ukRI,
COMPANIES.imi,
COMPANIES.jff,
COMPANIES.ukRIstfc,
COMPANIES.rosetrees,
COMPANIES.eu,
COMPANIES.eubopen,
COMPANIES.newtonfund,
COMPANIES.harwell,
COMPANIES.sabs,
COMPANIES.inext,
COMPANIES.horizon,
COMPANIES.mrc
];

/**
* Companies listed in contributors section
*/
export const CONTRIBUTORS = [
COMPANIES.xchem,
COMPANIES.m2ms,
COMPANIES.informaticsmatters,
COMPANIES.cmd,
COMPANIES.opig,
COMPANIES.sabs,
COMPANIES.moonshot,
COMPANIES.janssen
];
16 changes: 8 additions & 8 deletions js/components/funders/fundersHolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,42 +46,42 @@ class FundersHolder extends PureComponent {
<Grid container>
<Grid item xs={4} md={4}>
<div className="text-center">
<img src={require('../../img/xchemLogo.png')} width={logoWidth} onClick={this.openXchem} />
<img src={require('../../img/logos/xchemLogo.png')} width={logoWidth} onClick={this.openXchem} />
</div>
</Grid>
<Grid item xs={4} md={4}>
<div className="text-center">
<img src={require('../../img/dlsLogo.png')} width={logoWidth} onClick={this.openDls} />
<img src={require('../../img/logos/dlsLogo.png')} width={logoWidth} onClick={this.openDls} />
</div>
</Grid>
<Grid item xs={4} md={4}>
<div className="text-center">
<img src={require('../../img/sgcLogo.png')} width={logoWidth} onClick={this.openSgc} />
<img src={require('../../img/logos/sgcLogo.png')} width={logoWidth} onClick={this.openSgc} />
</div>
</Grid>
<Grid item xs={4} md={4}>
<div className="text-center">
<img src={require('../../img/mrcLogo.png')} width={logoWidth} onClick={this.openMrc} />
<img src={require('../../img/logos/mrcLogo.png')} width={logoWidth} onClick={this.openMrc} />
</div>
</Grid>
<Grid item xs={4} md={4}>
<div className="text-center">
<img src={require('../../img/wtLogo.png')} width={logoWidth} onClick={this.openWt} />
<img src={require('../../img/logos/wtLogo.png')} width={logoWidth} onClick={this.openWt} />
</div>
</Grid>
<Grid item xs={4} md={4}>
<div className="text-center">
<img src={require('../../img/inextLogo.png')} width={logoWidth} onClick={this.openInext} />
<img src={require('../../img/logos/inextLogo.png')} width={logoWidth} onClick={this.openInext} />
</div>
</Grid>
<Grid item xs={4} md={4}>
<div className="text-center">
<img src={require('../../img/jffLogo.jpg')} width={logoWidth} onClick={this.openJff} />
<img src={require('../../img/logos/jffLogo.jpg')} width={logoWidth} onClick={this.openJff} />
</div>
</Grid>
<Grid item xs={4} md={4}>
<div className="text-center">
<img src={require('../../img/nfLogo.png')} width={logoWidth} onClick={this.openNf} />
<img src={require('../../img/logos/nfLogo.png')} width={logoWidth} onClick={this.openNf} />
</div>
</Grid>
</Grid>
Expand Down
Loading

0 comments on commit 1573e16

Please sign in to comment.