[Explore|Trunk]

update meta tags title & description according to Lorenzo's proposal


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@59292 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-08-19 10:59:28 +00:00
parent c446566929
commit a7dada87c2
3 changed files with 7 additions and 11 deletions

View File

@ -22,7 +22,7 @@ import {ConfigurationService} from "./openaireLibrary/utils/configuration/config
[communityId]="properties.adminToolsCommunity" [userMenuItems]=userMenuItems [menuItems]=menuItems></navbar> [communityId]="properties.adminToolsCommunity" [userMenuItems]=userMenuItems [menuItems]=menuItems></navbar>
<schema2jsonld *ngIf="properties" [URL]="properties.baseLink" <schema2jsonld *ngIf="properties" [URL]="properties.baseLink"
[logoURL]="properties.baseLink+'/assets/common-assets/logo-small-explore.png'" type="home" [logoURL]="properties.baseLink+'/assets/common-assets/logo-small-explore.png'" type="home"
name="OpenAIRE Explore" description="OpenAIRE Explore: search for research outcomes (publications, datasets, software, other research products), projects, funders, organizations, repositories, content providers in the OpenAIRE Research Graph. OpenAIRE research graph is one of the largest open scholarly record collections worldwide."></schema2jsonld> name="OpenAIRE | Find and Share research" description="OpenAIRE Explore: Over 100M of research deduplicated, 170K research software, 11M research data. One of the largest open scholarly records collection worldwide."></schema2jsonld>
<div class="custom-main-content"> <div class="custom-main-content">
<main> <main>
<router-outlet></router-outlet> <router-outlet></router-outlet>

View File

@ -142,7 +142,7 @@
<ul class="uk-slider-items" uk-height-match="target: > li > div > div > .logo1; row: false;"> <ul class="uk-slider-items" uk-height-match="target: > li > div > div > .logo1; row: false;">
<ng-container *ngFor="let type of getKeys(logos)"> <ng-container *ngFor="let type of getKeys(logos)">
<li *ngFor="let range of createRange(logos[type].length) let j=index" class="uk-width-1-1 home-logo"> <li *ngFor="let range of createRange(logos[type].length) let j=index" class="uk-width-1-1 home-logo">
<div class="uk-text-center uk-margin-bottom portal-color uk-h2"> <h1 class="uk-text-center uk-margin-bottom portal-color uk-h2">
<span *ngIf="type=='publication' && showPublications && publicationsSize"> <span *ngIf="type=='publication' && showPublications && publicationsSize">
<span class="uk-text-bold">{{publicationsSize.number|number}}{{publicationsSize.size}} <span class="uk-text-bold">{{publicationsSize.number|number}}{{publicationsSize.size}}
publications</span><span> deduplicated</span> publications</span><span> deduplicated</span>
@ -177,7 +177,7 @@
<span class="uk-text-bold"> {{projectsSize.number|number}}{{projectsSize.size}} funded grants</span> <span class="uk-text-bold"> {{projectsSize.number|number}}{{projectsSize.size}} funded grants</span>
</span> </span>
</div> </h1>
<div class="uk-grid-small uk-child-width-1-6 uk-text-center grid uk-flex uk-flex-center" <div class="uk-grid-small uk-child-width-1-6 uk-text-center grid uk-flex uk-flex-center"
uk-grid uk-height-match="target: > div > .logo2; row: false;"> uk-grid uk-height-match="target: > div > .logo2; row: false;">
<div <div

View File

@ -1,5 +1,5 @@
import {Component, Input, Output, EventEmitter, ViewChild, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core'; import {Component} from '@angular/core';
import {Observable, Subscription} from 'rxjs'; import {Subscription} from 'rxjs';
import {ActivatedRoute, Router} from '@angular/router'; import {ActivatedRoute, Router} from '@angular/router';
import {Location} from '@angular/common'; import {Location} from '@angular/common';
import "rxjs/add/observable/zip"; import "rxjs/add/observable/zip";
@ -140,9 +140,6 @@ export class HomeComponent {
subs: Subscription[] = []; subs: Subscription[] = [];
trelloImg: string = 'trello.svg';
trelloImg2: string = 'trello.svg';
resultsQuickFilter: { filter: Filter, selected: boolean, filterId: string, value: string } = { resultsQuickFilter: { filter: Filter, selected: boolean, filterId: string, value: string } = {
filter: null, filter: null,
selected: true, selected: true,
@ -168,9 +165,8 @@ export class HomeComponent {
private helper: HelperService, private router: Router private helper: HelperService, private router: Router
) { ) {
var description = "OpenAIRE Explore: search for research outcomes (publications, datasets), projects, funders, organizations, repositories in the OpenAIRE Research Graph. OpenAIRE research graph is one of the largest open scholarly record collections worldwide."; let description = "OpenAIRE Explore: Over 100M of research deduplicated, 170K research software, 11M research data. One of the largest open scholarly records collection worldwide.";
let title = "OpenAIRE | Find and Share research";
var title = "OpenAIRE | Explore";
this._title.setTitle(title); this._title.setTitle(title);
this._meta.updateTag({content:description},"name='description'"); this._meta.updateTag({content:description},"name='description'");