apply navbar style #15
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-09-19 16:38:43 +02:00
parent a1546849c8
commit 94d2a98b96
3 changed files with 49 additions and 22 deletions

View File

@ -12,8 +12,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<Footer />
</template>
<script>
import Footer from '@/views/partials/Footer.vue'
import Navbar from '@/views/partials/Navbar.vue'
import Footer from '@/components/Footer.vue'
import Navbar from '@/components/Navbar.vue'
export default {
name: "App",
@ -23,9 +23,7 @@ export default {
},
data() {
return {
showMobileNavbar: false,
memberId: null,
searchText: "",
};
},
created() {
@ -34,14 +32,5 @@ export default {
updated() {
this.memberId = localStorage.getItem("user_id");
},
methods: {
logout() {
localStorage.clear();
this.$router.push({ path: "/" });
},
searchRedirect() {
this.$router.push({ path: `/s/search?text`, query: { query: this.searchText } } );
},
},
};
</script>