aboutsummaryrefslogtreecommitdiff
path: root/src/components/desktop_nav/desktop_nav.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/desktop_nav/desktop_nav.vue')
-rw-r--r--src/components/desktop_nav/desktop_nav.vue42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/components/desktop_nav/desktop_nav.vue b/src/components/desktop_nav/desktop_nav.vue
index d166be08..3a6e4033 100644
--- a/src/components/desktop_nav/desktop_nav.vue
+++ b/src/components/desktop_nav/desktop_nav.vue
@@ -4,7 +4,7 @@
class="DesktopNav"
:class="{ '-logoLeft': logoLeft }"
@click="scrollToTop()"
- >
+ >
<div class="inner-nav">
<div class="item sitename">
<router-link
@@ -12,7 +12,7 @@
class="site-name"
:to="{ name: 'root' }"
active-class="home"
- >
+ >
{{ sitename }}
</router-link>
</div>
@@ -20,58 +20,58 @@
class="logo"
:to="{ name: 'root' }"
:style="logoBgStyle"
- >
+ >
<div
class="mask"
:style="logoMaskStyle"
- />
+ />
<img
:src="logo"
:style="logoStyle"
- >
+ >
</router-link>
<div class="item right actions">
<search-bar
v-if="currentUser || !privateMode"
@toggled="onSearchBarToggled"
@click.stop.native
- />
+ />
<a
href="#"
class="nav-icon"
@click.stop="openSettingsModal"
- >
+ >
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="cog"
:title="$t('nav.preferences')"
- />
+ />
</a>
<a
v-if="currentUser && currentUser.role === 'admin'"
href="/pleroma/admin/#/login-pleroma"
class="nav-icon"
target="_blank"
- ><FAIcon
- fixed-width
- class="fa-scale-110 fa-old-padding"
- icon="tachometer-alt"
- :title="$t('nav.administration')"
- /></a>
+ ><FAIcon
+ fixed-width
+ class="fa-scale-110 fa-old-padding"
+ icon="tachometer-alt"
+ :title="$t('nav.administration')"
+ /></a>
<a
v-if="currentUser"
href="#"
class="nav-icon"
@click.prevent="logout"
- ><FAIcon
- fixed-width
- class="fa-scale-110 fa-old-padding"
- icon="sign-out-alt"
- :title="$t('login.logout')"
- /></a>
- </div>
+ ><FAIcon
+ fixed-width
+ class="fa-scale-110 fa-old-padding"
+ icon="sign-out-alt"
+ :title="$t('login.logout')"
+ /></a>
</div>
+ </div>
</nav>
</template>
<script src="./desktop_nav.js"></script>