forked from AkkomaGang/akkoma-fe
31 lines
1.1 KiB
Vue
31 lines
1.1 KiB
Vue
<template>
|
|
<div id="app" v-bind:style="style" class="base02-background">
|
|
<nav class='container base01-background base04'>
|
|
<div class='inner-nav'>
|
|
<div class='item'>
|
|
<a route-to='friends-timeline' href="#">{{sitename}}</a>
|
|
</div>
|
|
<style-switcher></style-switcher>
|
|
</div>
|
|
</nav>
|
|
<div class="container" id="content">
|
|
<div class="panel-switcher">
|
|
<button @click="activatePanel('sidebar')">Sidebar</button>
|
|
<button @click="activatePanel('timeline')">Timeline</button>
|
|
</div>
|
|
<div class="sidebar" :class="{ 'mobile-hidden': mobileActivePanel != 'sidebar' }">
|
|
<user-panel></user-panel>
|
|
<nav-panel></nav-panel>
|
|
<notifications v-if="currentUser"></notifications>
|
|
</div>
|
|
<div class="main" :class="{ 'mobile-hidden': mobileActivePanel != 'timeline' }">
|
|
<transition name="fade">
|
|
<router-view></router-view>
|
|
</transition>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./App.js"></script>
|
|
<style lang="scss" src="./App.scss"></style>
|