Misc cleanup, more definitions of color with scss variables and added a lot of color transitions for when switching theme color.

This commit is contained in:
2019-10-22 23:07:21 +02:00
parent f8c284cd71
commit c454d9c9e0
14 changed files with 68 additions and 61 deletions

View File

@@ -73,16 +73,24 @@ export default {
}
},
created(){
document.title = 'Profile' + storage.pageTitlePostfix;
storage.backTitle = document.title;
if(!localStorage.getItem('token')){
this.userLoggedIn = false;
} else {
this.userLoggedIn = true;
this.getUserInfo();
getUserRequests()
.then(results => {
this.results = results.results
this.totalResults = results.total_results
})
getEmoji()
.then(resp => this.emoji = resp.data.emoji )
.then(resp => {
const { emoji } = resp
this.emoji = emoji
store.dispatch('documentTitle/updateEmoji', emoji)
})
}
}
}