Merge pull request 'Production release February 2024 - Home page logos update' (#12) from develop into master

Reviewed-on: #12
This commit is contained in:
Konstantina Galouni 2024-02-12 08:08:29 +01:00
commit 4258055e51
70 changed files with 77 additions and 68 deletions

View File

@ -1,7 +1,8 @@
<ng-template #_logos let-logo="logo" let-class="class"> <ng-template #_logos let-logo="logo" let-class="class">
<div *ngIf="logo" [class]="'uk-flex uk-flex-middle uk-flex-center uk-padding-remove-horizontal '+class"> <div *ngIf="logo" [class]="'uk-margin-top uk-flex uk-flex-middle uk-flex-center uk-padding-remove-horizontal '+class">
<div class=""> <div class="">
<img src="assets/ExploreLogos/{{logo}}" alt="{{logo}} logo" loading="lazy" width="112px" height="44px"> <!-- <img src="assets/ExploreLogos/grouped/{{logo}}" alt="{{logo}} logo" loading="lazy" width="112px" height="44px">-->
<img src="assets/ExploreLogos/{{logo}}" alt="{{logo}} logo" loading="lazy" width="100%" height="auto">
</div> </div>
</div> </div>
</ng-template> </ng-template>
@ -80,7 +81,7 @@
<ng-container *ngFor="let type of getKeys(logos)"> <ng-container *ngFor="let type of getKeys(logos)">
<li *ngFor="let range of createRange(logos[type].length) let j=index" <li *ngFor="let range of createRange(logos[type].length) let j=index"
class="uk-width-1-1 home-logo"> class="uk-width-1-1 home-logo">
<h1 class="uk-text-center uk-margin-large-bottom uk-text-primary uk-h4"> <h1 class="uk-text-center uk-margin-bottom uk-text-primary uk-h4">
<span *ngIf="type=='publication' && numbersComponent.showPublications && numbers?.publicationsSize"> <span *ngIf="type=='publication' && numbersComponent.showPublications && numbers?.publicationsSize">
<span <span
class="uk-text-bold">{{numbers.publicationsSize.number|number}}{{numbers.publicationsSize.size}} class="uk-text-bold">{{numbers.publicationsSize.number|number}}{{numbers.publicationsSize.size}}
@ -119,16 +120,18 @@
</span> </span>
</h1> </h1>
<div <div class="uk-text-center uk-flex uk-flex-center uk-margin-medium-left uk-margin-medium-right">
class="uk-grid-small uk-child-width-1-6 uk-text-center grid uk-flex uk-flex-center" <ng-container *ngTemplateOutlet="_logos; context: { logo: logos[type][j], class: ' '}"></ng-container>
uk-grid uk-height-match="target: > div > .logo2; row: false;"> <!-- <div-->
<div <!-- class="uk-grid-small uk-child-width-1-6 uk-text-center grid uk-flex uk-flex-center"-->
*ngFor="let logo of logos[type][j].slice(0,ceil(logos[type][j].length/2)); let i=index"> <!-- uk-grid uk-height-match="target: > div > .logo2; row: false;">-->
<ng-container <!-- <div-->
*ngTemplateOutlet="_logos; context: { logo: logo, class: 'logo1 '}"></ng-container> <!-- *ngFor="let logo of logos[type][j].slice(0,ceil(logos[type][j].length/2)); let i=index">-->
<ng-container <!-- <ng-container-->
*ngTemplateOutlet="_logos; context: { logo: logos[type][j][ceil(logos[type][j].length/2)+i], class: 'uk-margin-top logo2 '}"></ng-container> <!-- *ngTemplateOutlet="_logos; context: { logo: logo, class: 'logo1 '}"></ng-container>-->
</div> <!-- <ng-container-->
<!-- *ngTemplateOutlet="_logos; context: { logo: logos[type][j][ceil(logos[type][j].length/2)+i], class: 'uk-margin-top logo2 '}"></ng-container>-->
<!-- </div>-->
</div> </div>
</li> </li>
</ng-container> </ng-container>

View File

@ -36,79 +36,85 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit {
public logos = { public logos = {
"publication": [ "publication": [
[ [
"logo-pubmed.png", // "logo-pubmed.png",
"logo-arxiv.png", // "logo-arxiv.png",
"logo-base.png", // "logo-base.png",
"logo-scielo.png", // "logo-scielo.png",
"logo-la-referencia.png", // "logo-la-referencia.png",
"logo-soar.png", // "logo-soar.png",
"logo-repec.png", // "logo-repec.png",
"logo-core.png", // "logo-core.png",
"logo-zenodo.png", // "logo-zenodo.png",
"logo-narcis.png" // "logo-narcis.png"
"publications.png"
], ],
[ [
"logo-unpaywall.png", // "logo-unpaywall.png",
"logo-elsevier.png", // "logo-elsevier.png",
"logo-spring-nature.png", // "logo-spring-nature.png",
"logo-frontiers.png", // "logo-frontiers.png",
"logo-opencitations.png", // "logo-opencitations.png",
"logo-doaj.png", // "logo-doaj.png",
"logo-microsoft.png", // "logo-microsoft.png",
"logo-plos.png", // "logo-plos.png",
"logo-f1000.png", // "logo-f1000.png",
"logo-copernicus.png" // "logo-copernicus.png"
"publications2.png"
] ]
], ],
"software": [ "software": [
[ [
"logo-software-heritage.png", // "logo-software-heritage.png",
"logo-github.png", // "logo-github.png",
"logo-doecode.png", // "logo-doecode.png",
"logo-bitbucket.png", // "logo-bitbucket.png",
"logo-elixir-bio-tools.png", // "logo-elixir-bio-tools.png",
"logo-google-code.png", // "logo-google-code.png",
"logo-sourceforge.png", // "logo-sourceforge.png",
"logo-zenodo.png" // "logo-zenodo.png"
"software.png"
] ]
], ],
"dataset": [ "dataset": [
[ [
"logo-scholexplorer.png", // "logo-scholexplorer.png",
"logo-zenodo.png", // "logo-zenodo.png",
"logo-pangea.png", // "logo-pangea.png",
"logo-figshare.png", // "logo-figshare.png",
"logo-protocols.png", // "logo-protocols.png",
"logo-opentrials.png", // "logo-opentrials.png",
"logo-kaggle.png", // "logo-kaggle.png",
"logo-reactome.png", // "logo-reactome.png",
"logo-easy.png", // "logo-easy.png",
"logo-dryad.png" // "logo-dryad.png"
"datasets.png"
] ]
], ],
"persistent": [ "persistent": [
[ [
"logo-re3data.png", // "logo-re3data.png",
"logo-orcid.png", // "logo-orcid.png",
"logo-opendoar.png", // "logo-opendoar.png",
"logo-grid.png", // "logo-grid.png",
"logo-fairsharing.png", // "logo-fairsharing.png",
"logo-ror.png", // "logo-ror.png",
"logo-datacite.png", // "logo-datacite.png",
"logo-crossref.png" // "logo-crossref.png"
"pids.png"
] ]
], ],
"funder": [ "funder": [
[ [
"logo-european-commision.png", // "logo-european-commision.png",
"logo-nsf.png", // "logo-nsf.png",
"logo-nhmrc.png", // "logo-nhmrc.png",
"logo-sfi.png", // "logo-sfi.png",
"logo-nwo.png", // "logo-nwo.png",
"logo-welcome-trust.png", // "logo-welcome-trust.png",
"logo-fct.png", // "logo-fct.png",
"logo-gsrt.png", // "logo-gsrt.png",
"logo-fnsnf.png" // "logo-fnsnf.png"
"funders.png"
] ]
] ]
}; };

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB