link instance logo to homepage

This commit is contained in:
taehoon 2019-11-25 13:01:07 -05:00
parent b739edb509
commit 575598da32
2 changed files with 7 additions and 10 deletions

View File

@ -325,7 +325,6 @@ i[class*=icon-] {
} }
.item { .item {
flex: 1;
line-height: 50px; line-height: 50px;
height: 50px; height: 50px;
overflow: hidden; overflow: hidden;
@ -358,16 +357,12 @@ i[class*=icon-] {
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: 0; left: 50%;
right: 0; transform: translateX(-50%);
align-items: stretch;
justify-content: center;
flex: 0 0 auto;
z-index: -1;
transition: opacity; transition: opacity;
transition-timing-function: ease-out; transition-timing-function: ease-out;
transition-duration: 100ms; transition-duration: 100ms;
cursor: pointer;
.mask { .mask {
mask-repeat: no-repeat; mask-repeat: no-repeat;
@ -398,6 +393,7 @@ i[class*=icon-] {
padding-right: 10px; padding-right: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between;
flex-basis: 970px; flex-basis: 970px;
height: 50px; height: 50px;

View File

@ -16,7 +16,8 @@
@click="scrollToTop()" @click="scrollToTop()"
> >
<div class="inner-nav"> <div class="inner-nav">
<div <router-link
:to="{ name: 'root' }"
class="logo" class="logo"
:style="logoBgStyle" :style="logoBgStyle"
> >
@ -28,7 +29,7 @@
:src="logo" :src="logo"
:style="logoStyle" :style="logoStyle"
> >
</div> </router-link>
<div class="item"> <div class="item">
<router-link <router-link
v-if="!hideSitename" v-if="!hideSitename"