add fos/sdg pages

This commit is contained in:
Alex Martzios 2022-11-03 12:15:29 +02:00
parent 623c5fbc6e
commit 84464efac3
4 changed files with 12 additions and 4 deletions

View File

@ -94,6 +94,14 @@ const routes: Routes = [
loadChildren: () => import('./reload/libReload.module').then(m => m.LibReloadModule),
data: {hasSidebar: false}
},
{
path: 'sdgs',
loadChildren: () => import('./openaireLibrary/sdg/sdg.module').then(m => m.SdgModule)
},
{
path: 'fields-of-science',
loadChildren: () => import('./openaireLibrary/fos/fos.module').then(m => m.FosModule), data: {extraOffset: 100}
},
{path: 'user-info', loadChildren: () => import('./login/libUser.module').then(m => m.LibUserModule)},
{path: 'error', component: OpenaireErrorPageComponent}
];

View File

@ -40,14 +40,14 @@
<a class="uk-display-inline-block uk-text-uppercase uk-button uk-button-text uk-margin-small-bottom"
routerLinkActive="router-link-active" routerLink="/sdgs">
<span class="uk-flex uk-flex-middle">
<img src="assets/aggregator-assets/sdg-dot-img.svg" alt="SDGs logo" loading="lazy">
<img src="assets/common-assets/sdg/sdg-dot-img.svg" alt="SDGs logo" loading="lazy">
<span class="uk-margin-small-left">Sustainable Development Goals (SDG<span class="uk-text-lowercase">s</span>)</span>
</span>
</a>
<a class="uk-display-inline-block uk-text-uppercase uk-button uk-button-text"
routerLinkActive="router-link-active" routerLink="/fields-of-science">
<span class="uk-flex uk-flex-middle">
<img src="assets/aggregator-assets/fos-icon.svg" alt="FOS logo" loading="lazy">
<img src="assets/common-assets/fos/fos-icon.svg" alt="FOS logo" loading="lazy">
<span class="uk-margin-small-left">Fields of Science (FoS)</span>
</span>
</a>

@ -1 +1 @@
Subproject commit c862be75613fa1cf08a3bf276b9f4e1b56a3321c
Subproject commit 3bd6a28c1b90980135c04d6d4b52714357fa1853

@ -1 +1 @@
Subproject commit 050fcbce9343f849956800b4634f62fefee7e210
Subproject commit 99fab0671bee8251230599ef9bc3034aff39c141