Skip to content

Commit

Permalink
#1465 changed some logos for bigger ones, added tooltip also for head…
Browse files Browse the repository at this point in the history
…er logos, removed duplicate of openDiscourseLink
  • Loading branch information
matej-vavrek committed Jun 28, 2024
1 parent 1573e16 commit 4c57800
Show file tree
Hide file tree
Showing 18 changed files with 142 additions and 42 deletions.
14 changes: 7 additions & 7 deletions js/components/funders/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const COMPANIES = {
asap: {
title: 'AI-driven Structure-enabled Antiviral Platform',
link: 'https://asapdiscovery.org/',
image: 'asapLogo.jpg'
image: 'asapLogo.png'
},
xchem: {
title: 'XChem',
Expand All @@ -45,7 +45,7 @@ export const COMPANIES = {
niaid: {
title: 'National Institute of Allergy and Infectious Diseases',
link: 'https://www.niaid.nih.gov/',
image: 'niaidLogo.png'
image: 'niaidLogo.svg'
},
iEric: {
title: 'Instruct-ERIC',
Expand All @@ -64,8 +64,8 @@ export const COMPANIES = {
},
inext: {
title: 'iNEXT-Discovery',
link: 'http://www.inext-eu.org/',
image: 'inextLogo.png'
link: 'https://inext-discovery.eu/',
image: 'inextLogo2.png'
},
jff: {
title: 'John Fell Fund',
Expand All @@ -85,7 +85,7 @@ export const COMPANIES = {
wellcome: {
title: 'Wellcome',
link: 'https://wellcome.org',
image: 'welcomeLogo.jpg'
image: 'welcomeLogo.png'
},
ultradd: {
title: 'Unrestricted Leveraging of Targets for Research Advancement and Drug Discovery',
Expand All @@ -100,7 +100,7 @@ export const COMPANIES = {
ukRIstfc: {
title: 'Science and Technology Facilities Council',
link: 'https://www.ukri.org/councils/stfc/',
image: 'ukRIstfcLogo.jpg'
image: 'ukRIstfcLogo.png'
},
rosetrees: {
title: 'Rosetrees',
Expand Down Expand Up @@ -155,7 +155,7 @@ export const COMPANIES = {
informaticsmatters: {
title: 'Informatics Matters',
link: 'https://www.informaticsmatters.com/',
image: 'informaticsLogo.png'
image: 'informaticsLogo.svg'
},
// company: {
// link: 'https://www.acellera.com/',
Expand Down
76 changes: 41 additions & 35 deletions js/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import { activateSnapshotDialog } from '../snapshot/redux/dispatchActions';
import { setAddButton, setProjectModalIsLoading } from '../projects/redux/actions';
import { getVersions } from '../../utils/version';
import { AddProjectDetail } from '../projects/addProjectDetail';
import { ServicesStatus, ServicesStatusWrapper } from '../services';
import { ServicesStatusWrapper } from '../services';
import { COMPANIES, get_logo } from '../funders/constants';

const useStyles = makeStyles(theme => ({
Expand Down Expand Up @@ -154,10 +154,6 @@ export default memo(
window.open(link, '_blank');
};

const openDiscourseLink = url => {
window.open(url, '_blank');
};

let authListItem;

let username = null;
Expand Down Expand Up @@ -437,44 +433,54 @@ export default memo(
<IssueReport />
</Grid>
<Grid item>
<img
src={get_logo(COMPANIES.xchem.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.xchem.link)}
/>
<Tooltip title={COMPANIES.xchem.title}>
<img
src={get_logo(COMPANIES.xchem.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.xchem.link)}
/>
</Tooltip>
</Grid>
<Grid item>
<img
src={get_logo(COMPANIES.diamond.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.diamond.link)}
/>
<Tooltip title={COMPANIES.diamond.title}>
<img
src={get_logo(COMPANIES.diamond.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.diamond.link)}
/>
</Tooltip>
</Grid>
<Grid item>
<img
src={get_logo(COMPANIES.asap.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.asap.link)}
/>
<Tooltip title={COMPANIES.asap.title}>
<img
src={get_logo(COMPANIES.asap.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.asap.link)}
/>
</Tooltip>
</Grid>
<Grid item>
<img
src={get_logo(COMPANIES.fragmentScreen.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.fragmentScreen.link)}
/>
<Tooltip title={COMPANIES.fragmentScreen.title}>
<img
src={get_logo(COMPANIES.fragmentScreen.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.fragmentScreen.link)}
/>
</Tooltip>
</Grid>
<Grid item>
<img
src={get_logo(COMPANIES.cmd.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.cmd.link)}
/>
<Tooltip title={COMPANIES.cmd.title}>
<img
src={get_logo(COMPANIES.cmd.image)}
height="20"
className={classes.clickableImage}
onClick={() => openLink(COMPANIES.cmd.link)}
/>
</Tooltip>
</Grid>
<Grid item>
<Button
Expand Down
Binary file modified js/img/logos/alcLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed js/img/logos/asapLogo.jpg
Binary file not shown.
Binary file added js/img/logos/asapLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified js/img/logos/cmdLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified js/img/logos/eubopenLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified js/img/logos/fragmentScreenLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified js/img/logos/iEricLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added js/img/logos/inextLogo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions js/img/logos/informaticsLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions js/img/logos/niaidLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified js/img/logos/opigLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified js/img/logos/rosetreesLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified js/img/logos/sabsLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed js/img/logos/ukRIstfcLogo.jpg
Binary file not shown.
Binary file added js/img/logos/ukRIstfcLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added js/img/logos/welcomeLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4c57800

Please sign in to comment.