mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-08 17:39:09 +00:00
Add background image.
This commit is contained in:
parent
72877b5c06
commit
17d7617a0c
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
<div id="app">
|
||||
<div id="app" v-bind:style="style">
|
||||
<nav class='container'>
|
||||
<div class='item'>
|
||||
<a route-to='friends-timeline' href="#">Pleroma FE</a>
|
||||
|
|
|
@ -4,5 +4,9 @@ export default {
|
|||
name: 'app',
|
||||
components: {
|
||||
UserPanel
|
||||
},
|
||||
computed: {
|
||||
user () { return this.$store.state.users.currentUser || {} },
|
||||
style () { return { 'background-image': `url(${this.user.background_image})` } }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue