diff --git a/src/router/index.js b/src/router/index.js index 03729f1d..2cf41702 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -111,6 +111,20 @@ const router = new VueRouter({ ], }, }, + { + path: '/:chain/blocks', + name: 'blocks', + component: () => import('@/views/Blocks.vue'), + meta: { + pageTitle: 'Block', + breadcrumb: [ + { + text: 'Blocks', + active: true, + }, + ], + }, + }, { path: '/:chain/block/:height', name: 'block', diff --git a/src/views/Blocks.vue b/src/views/Blocks.vue new file mode 100644 index 00000000..4d348490 --- /dev/null +++ b/src/views/Blocks.vue @@ -0,0 +1,124 @@ + + + diff --git a/src/views/Home.vue b/src/views/Home.vue index 0de1f275..55a46198 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -25,50 +25,53 @@ md="4" sm="6" > - - -

- {{ data.chain_name }} -

- - Updated on {{ data.time }} - -
- - - - - - SDK Version + + + +

+ {{ data.chain_name }} +

+ + Updated on {{ data.time }} -

- {{ data.sdk_version }} -

-
+ - - - Height - -

- {{ data.height }} -

-
-
-
+ + + + + SDK Version + +

+ {{ data.sdk_version }} +

+
+ + + + Height + +

+ {{ data.height }} +

+
+
+ +