mirror of
https://github.com/romancm/gamebrary
synced 2025-01-04 15:28:44 +00:00
28 lines
507 B
Vue
Executable file
28 lines
507 B
Vue
Executable file
<template lang="html">
|
|
<b-navbar>
|
|
<b-navbar-brand href="/">
|
|
<img src="/static/gamebrary-logo.png" height="30" />
|
|
</b-navbar-brand>
|
|
|
|
<b-navbar-nav class="ml-auto">
|
|
<b-nav-item href="#">
|
|
<settings v-if="user" />
|
|
</b-nav-item>
|
|
</b-navbar-nav>
|
|
</b-navbar>
|
|
</template>
|
|
|
|
<script>
|
|
import Settings from '@/pages/Settings';
|
|
import { mapState } from 'vuex';
|
|
|
|
export default {
|
|
components: {
|
|
Settings,
|
|
},
|
|
|
|
computed: {
|
|
...mapState(['user']),
|
|
},
|
|
};
|
|
</script>
|