apply navbar style #15
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
15
src/App.vue
15
src/App.vue
@ -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>
|
||||
|
Reference in New Issue
Block a user