mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-09 18:19:10 +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'>
|
<nav class='container'>
|
||||||
<div class='item'>
|
<div class='item'>
|
||||||
<a route-to='friends-timeline' href="#">Pleroma FE</a>
|
<a route-to='friends-timeline' href="#">Pleroma FE</a>
|
||||||
|
|
|
@ -4,5 +4,9 @@ export default {
|
||||||
name: 'app',
|
name: 'app',
|
||||||
components: {
|
components: {
|
||||||
UserPanel
|
UserPanel
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
user () { return this.$store.state.users.currentUser || {} },
|
||||||
|
style () { return { 'background-image': `url(${this.user.background_image})` } }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue