Skip to content

Commit

Permalink
Use path ./assets instead of /assets (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmajchrak authored Nov 22, 2024
1 parent 01b4a93 commit ea056b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const allowedPreviewFormats = ['text/plain', 'text/html', 'application/zip', 'ap
styleUrls: ['./file-description.component.scss'],
})
export class FileDescriptionComponent {
MIME_TYPE_IMAGES_PATH = '/assets/images/mime/';
MIME_TYPE_IMAGES_PATH = './assets/images/mime/';
MIME_TYPE_DEFAULT_IMAGE_NAME = 'application-octet-stream.png';

@Input()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class ClarinItemBoxViewComponent implements OnInit {

protected readonly AUTHOR_METADATA_FIELDS = AUTHOR_METADATA_FIELDS;

ITEM_TYPE_IMAGES_PATH = '/assets/images/item-types/';
ITEM_TYPE_IMAGES_PATH = './assets/images/item-types/';
ITEM_TYPE_DEFAULT_IMAGE_NAME = 'application-x-zerosize.png';

/**
Expand Down
6 changes: 3 additions & 3 deletions src/themes/dspace/app/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<nav class="lindat-navbar lindat-navbar-expand-lg lindat-justify-content-between lindat-navbar-dark ">
<div class="lindat-block lindat-block--clariah-theme-branding">
<a routerLink="/home" class="lindat-navbar-brand lindat-d-flex lindat-align-items-center " aria-label="">
<img src="/assets/images/LINDAT-CLARIAH-cz-gray_0.svg" width="auto" height="53" style="height: 53px !important;" alt="LINDAT/CLARIAH-CZ logo" class="" />
<img src="./assets/images/LINDAT-CLARIAH-cz-gray_0.svg" width="auto" height="53" style="height: 53px !important;" alt="LINDAT/CLARIAH-CZ logo" class="" />
</a>
</div>
<button class="lindat-navbar-toggler" type="button" data-toggle="collapse" data-target=".lindat-navbar-collapse" aria-controls="lindat-navbar-collapse" aria-expanded="false" aria-label="Toggle navigation"
Expand Down Expand Up @@ -54,10 +54,10 @@
<ul class="lindat-nav lindat-navbar-nav">
<li class="lindat-nav-item" id="margin-filler"></li>
<li class="lindat-nav-item ">
<a class="lindat-nav-link lindat-nav-link-dariah" href="https://www.dariah.eu/"><img src="/assets/images/dariah-eu.png" alt="DARIAH logo" /></a>
<a class="lindat-nav-link lindat-nav-link-dariah" href="https://www.dariah.eu/"><img src="./assets/images/dariah-eu.png" alt="DARIAH logo" /></a>
</li>
<li class="lindat-nav-item ">
<a class="lindat-nav-link lindat-nav-link-clarin" href="https://www.clarin.eu/"><img src="/assets/images/clarin.png" alt="CLARIN logo" /></a>
<a class="lindat-nav-link lindat-nav-link-clarin" href="https://www.clarin.eu/"><img src="./assets/images/clarin.png" alt="CLARIN logo" /></a>
</li>
</ul>
</div>
Expand Down

0 comments on commit ea056b2

Please sign in to comment.