forked from cerc-io/cosmos-explorer
add dark/language bar
This commit is contained in:
parent
97d4f8a12a
commit
44d82fcb1e
@ -1,5 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="text-center container-lg">
|
<div class="text-center container-lg">
|
||||||
|
<b-nav
|
||||||
|
align="right"
|
||||||
|
style="width:100%"
|
||||||
|
class="nav text-right text-nowrap ml-auto"
|
||||||
|
>
|
||||||
|
<b-nav-item><dark-toggler /></b-nav-item>
|
||||||
|
<b-nav-item><locale /></b-nav-item>
|
||||||
|
</b-nav>
|
||||||
<b-link>
|
<b-link>
|
||||||
<div class="d-flex justify-content-center align-items-center">
|
<div class="d-flex justify-content-center align-items-center">
|
||||||
<vuexy-logo class="mr-1" />
|
<vuexy-logo class="mr-1" />
|
||||||
@ -11,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</b-link>
|
</b-link>
|
||||||
<h2 class="mb-1">
|
<h2 class="mb-1">
|
||||||
Cosmos Ecosystem Blockchains 🛠
|
Cosmos Ecosystem Blockchains 🚀
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<p class="mb-3">
|
<p class="mb-3">
|
||||||
@ -81,11 +89,13 @@
|
|||||||
<script>
|
<script>
|
||||||
/* eslint-disable global-require */
|
/* eslint-disable global-require */
|
||||||
import {
|
import {
|
||||||
BLink, BAvatar, BRow, BCol, BCard, BCardText, BCardTitle,
|
BLink, BAvatar, BRow, BCol, BCard, BCardText, BCardTitle, BNav, BNavItem,
|
||||||
} from 'bootstrap-vue'
|
} from 'bootstrap-vue'
|
||||||
import VuexyLogo from '@core/layouts/components/Logo.vue'
|
import VuexyLogo from '@core/layouts/components/Logo.vue'
|
||||||
import store from '@/store/index'
|
import store from '@/store/index'
|
||||||
import { toDay } from '@/libs/data'
|
import { toDay } from '@/libs/data'
|
||||||
|
import DarkToggler from '@/@core/layouts/components/app-navbar/components/DarkToggler.vue'
|
||||||
|
import Locale from '@/@core/layouts/components/app-navbar/components/Locale.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@ -96,7 +106,11 @@ export default {
|
|||||||
BCard,
|
BCard,
|
||||||
BCardText,
|
BCardText,
|
||||||
BCardTitle,
|
BCardTitle,
|
||||||
|
BNav,
|
||||||
|
BNavItem,
|
||||||
VuexyLogo,
|
VuexyLogo,
|
||||||
|
DarkToggler,
|
||||||
|
Locale,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user