diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7deacb5..aa60c63 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -76,8 +76,8 @@ export class AppComponent { title: this.agg.title, logoUrl: this.agg.logoUrl, logoSmallUrl: this.agg.logoUrl, - position: 'center', - menuPosition: 'center', + position: 'left', + menuPosition: 'right', badge: false, darkBg: false }; @@ -109,15 +109,23 @@ export class AppComponent { this.menuItems = [ new MenuItem("home", "Home", "", "/", false, [], null, {}), new MenuItem("search", "Search", "", "/search/find", false, [], ["/search/find"], {}), - new MenuItem("deposit", "Deposit", "", "/participate/deposit/learn-how", false, [], ["/participate/deposit/learn-how"], {}), - new MenuItem("link", "Link", "", "/participate/claim", false, [], ["/participate/claim"], {}, - null, null, null, null, "_blank", "internal", false, + // new MenuItem("deposit", "Deposit", "", "/participate/deposit/learn-how", false, [], ["/participate/deposit/learn-how"], {}), + // new MenuItem("link", "Link", "", "/participate/claim", false, [], ["/participate/claim"], {}, + // null, null, null, null, "_blank", "internal", false, + // [ + // new MenuItem("", "Start linking", "", "/participate/claim", false, [], ["/participate/claim"], {}), + // new MenuItem("", "Learn more", this.properties.claimsInformationLink, "", false, [], [], {}) + // ] + // ), + // new MenuItem("develop", "Develop", "", "/develop", false, [], ["/develop"], {}) + new MenuItem("demo-tools", "Demo Tools", "", "", false, [], null, {}, + null, null, "alpha-badge", null, "_blank", "internal", false, [ - new MenuItem("", "Start linking", "", "/participate/claim", false, [], ["/participate/claim"], {}), - new MenuItem("", "Learn more", this.properties.claimsInformationLink, "", false, [], [], {}) - ] - ), - new MenuItem("develop", "Develop", "", "/develop", false, [], ["/develop"], {}) + new MenuItem("recommendations", "Community Recommendations", "https://test.darelab.athenarc.gr/crps/", "", false, [], null, {}), + new MenuItem("nl-search", "NL Search", "https://darelab.athenarc.gr/nl_search/fc4eosc", "", false, [], null, {}) + ], + "Alpha" + ) ]; let params = {}; // params[this.agg.queryFieldName] = this.agg.valueId; diff --git a/src/assets/common-assets b/src/assets/common-assets index b68f375..651102a 160000 --- a/src/assets/common-assets +++ b/src/assets/common-assets @@ -1 +1 @@ -Subproject commit b68f375714b679743e586bb2fb4721e633e43fc1 +Subproject commit 651102a5ba049b71bed8eb6a85a8d02cefcb24cc diff --git a/src/assets/eosc-custom.less b/src/assets/eosc-custom.less index 1b2713e..50ab9eb 100644 --- a/src/assets/eosc-custom.less +++ b/src/assets/eosc-custom.less @@ -184,4 +184,23 @@ .uk-button-primary { background-image: none; +} + +.alpha-badge > * > .badge { + position: absolute; + padding: 0 15px; + left: 0; + top: 8px; + color: crimson !important; + opacity: 0.2; + font-size: 10px; +} + +.alpha-badge .badge-mobile { + position: absolute; + bottom: 2px; + left: 5px; + color: crimson !important; + opacity: 0.2; + font-size: 10px; } \ No newline at end of file diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme index 7aa9e57..37639ea 160000 --- a/src/assets/openaire-theme +++ b/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit 7aa9e577193e3a77415434fd5e6e856a21d5efeb +Subproject commit 37639eab68c63a506b7df10c42e3379c4a05d94d