diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html index 36d9fe1..ad1073b 100644 --- a/src/app/home/home.component.html +++ b/src/app/home/home.component.html @@ -1,3 +1,23 @@ + +
+

+ Monitor, discover and understand. +

+

Track your organization’s research output in a comprehensive manner. Identify research pathways across key dimensions with granular and timely indicators.

+
+
+

+ Enhance open science uptake. +

+

Work with the Open Science expert community for open and transparent metrics. Discover Open Science costs and trends for your organization. See how you fare in the European Open Science Cloud.

+
+
+

+ Turn data into actionable insights. +

+

See what works and what not, reveal hidden potential. Measure research impact, discover trends, connections and collaborations to improve and optimize your future actions.

+
+
@@ -24,48 +44,28 @@
- -
-

- Monitor, discover and understand. -

-

Track your organization’s research output in a comprehensive manner. Identify research pathways across key dimensions with granular and timely indicators.

-
-
-

- Enhance open science uptake. -

-

Work with the Open Science expert community for open and transparent metrics. Discover Open Science costs and trends for your organization. See how you fare in the European Open Science Cloud.

-
-
-

- Turn data into actionable insights. -

-

See what works and what not, reveal hidden potential. Measure research impact, discover trends, connections and collaborations to improve and optimize your future actions.

-
-
Funders. Research Institutions. Research Initiatives.

Simplify research monitoring & evaluation.

-
-
-
+
+
+
-
+
ipad
-
- +
+
@@ -303,42 +303,44 @@
- -
-

- Monitor, discover and understand. -

-

Track your organization’s research output in a comprehensive manner. Identify research pathways across key dimensions with granular and timely indicators.

-
-
-

- Enhance open science uptake. -

-

Work with the Open Science expert community for open and transparent metrics. Discover Open Science costs and trends for your organization. See how you fare in the European Open Science Cloud.

-
-
-

- Turn data into actionable insights. -

-

See what works and what not, reveal hidden potential. Measure research impact, discover trends, connections and collaborations to improve and optimize your future actions.

-
-
Funders. Research Institutions. Research Initiatives.

Simplify research monitoring & evaluation.

-
-
+
+
+
+
+
+
+ ipad +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
-
- ipad +
+ ipad +
+
+
-
- -
@@ -510,7 +512,7 @@
  • -
    +
    @@ -519,7 +521,7 @@
  • -
    +
    @@ -528,7 +530,7 @@
  • -
    +
    @@ -537,7 +539,7 @@
  • -
    +
    diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts index 141024d..b3b0dff 100644 --- a/src/app/home/home.component.ts +++ b/src/app/home/home.component.ts @@ -70,6 +70,7 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit, IDeactiv @ViewChild('AlertModal') modal; private errorMessages: ErrorMessagesComponent; private subscriptions = []; + private mutationObserver: MutationObserver; private user: User; @ViewChildren('scrolling_element') elements: QueryList; @ViewChild('contact') contact: ElementRef; @@ -141,6 +142,9 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit, IDeactiv value.disconnect(); } }); + if(this.mutationObserver) { + this.mutationObserver.disconnect(); + } } ngAfterViewInit() { @@ -169,7 +173,7 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit, IDeactiv if(this.contact) { intersectionObserver.observe(this.contact.nativeElement); } - let mutationObserver = new MutationObserver(entries => { + this.mutationObserver = new MutationObserver(entries => { entries.forEach(entry => { if (entry.attributeName === 'style') { let opacities: number[] = this.elements.map(element => +element.nativeElement.style.opacity); @@ -184,11 +188,12 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit, IDeactiv } }) }); - this.elements.forEach(element => { - mutationObserver.observe(element.nativeElement, {attributes: true}); + this.elements.changes.subscribe(() => { + this.elements.forEach(element => { + this.mutationObserver.observe(element.nativeElement, {attributes: true}); + }); }); this.subscriptions.push(intersectionObserver); - this.subscriptions.push(mutationObserver); } private getPageContents() { diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index e0c45b1..da144c1 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit e0c45b1065a2456620f8b4774ab27ecc17b0bb87 +Subproject commit da144c1c77012fa4489dd84f013d499f9df8f72a diff --git a/src/assets/common-assets b/src/assets/common-assets index 0c6b2ac..cd44ace 160000 --- a/src/assets/common-assets +++ b/src/assets/common-assets @@ -1 +1 @@ -Subproject commit 0c6b2ac12b4796e41bf4cc8de93c157efa866543 +Subproject commit cd44ace5d067999ed6d852f20204d5a05385580b diff --git a/src/assets/monitor-assets/home/ipad-tablet.png b/src/assets/monitor-assets/home/ipad-tablet.png new file mode 100644 index 0000000..eb5323c Binary files /dev/null and b/src/assets/monitor-assets/home/ipad-tablet.png differ diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme index 996b485..99ecab0 160000 --- a/src/assets/openaire-theme +++ b/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit 996b48573c7cc42a8c50ac447f1fd84c7f0836c4 +Subproject commit 99ecab0b4e9ceed21424c8fa26ef270b4695b11e