diff --git a/monitor/indicators/indicator-themes.component.ts b/monitor/indicators/indicator-themes.component.ts new file mode 100644 index 00000000..8ea4351e --- /dev/null +++ b/monitor/indicators/indicator-themes.component.ts @@ -0,0 +1,59 @@ +import {Component, OnInit} from "@angular/core"; +import {properties} from "../../../../environments/environment"; +import {Router} from "@angular/router"; +import {Meta, Title} from "@angular/platform-browser"; +import {SEOService} from "../../sharedComponents/SEO/SEO.service"; + +@Component({ + selector: 'indicator-themes-page', + template: ` +
+
+

Indicator Themes.

+
+
+
+
+ +
+
+
+
Indicator themes that we are covering in the Monitor dashboards.
+
+ Please be aware that this is the current set, which will be enriched as requests and data are coming into the OpenAIRE Research Graph. We are in your disposal to add more indicator themes that may fit your needs. +
+
+ Check out the indicator pages (for funders, institutions and research initiatives put hyperlinks for each) for the specific indicators for each type of dashboard, and the methodology and terminology page ( hyperlink to terminology) on how we produce the metrics. +
+
+
+
+
+
+ ` +}) +export class IndicatorThemesComponent implements OnInit { + public properties = properties; + + constructor(private router: Router, + private meta: Meta, + private title: Title, + private seoService: SEOService) { + } + + ngOnInit() { + const description = "Monitor | Indicator Themes"; + const title = "Monitor | Indicator Themes"; + this.metaTags(title, description); + } + + metaTags(title, description) { + const url = properties.domain + properties.baseLink + this.router.url; + this.seoService.createLinkForCanonicalURL(url, false); + this.meta.updateTag({content: url}, "property='og:url'"); + this.meta.updateTag({content: description}, "name='description'"); + this.meta.updateTag({content: description}, "property='og:description'"); + this.meta.updateTag({content: title}, "property='og:title'"); + this.title.setTitle(title); + } +} diff --git a/monitor/indicators/indicator-themes.module.ts b/monitor/indicators/indicator-themes.module.ts new file mode 100644 index 00000000..bd84ac99 --- /dev/null +++ b/monitor/indicators/indicator-themes.module.ts @@ -0,0 +1,18 @@ +import {NgModule} from "@angular/core"; +import {CommonModule} from "@angular/common"; +import {RouterModule} from "@angular/router"; +import {IndicatorThemesComponent} from "./indicator-themes.component"; +import {PreviousRouteRecorder} from "../../utils/piwik/previousRouteRecorder.guard"; + +@NgModule({ + imports: [CommonModule, RouterModule.forChild([ + { + path: '', + component: IndicatorThemesComponent, + canDeactivate: [PreviousRouteRecorder] + }, + ])], + declarations: [IndicatorThemesComponent], + exports: [IndicatorThemesComponent] +}) +export class IndicatorThemesModule {}