site: move version to header right

This commit is contained in:
07akioni 2020-11-28 14:33:04 +08:00
parent ca4e6a8e1b
commit 59eb1b0628

View File

@ -10,7 +10,7 @@
@click="handleLogoClick" @click="handleLogoClick"
> >
<img src="./assets/images/naivelogo.svg"> <img src="./assets/images/naivelogo.svg">
Naive UI ({{ version }}) Naive UI
</n-text> </n-text>
<div style="display: flex; align-items: center;"> <div style="display: flex; align-items: center;">
<div class="nav-menu"> <div class="nav-menu">
@ -46,6 +46,9 @@
> >
{{ modeOptions[displayMode].label }} {{ modeOptions[displayMode].label }}
</n-button> </n-button>
<n-button size="small">
{{ version }}
</n-button>
</div> </div>
</div> </div>
</n-layout-header> </n-layout-header>