Adding /status-view

This commit is contained in:
softsimon 2020-07-02 17:56:15 +07:00
parent f1a1039dea
commit 2aca447f9e
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
4 changed files with 18 additions and 16 deletions

View File

@ -12,6 +12,7 @@ import { MempoolBlockComponent } from './components/mempool-block/mempool-block.
import { LatestBlocksComponent } from './components/latest-blocks/latest-blocks.component';
import { AssetComponent } from './components/asset/asset.component';
import { AssetsComponent } from './assets/assets.component';
import { StatusViewComponent } from './components/status-view/status-view.component';
const routes: Routes = [
{
@ -53,14 +54,6 @@ const routes: Routes = [
children: [],
component: AddressComponent
},
{
path: 'asset/:id',
component: AssetComponent
},
{
path: 'assets',
component: AssetsComponent,
},
],
},
{
@ -106,14 +99,6 @@ const routes: Routes = [
children: [],
component: AddressComponent
},
{
path: 'asset/:id',
component: AssetComponent
},
{
path: 'assets',
component: AssetsComponent,
},
{
path: '**',
redirectTo: ''
@ -230,6 +215,10 @@ const routes: Routes = [
path: 'testnet-tv',
component: TelevisionComponent,
},
{
path: 'status-view',
component: StatusViewComponent
},
{
path: '**',
redirectTo: ''

View File

@ -51,6 +51,7 @@ import { AssetsComponent } from './assets/assets.component';
import { RelativeUrlPipe } from './pipes/relative-url/relative-url.pipe';
import { MinerComponent } from './pipes/miner/miner.component';
import { Hex2asciiPipe } from './pipes/hex2ascii/hex2ascii.pipe';
import { StatusViewComponent } from './components/status-view/status-view.component';
@NgModule({
declarations: [
@ -92,6 +93,7 @@ import { Hex2asciiPipe } from './pipes/hex2ascii/hex2ascii.pipe';
RelativeUrlPipe,
MinerComponent,
Hex2asciiPipe,
StatusViewComponent,
],
imports: [
BrowserModule,

View File

@ -0,0 +1,2 @@
<app-start></app-start>
<app-footer></app-footer>

View File

@ -0,0 +1,9 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-status-view',
templateUrl: './status-view.component.html'
})
export class StatusViewComponent {
constructor() { }
}