Replacing menu button texts with icons.

Latest blocks is now a separate page.
This commit is contained in:
softsimon
2020-09-22 05:51:34 +07:00
parent 9d1dd030af
commit a84df26506
9 changed files with 231 additions and 14 deletions

View File

@@ -13,6 +13,7 @@ import { AssetComponent } from './components/asset/asset.component';
import { AssetsComponent } from './assets/assets.component';
import { StatusViewComponent } from './components/status-view/status-view.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { LatestBlocksComponent } from './components/latest-blocks/latest-blocks.component';
const routes: Routes = [
{
@@ -41,6 +42,10 @@ const routes: Routes = [
},
],
},
{
path: 'blocks',
component: LatestBlocksComponent,
},
{
path: 'graphs',
component: StatisticsComponent,
@@ -85,6 +90,10 @@ const routes: Routes = [
},
],
},
{
path: 'blocks',
component: LatestBlocksComponent,
},
{
path: 'graphs',
component: StatisticsComponent,
@@ -150,6 +159,10 @@ const routes: Routes = [
},
],
},
{
path: 'blocks',
component: LatestBlocksComponent,
},
{
path: 'graphs',
component: StatisticsComponent,