Skip to content
Snippets Groups Projects
Commit 6e30541c authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Added links to other pages in approach and legal notices

parent fa0956e1
No related branches found
No related tags found
1 merge request!48Version 2.3.0
Pipeline #1739 passed
...@@ -24,13 +24,6 @@ export const routes: Routes = [ ...@@ -24,13 +24,6 @@ export const routes: Routes = [
title: AppRoutes.contact.title, title: AppRoutes.contact.title,
} }
}, },
{
path: AppRoutes.contact.uri,
component: ContactComponent,
data: {
title: AppRoutes.contact.title,
}
}
]; ];
@NgModule({ @NgModule({
......
...@@ -23,6 +23,26 @@ export const routes: Routes = [ ...@@ -23,6 +23,26 @@ export const routes: Routes = [
data: { data: {
title: AppRoutes.approach.title, title: AppRoutes.approach.title,
uri: AppRoutes.approach.uri, uri: AppRoutes.approach.uri,
links: [
{
title: cmsPageLink.providers.title,
url: `/${AppRoutes.dataProducers.uri}`,
img: './assets/img/picto-producteur.svg',
imgAlt: cmsPageLink.providers.imgAlt,
},
{
title: cmsPageLink.contact.title,
url: `/${AppRoutes.contact.uri}`,
img: './assets/img/picto-contact.svg',
imgAlt: cmsPageLink.contact.imgAlt,
},
{
title: cmsPageLink.documentation.title,
url: `/${AppRoutes.documentation.uri}`,
img: './assets/img/picto-doc.svg',
imgAlt: cmsPageLink.documentation.imgAlt,
},
],
}, },
}, },
{ {
...@@ -70,6 +90,26 @@ export const routes: Routes = [ ...@@ -70,6 +90,26 @@ export const routes: Routes = [
data: { data: {
title: AppRoutes.legalNotices.title, title: AppRoutes.legalNotices.title,
uri: AppRoutes.legalNotices.uri, uri: AppRoutes.legalNotices.uri,
links: [
{
title: cmsPageLink.providers.title,
url: `/${AppRoutes.dataProducers.uri}`,
img: './assets/img/picto-producteur.svg',
imgAlt: cmsPageLink.providers.imgAlt,
},
{
title: cmsPageLink.contact.title,
url: `/${AppRoutes.contact.uri}`,
img: './assets/img/picto-contact.svg',
imgAlt: cmsPageLink.contact.imgAlt,
},
{
title: cmsPageLink.documentation.title,
url: `/${AppRoutes.documentation.uri}`,
img: './assets/img/picto-doc.svg',
imgAlt: cmsPageLink.documentation.imgAlt,
},
],
}, },
}, },
{ {
...@@ -94,14 +134,14 @@ export const routes: Routes = [ ...@@ -94,14 +134,14 @@ export const routes: Routes = [
}, },
], ],
}, },
{ // {
path: AppRoutes.credits.uri, // path: AppRoutes.credits.uri,
component: CreditsComponent, // component: CreditsComponent,
data: { // data: {
title: AppRoutes.credits.title, // title: AppRoutes.credits.title,
uri: AppRoutes.credits.uri, // uri: AppRoutes.credits.uri,
}, // },
}, // },
{ {
path: `${AppRoutes.articles.uri}/:id`, path: `${AppRoutes.articles.uri}/:id`,
component: CMSPostDetailComponent, component: CMSPostDetailComponent,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment