Add explore logo as SVG

This commit is contained in:
Konstantinos Triantafyllou 2022-05-13 15:46:23 +03:00
parent 5366439647
commit 27a1ea7029
2 changed files with 5 additions and 7 deletions

View File

@ -1,12 +1,11 @@
import {Component} from '@angular/core';
import {ActivatedRoute, NavigationStart, Router} from '@angular/router';
import {ActivatedRoute, Router} from '@angular/router';
import {EnvProperties} from './openaireLibrary/utils/properties/env-properties';
import {MenuItem, RootMenuItem} from './openaireLibrary/sharedComponents/menu';
import {EnvironmentSpecificService} from './openaireLibrary/utils/properties/environment-specific.service';
import {Session, User} from './openaireLibrary/login/utils/helper.class';
import {HelperFunctions} from "./openaireLibrary/utils/HelperFunctions.class";
import {UserManagementService} from "./openaireLibrary/services/user-management.service";
import {ConfigurationService} from "./openaireLibrary/utils/configuration/configuration.service";
import {Header} from "./openaireLibrary/sharedComponents/navigationBar.component";
@ -26,7 +25,7 @@ import {OpenaireEntities} from "./openaireLibrary/utils/properties/searchFields"
[onlyTop]=false [user]="user"
[communityId]="properties.adminToolsCommunity" [userMenuItems]=userMenuItems [menuItems]=menuItems></navbar>
<schema2jsonld *ngIf="properties" [URL]="properties.domain+properties.baseLink"
[logoURL]="properties.domain+properties.baseLink+'/assets/common-assets/logo-small-explore.png'"
[logoURL]="properties.domain+properties.baseLink+'/assets/common-assets/logo-services/explore/main.svg'"
type="home"
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>
@ -56,7 +55,6 @@ export class AppComponent {
properties: EnvProperties = properties;
user: User;
header: Header;
logoPath: string = 'assets/common-assets/';
subscriptions = [];
constructor(private route: ActivatedRoute, private propertiesService: EnvironmentSpecificService,
@ -88,8 +86,8 @@ export class AppComponent {
route: "/",
url: null,
title: 'explore',
logoUrl: this.logoPath + 'logo-large-explore.png',
logoSmallUrl: this.logoPath + 'logo-small-explore.png',
logoUrl: 'assets/common-assets/logo-services/explore/main.svg',
logoSmallUrl: 'assets/common-assets/logo-services/explore/small.svg',
position: 'left',
badge: true
};

@ -1 +1 @@
Subproject commit 960456e6f06ebed8afc252b4e938c893eb767a57
Subproject commit e0ff4127402ee93a1c757c8aee246fe2c20b18af