Change about route to /about and redirect the old one route.
This commit is contained in:
parent
2ed6117c6f
commit
804933a148
|
@ -8,9 +8,9 @@ const routes: Routes = [
|
|||
path: 'browse',
|
||||
loadChildren: () => import('./search-stakeholders/search-stakeholders.module').then(m => m.SearchStakeholdersModule)
|
||||
},
|
||||
{path: 'about', redirectTo: 'about/learn-how', pathMatch: 'full'},
|
||||
{path: 'about/learn-how', redirectTo: 'about', pathMatch: 'full'},
|
||||
{
|
||||
path: 'about/learn-how',
|
||||
path: 'about',
|
||||
loadChildren: () => import('./learn-how/learn-how.module').then(m => m.LearnHowModule)
|
||||
},
|
||||
{
|
||||
|
|
|
@ -148,7 +148,7 @@ export class AppComponent {
|
|||
public buildMenu() {
|
||||
this.menuItems = [];
|
||||
this.menuItems.push({
|
||||
rootItem: new MenuItem("about", "About", "", "/about/learn-how", false, [], null, {}),
|
||||
rootItem: new MenuItem("about", "About", "", "/about", false, [], null, {}),
|
||||
items: []
|
||||
});
|
||||
this.menuItems.push({
|
||||
|
|
|
@ -20,7 +20,7 @@ export class LearnHowComponent {
|
|||
public divContents = null;
|
||||
|
||||
public url: string = null;
|
||||
public pageTitle: string = "OpenAIRE - Monitor | Learn How";
|
||||
public pageTitle: string = "OpenAIRE - Monitor | About";
|
||||
public description: string = "Learn the process: Use the Monitor Dashboard to view your research results, open science. See how it works. Simplify research tracking & monitoring ";
|
||||
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'About'}];
|
||||
public entities = OpenaireEntities;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9542bd1e329a5ce64feba5e2a39f56ba4a724a02
|
||||
Subproject commit f9f9a6d5eadbf0efb1cdb9afb74f65d074c92e83
|
|
@ -1 +1 @@
|
|||
Subproject commit 170a0490e6ecf0d2e31d5a4cea3967cc14efa5af
|
||||
Subproject commit ee3a9a4868bbdeb26d7a9c5ed15dbf8b2b765b39
|
|
@ -1 +1 @@
|
|||
Subproject commit e032e8ce0a597da6e447451e53ed7e6bdfed2323
|
||||
Subproject commit b2911eeaaf5f1a04a55353a3df5bf4d42a5fa7ca
|
Loading…
Reference in New Issue