diff --git a/src/app/about/about.component.ts b/src/app/about/about.component.ts index 40649ab..e84cdd4 100644 --- a/src/app/about/about.component.ts +++ b/src/app/about/about.component.ts @@ -37,6 +37,9 @@ export class AboutComponent implements OnInit { } ngOnInit() { + if(typeof window !== 'undefined') { + this.large = window.innerWidth > 959; + } this._title.setTitle(this.title); this._meta.updateTag({content: this.description}, "name='description'"); this._meta.updateTag({content: this.description}, "property='og:description'"); diff --git a/src/app/resources/resources.component.html b/src/app/resources/resources.component.html index ca2fddb..5de7e90 100644 --- a/src/app/resources/resources.component.html +++ b/src/app/resources/resources.component.html @@ -6,8 +6,8 @@
-

OpenAIRE PROVIDE

-
+

OpenAIRE PROVIDE

+

The resources of the OpenAIRE UsageCounts Service are available through the OpenAIRE PROVIDE product, which is serving the content providers. diff --git a/src/app/resources/resources.component.ts b/src/app/resources/resources.component.ts index 339721e..d864a5a 100644 --- a/src/app/resources/resources.component.ts +++ b/src/app/resources/resources.component.ts @@ -35,6 +35,9 @@ export class ResourcesComponent implements OnInit { } ngOnInit() { + if(typeof window !== 'undefined') { + this.large = window.innerWidth > 959; + } this._title.setTitle(this.title); this._meta.updateTag({content: this.description}, "name='description'"); this._meta.updateTag({content: this.description}, "property='og:description'");