+
- App version: {{ appVersion }}
- Data updated on: {{ dataUpdatedOn }}
diff --git a/libs/openchallenges/ui/src/lib/footer/footer.component.scss b/libs/openchallenges/ui/src/lib/footer/footer.component.scss
index abe66a1e40..8450fdac88 100644
--- a/libs/openchallenges/ui/src/lib/footer/footer.component.scss
+++ b/libs/openchallenges/ui/src/lib/footer/footer.component.scss
@@ -53,7 +53,7 @@ footer {
@media only screen and (max-width: constants.$md-breakpoint) {
footer {
- height: 370px;
+ height: 410px;
}
.about-oc,
.app-info,
diff --git a/libs/openchallenges/ui/src/lib/footer/footer.component.ts b/libs/openchallenges/ui/src/lib/footer/footer.component.ts
index 9f187eecfa..67db1079f3 100644
--- a/libs/openchallenges/ui/src/lib/footer/footer.component.ts
+++ b/libs/openchallenges/ui/src/lib/footer/footer.component.ts
@@ -1,5 +1,10 @@
-import { Component, Input } from '@angular/core';
+import { Component, Input, OnInit } from '@angular/core';
import { CommonModule } from '@angular/common';
+import {
+ Image,
+ ImageService,
+} from '@sagebionetworks/openchallenges/api-client-angular';
+import { Observable } from 'rxjs';
@Component({
selector: 'openchallenges-footer',
@@ -8,10 +13,20 @@ import { CommonModule } from '@angular/common';
templateUrl: './footer.component.html',
styleUrls: ['./footer.component.scss'],
})
-export class FooterComponent {
+export class FooterComponent implements OnInit {
+ public sageLogo$: Observable
| undefined;
+
@Input({ required: true }) appVersion = '';
@Input({ required: true }) dataUpdatedOn = '';
@Input({ required: true }) privacyPolicyUrl = '';
@Input({ required: true }) termsOfUseUrl = '';
@Input({ required: true }) apiDocsUrl = '';
+
+ constructor(private imageService: ImageService) {}
+
+ ngOnInit() {
+ this.sageLogo$ = this.imageService.getImage({
+ objectKey: 'logo/sage-bionetworks-alt-white.svg',
+ });
+ }
}