diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts
index 93f3ba1..fad34ac 100644
--- a/src/app/home/home.component.ts
+++ b/src/app/home/home.component.ts
@@ -25,6 +25,7 @@ import {SearchCustomFilter} from "../openaireLibrary/searchPages/searchUtils/sea
import {properties} from "../../environments/environment";
import {portalProperties} from "../../environments/environment-aggregator";
import {StringUtils} from "../openaireLibrary/utils/string-utils.class";
+import {ConnectHelper} from "../openaireLibrary/connect/connectHelper";
@Component({
selector: 'home',
@@ -88,7 +89,7 @@ export class HomeComponent {
private config: ConfigurationService, private _meta: Meta, private _title: Title, private seoService: SEOService,
private helper: HelperService
) {
- this.aggregatorId = this.route.snapshot.paramMap.get('id');
+ this.aggregatorId = ConnectHelper.getCommunityFromDomain(properties.domain);
this.aggregator = PortalAggregators.getFilterInfoByMenuId(this.aggregatorId);
this.customFilter = PortalAggregators.getSearchCustomFilterByAggregator(this.aggregator);
let description = "OpenAIRE Explore: Over 100M of research deduplicated, 170K research software, 11M research data. One of the largest open scholarly records collection worldwide.";
diff --git a/src/app/utils/aggregators.ts b/src/app/utils/aggregators.ts
index 0ede707..dd1372a 100644
--- a/src/app/utils/aggregators.ts
+++ b/src/app/utils/aggregators.ts
@@ -12,8 +12,11 @@ export class AggregatorInfo {
mainColor:string;
darkColor:string;
background:string;
+ graphSectionTitle: string;
+ graphSectionText: string;
- constructor(menuId: string, title: string, logoUrl: string, fieldName: string, queryFieldName: string, valueId: string, valueName: string, mainColor:string=null, darkColor:string=null, background:string=null) {
+ constructor(menuId: string, title: string, logoUrl: string, fieldName: string, queryFieldName: string, valueId: string,
+ valueName: string, mainColor:string=null, darkColor:string=null, background:string=null,graphSectionTitle: string = null, graphSectionText:string = null ) {
this.menuId = menuId;
this.title = title;
this.logoUrl = logoUrl;
@@ -24,12 +27,29 @@ export class AggregatorInfo {
this.mainColor = mainColor;
this.darkColor = darkColor;
this.background = background;
+ this.graphSectionTitle = graphSectionTitle;
+ this.graphSectionText = graphSectionText;
}
}
export class PortalAggregators {
static list: AggregatorInfo[] = [
- new AggregatorInfo("canada", "Canadian Aggregator", "assets/canada-logo.png", "Country", "country", "CA", "Canada","#E80000","#ad0000", "/assets/canada-background.svg" ),
+ new AggregatorInfo("canada", "Canadian Aggregator", "assets/canada-logo.png", "Country", "country", "CA", "Canada","#E80000","#ad0000", "/assets/canada-background.svg",
+ "Portal to Canadian Research Outputs", `
+ Welcome to the beta Portal to Canadian Research Outputs, which has been developed as part of a
+ collaboration between CARL and OpenAIRE as part of the OpenAIRE Advance Project. The portal enables users
+ to search and browse Canadian content that is included in the OpenAIRE aggregation. The number of
+ research products is expected to grow in 2021 as more Canadian repositories become compliant with
+ OpenAIRE guidelines and Canadian affiliation information is enhanced. For more information, visit the
+ CARL website.
+
+
+
+ Bienvenue sur la version bêta du portail des résultats de la recherche canadienne, qui a été développé dans le cadre d'une collaboration entre l'ABRC et OpenAIRE dans le contexte du projet OpenAIRE Advance. Le portail permet aux utilisateurs de repérer et de parcourir le contenu canadien inclus sur la plateforme OpenAIRE. La quantité des résultats de la recherche canadienne disponible sur la plateforme augmentera tout au long de l'année 2021 au fur et à mesure que les dépôts canadiens se conformeront aux directives d'OpenAIRE et que les détails relatifs aux affiliations canadiennes seront améliorés. Pour plus d'informations,
+ veuillez visiter le site Web de l’ABRC.
+ `),
new AggregatorInfo("italy", "Italian Aggregator", "assets/common-assets/logo-small-aggregator.png", "Country", "country", "IT", "Italy"),
new AggregatorInfo("greece", "Greek Aggregator", "assets/common-assets/logo-small-aggregator.png", "Country", "country", "GR", "Greece"),