mirror of
https://github.com/mempool/mempool.git
synced 2025-01-17 18:52:34 +01:00
Adding /status-view
This commit is contained in:
parent
f1a1039dea
commit
2aca447f9e
@ -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: ''
|
||||
|
@ -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,
|
||||
|
@ -0,0 +1,2 @@
|
||||
<app-start></app-start>
|
||||
<app-footer></app-footer>
|
@ -0,0 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-status-view',
|
||||
templateUrl: './status-view.component.html'
|
||||
})
|
||||
export class StatusViewComponent {
|
||||
constructor() { }
|
||||
}
|
Loading…
Reference in New Issue
Block a user