[Connect | new-theme]: app.component.ts: In Menu renamed "Dashboard" to "Home" | develop.component.ts: Title updated & Image replaced & Examples moved on top right.

This commit is contained in:
Konstantina Galouni 2022-08-05 12:15:29 +03:00
parent ca8b9b3deb
commit 7256d6eb5b
3 changed files with 69 additions and 39 deletions

View File

@ -315,7 +315,7 @@ export class AppComponent implements OnInit, OnDestroy {
};
this.menuItems = [];
this.menuItems.push({
rootItem: new MenuItem("dashboard", "Dashboard",
rootItem: new MenuItem("dashboard", "Home",
"", "/", false, [], null, {}
, null, null, null, null), items: []
});

View File

@ -14,7 +14,7 @@ import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties"
template: `
<div class="uk-section">
<div class="uk-container uk-container-large">
<h1>Help developers <br> with OpenAIRE APIs<span class="uk-text-primary">.</span></h1>
<h1>OpenAIRE APIs<br> for developers<span class="uk-text-primary">.</span></h1>
</div>
<div class="uk-section uk-container uk-container-large">
<div class="uk-grid uk-grid-large uk-child-width-1-2@m" uk-grid>
@ -35,45 +35,75 @@ import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties"
</a>
</div>
</div>
<div class="uk-flex uk-flex-center">
<img src="assets/common-assets/apis.svg" alt="APIs" loading="lazy">
</div>
</div>
</div>
<div class="uk-section uk-container uk-container-large">
<div class="uk-width-1-2@m uk-margin-auto@m">
<div>
<div>Request examples:</div>
<ul class="uk-list uk-list-large uk-list-bullet uk-list-primary">
<li>
<span class="uk-text-bold">Access {{openaireEntities.PUBLICATIONS}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="">https://api.openaire.eu/search/publications?community={{community.communityId}}</span>
</li>
<li>
<span class="uk-text-bold">Access Open Access {{openaireEntities.PUBLICATIONS}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="uk-text-break">http://api.openaire.eu/search/publications?community={{community.communityId}}&OA=true</span>
</li>
<li>
<span class="uk-text-bold">Access {{openaireEntities.DATASETS}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="uk-text-break">https://api.openaire.eu/search/datasets?community={{community.communityId}}</span>
</li>
<li>
<span class="uk-text-bold">Access {{openaireEntities.SOFTWARE}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="uk-text-break">https://api.openaire.eu/search/software?community={{community.communityId}}</span>
</li>
<li>
<span class="uk-text-bold">Access {{openaireEntities.OTHER}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="uk-text-break">https://api.openaire.eu/search/other?community={{community.communityId}}</span>
</li>
</ul>
<div class="uk-margin-large-top">
<!-- <img src="assets/common-assets/apis.svg" alt="APIs" loading="lazy">-->
<div class="uk-margin-top">
<div>Request examples:</div>
<ul class="uk-list uk-list-large uk-list-bullet uk-list-primary">
<li>
<span class="uk-text-bold">Access {{openaireEntities.PUBLICATIONS}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="">https://api.openaire.eu/search/publications?community={{community.communityId}}</span>
</li>
<li>
<span class="uk-text-bold">Access Open Access {{openaireEntities.PUBLICATIONS}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="uk-text-break">http://api.openaire.eu/search/publications?community={{community.communityId}}&OA=true</span>
</li>
<li>
<span class="uk-text-bold">Access {{openaireEntities.DATASETS}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="uk-text-break">https://api.openaire.eu/search/datasets?community={{community.communityId}}</span>
</li>
<li>
<span class="uk-text-bold">Access {{openaireEntities.SOFTWARE}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="uk-text-break">https://api.openaire.eu/search/software?community={{community.communityId}}</span>
</li>
<li>
<span class="uk-text-bold">Access {{openaireEntities.OTHER}}</span><br>
<span class="uk-text-bold uk-margin-small-right">GET</span>
<span class="uk-text-break">https://api.openaire.eu/search/other?community={{community.communityId}}</span>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- <div class="uk-section uk-container uk-container-large">-->
<!-- <div class="uk-width-1-2@m uk-margin-auto@m">-->
<!-- <div>-->
<!-- <div>Request examples:</div>-->
<!-- <ul class="uk-list uk-list-large uk-list-bullet uk-list-primary">-->
<!-- <li>-->
<!-- <span class="uk-text-bold">Access {{openaireEntities.PUBLICATIONS}}</span><br>-->
<!-- <span class="uk-text-bold uk-margin-small-right">GET</span>-->
<!-- <span class="">https://api.openaire.eu/search/publications?community={{community.communityId}}</span>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span class="uk-text-bold">Access Open Access {{openaireEntities.PUBLICATIONS}}</span><br>-->
<!-- <span class="uk-text-bold uk-margin-small-right">GET</span>-->
<!-- <span class="uk-text-break">http://api.openaire.eu/search/publications?community={{community.communityId}}&OA=true</span>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span class="uk-text-bold">Access {{openaireEntities.DATASETS}}</span><br>-->
<!-- <span class="uk-text-bold uk-margin-small-right">GET</span>-->
<!-- <span class="uk-text-break">https://api.openaire.eu/search/datasets?community={{community.communityId}}</span>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span class="uk-text-bold">Access {{openaireEntities.SOFTWARE}}</span><br>-->
<!-- <span class="uk-text-bold uk-margin-small-right">GET</span>-->
<!-- <span class="uk-text-break">https://api.openaire.eu/search/software?community={{community.communityId}}</span>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span class="uk-text-bold">Access {{openaireEntities.OTHER}}</span><br>-->
<!-- <span class="uk-text-bold uk-margin-small-right">GET</span>-->
<!-- <span class="uk-text-break">https://api.openaire.eu/search/other?community={{community.communityId}}</span>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
</div>
`
})

@ -1 +1 @@
Subproject commit 8b8db18d0b34ed61d76936f0e44ef856a5f6df5c
Subproject commit eb5739ab8271aa71c8e58998ab88c61878f8788d