Add block link previews for other networks
This commit is contained in:
parent
d1e2ead13e
commit
fbf15f05ed
@ -87,7 +87,10 @@ let routes: Routes = [
|
|||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: ':id',
|
path: ':id',
|
||||||
component: BlockComponent
|
component: BlockComponent,
|
||||||
|
data: {
|
||||||
|
ogImage: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -190,7 +193,10 @@ let routes: Routes = [
|
|||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: ':id',
|
path: ':id',
|
||||||
component: BlockComponent
|
component: BlockComponent,
|
||||||
|
data: {
|
||||||
|
ogImage: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -328,6 +334,14 @@ let routes: Routes = [
|
|||||||
path: 'block/:id',
|
path: 'block/:id',
|
||||||
component: BlockPreviewComponent
|
component: BlockPreviewComponent
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'testnet/block/:id',
|
||||||
|
component: BlockPreviewComponent
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'signet/block/:id',
|
||||||
|
component: BlockPreviewComponent
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -419,7 +433,10 @@ if (browserWindowEnv && browserWindowEnv.BASE_MODULE === 'liquid') {
|
|||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: ':id',
|
path: ':id',
|
||||||
component: BlockComponent
|
component: BlockComponent,
|
||||||
|
data: {
|
||||||
|
ogImage: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -523,7 +540,10 @@ if (browserWindowEnv && browserWindowEnv.BASE_MODULE === 'liquid') {
|
|||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: ':id',
|
path: ':id',
|
||||||
component: BlockComponent
|
component: BlockComponent,
|
||||||
|
data: {
|
||||||
|
ogImage: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -563,6 +583,20 @@ if (browserWindowEnv && browserWindowEnv.BASE_MODULE === 'liquid') {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'preview',
|
||||||
|
component: MasterPagePreviewComponent,
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'block/:id',
|
||||||
|
component: BlockPreviewComponent
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'testnet/block/:id',
|
||||||
|
component: BlockPreviewComponent
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'status',
|
path: 'status',
|
||||||
component: StatusViewComponent
|
component: StatusViewComponent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user