changes for deposit component (add input for the assets path)

This commit is contained in:
Alex Martzios 2022-06-22 15:36:15 +03:00
parent d9b8ea0476
commit 18b403bec0
1 changed files with 9 additions and 8 deletions

View File

@ -35,7 +35,7 @@ import {FullScreenModalComponent} from '../utils/modal/full-screen-modal/full-sc
</div> </div>
</div> </div>
<div class="uk-width-2-5@m uk-width-1-1@s uk-text-center" uk-scrollspy-class> <div class="uk-width-2-5@m uk-width-1-1@s uk-text-center" uk-scrollspy-class>
<img src="assets/explore-assets/deposit/envelop-hero-deposit.svg" loading="lazy" alt="deposit hero image"> <img [src]="assetsPath + '/deposit/deposit-hero-envelop.svg'" loading="lazy" alt="deposit hero image">
</div> </div>
</div> </div>
</div> </div>
@ -43,7 +43,7 @@ import {FullScreenModalComponent} from '../utils/modal/full-screen-modal/full-sc
<div class="uk-width-2-3@m uk-margin-auto"> <div class="uk-width-2-3@m uk-margin-auto">
<div class="uk-grid uk-grid-large uk-grid-stack" uk-grid> <div class="uk-grid uk-grid-large uk-grid-stack" uk-grid>
<div class="uk-width-1-3@m"> <div class="uk-width-1-3@m">
<img src="assets/explore-assets/deposit/step-numbers-deposit.svg" loading="lazy" alt="deposit steps/numbers image"> <img [src]="assetsPath + '/deposit/deposit-step-numbers.svg'" loading="lazy" alt="deposit steps/numbers image">
</div> </div>
<div class="uk-width-2-3@m"> <div class="uk-width-2-3@m">
<div class="uk-margin-medium-bottom"> <div class="uk-margin-medium-bottom">
@ -129,8 +129,8 @@ import {FullScreenModalComponent} from '../utils/modal/full-screen-modal/full-sc
<div class="uk-card uk-card-default uk-text-center" style="width: 360px;"> <div class="uk-card uk-card-default uk-text-center" style="width: 360px;">
<div class="uk-card-body uk-text-small"> <div class="uk-card-body uk-text-small">
<img src="assets/common-assets/common/logo-zenodo.png" alt="Zenodo logo" class="uk-width-small uk-margin-bottom"> <img src="assets/common-assets/common/logo-zenodo.png" alt="Zenodo logo" class="uk-width-small uk-margin-bottom">
<div> <div class="uk-width-2-3@m uk-margin-auto">
Deposit your research in <br><span class="uk-text-bold">Zenodo repository</span> Deposit your research in <span class="uk-text-bold">Zenodo repository</span>
</div> </div>
</div> </div>
<a *ngIf="zenodoInformation.shareInZenodoUrl" type="submit" <a *ngIf="zenodoInformation.shareInZenodoUrl" type="submit"
@ -165,6 +165,7 @@ export class DepositFirstPageComponent {
@Input() public zenodoInformation: ZenodoInformationClass = new ZenodoInformationClass(); @Input() public zenodoInformation: ZenodoInformationClass = new ZenodoInformationClass();
@Input() piwikSiteId = null; @Input() piwikSiteId = null;
@Input() assetsPath: string = 'assets/common-assets/common';
@Input() communityId = null; @Input() communityId = null;