add changes for FOS/SDGs url and breadcrumb

This commit is contained in:
Alex Martzios 2022-05-25 09:08:41 +03:00
parent 0a160b4f54
commit 9406ad8152
7 changed files with 76 additions and 7 deletions

View File

@ -9,8 +9,8 @@ const routes: Routes = [
//{ path: 'home', loadChildren: './home/home.module#HomeModule'},
{path: 'home', redirectTo: '', pathMatch: 'full'},
{path: 'mail-preferences', loadChildren: () => import('./userEmailPreferences/mailPrefs.module').then(m => m.LibMailPrefsModule)},
{path: 'sdg', loadChildren: () => import('./sdg/sdg.module').then(m => m.SdgModule)},
{path: 'fos', loadChildren: () => import('./fos/fos.module').then(m => m.FosModule)},
{path: 'sdgs', loadChildren: () => import('./sdg/sdg.module').then(m => m.SdgModule)},
{path: 'fields-of-science', loadChildren: () => import('./fos/fos.module').then(m => m.FosModule)},
// ORCID Pages
{path: 'orcid', loadChildren: () => import('./orcid/orcid.module').then(m => m.LibOrcidModule)},
{path: 'my-orcid-links', loadChildren: () => import('./orcid/my-orcid-links/myOrcidLinks.module').then(m => m.LibMyOrcidLinksModule)},

View File

@ -27,7 +27,7 @@ export class FosComponent implements OnInit, OnDestroy {
public result = [];
properties: EnvProperties = properties;
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'FOS'}];
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Fields of Science'}];
subscriptions: Subscription[] = [];

View File

@ -45,14 +45,14 @@
</div>
<div class="link-actions uk-flex uk-flex-column uk-flex-top uk-margin-small-top">
<a class="uk-display-inline-block uk-text-uppercase uk-button uk-button-text uk-margin-small-bottom"
routerLinkActive="router-link-active" routerLink="/sdg">
routerLinkActive="router-link-active" routerLink="/sdgs">
<span class="uk-flex uk-flex-middle">
<img src="assets/explore-assets/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="/fos">
routerLinkActive="router-link-active" routerLink="/fields-of-science">
<span class="uk-flex uk-flex-middle">
<img src="assets/explore-assets/fos-icon.svg" alt="FOS logo" loading="lazy">
<span class="uk-margin-small-left">Fields of Science (FoS)</span>

@ -1 +1 @@
Subproject commit a0ff8d03c3880a8f62c09a6671c34f3ebd860c44
Subproject commit 9a2b8d3632581400af9507421b1a0850979ae9c4

View File

@ -20,7 +20,7 @@ export class SdgComponent implements OnInit, OnDestroy {
public loading: boolean;
properties: EnvProperties = properties;
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'SDGs'}];
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Sustainable Development Goals'}];
subscriptions: Subscription[] = [];

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" width="223.632" height="517.332" viewBox="0 0 223.632 517.332">
<g id="Group_13813" data-name="Group 13813" transform="translate(-129.368 -833.198)">
<g id="Group_13810" data-name="Group 13810" transform="translate(164.221 833.198)" style="mix-blend-mode: multiply;isolation: isolate">
<path id="Path_104582" data-name="Path 104582" d="M67.41-138H46.286c-11.8,0-22.988,3.106-34.482,9.63L-37.9-98.859v40.384L24.54-92.956v169.3H67.41V-138Z" transform="translate(37.9 138)" fill="#feca1d"/>
</g>
<path id="Path_104612" data-name="Path 104612" d="M21.13,61.894,64.7,19.341c42.894-41.872,57.532-62.979,57.532-92.6C122.237-113.425,95-141,43.258-141c-52.766,0-84.085,27.575-88.851,77.958l-.34,3.4H.7l.34-3.4c3.064-28.255,14.3-42.894,37.787-42.894,21.787,0,33.7,14.638,33.7,35.4,0,22.468-12.6,39.149-44.255,70.128L-50.7,76.873V99H120.534V61.894Z" transform="translate(230.764 1092.88)" fill="#feca1d" style="mix-blend-mode: multiply;isolation: isolate"/>
<path id="Path_104613" data-name="Path 104613" d="M117.632,89.938c24.778-6.568,38.212-23.584,38.212-47.466,0-30.152-23.584-53.736-68.364-53.736-48.064,0-73.737,27.465-77.32,63.289l-.3,2.985h40.9l.3-2.985c2.09-19.4,13.434-32.54,31.943-32.54,18.21,0,29.256,11.046,29.256,27.763,0,19.4-14.33,31.644-36.122,32.54l-6.866.3v28.659h6.866c26.868.6,40.9,11.643,40.9,32.241,0,18.807-14.628,31.346-36.421,31.346-20.9,0-35.227-12.837-38.212-33.734l-.6-2.985H.608l.3,2.985c4.478,42.69,33.435,64.483,80.006,64.483,46.272,0,79.708-24.778,79.708-63.587C160.621,112.626,145.4,96.207,117.632,89.938Z" transform="translate(128.76 1147.449)" fill="#feca1d" style="mix-blend-mode: multiply;isolation: isolate"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB