Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/app/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ <h5 class="text-uppercase">Footer Content</h5>
{{ 'footer.copyright' | translate:{year: dateObj | date:'y'} }}
<a class="text-white"
href="https://www.lyrasis.org/" role="link" tabindex="0">{{ 'footer.link.lyrasis' | translate}}</a>
@if ((themedByCompanyName$ | async)?.payload?.values?.[0]; as themedByCompany) {
<span class="ms-2">&middot;&nbsp;Theme by
<a class="text-white text-decoration-underline"
[href]="((themedByUrl$ | async)?.payload?.values)?.[0] || '#'" target="_blank" rel="noopener noreferrer" role="link">{{ themedByCompany }}</a>
</span>
}
</p>
<ul class="footer-info list-unstyled d-flex flex-wrap justify-content-center mb-0">
@if (showCookieSettings) {
Expand Down Expand Up @@ -96,6 +90,12 @@ <h5 class="text-uppercase">Footer Content</h5>
}
</ul>
</div>
@if ((themedByCompanyName$ | async)?.payload?.values?.[0]; as themedByCompany) {
<div class="footer-sign">
<a class="text-white"
[href]="((themedByUrl$ | async)?.payload?.values)?.[0] || '#'" target="_blank" rel="noopener noreferrer" role="link">{{ themedByCompany }}</a>
</div>
}
@if (coarLdnEnabled$ | async) {
<div class="notify-enabled text-white align-self-end">
<a class="coar-notify-support-route" routerLink="info/coar-notify-support" role="link" tabindex="0">
Expand Down
10 changes: 10 additions & 0 deletions src/app/footer/footer.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@
}

.bottom-footer {
// Vendor credit stands on its own to the right of the centred copyright
// block. A plain flex item with a wide gap rather than absolute
// positioning, so it never overlaps the .notify-enabled block that pins
// itself bottom-right.
.footer-sign {
@media screen and (min-width: map-get($grid-breakpoints, md)) {
margin-left: 16rem;
}
}

.notify-enabled {
position: relative;
margin-top: 4px;
Expand Down
Loading