From 9d1d1b3afb488c5b605d1690c450205976129c07 Mon Sep 17 00:00:00 2001 From: Hubert Van De Walle Date: Sat, 25 Apr 2020 23:17:25 +0200 Subject: [PATCH] Yes --- frontend/components/LoginForm.vue | 25 +++++++++++++++---------- frontend/components/RegisterForm.vue | 27 ++++++++++++++++----------- frontend/layouts/default.vue | 24 +++++++++++++++++++----- frontend/nuxt.config.js | 1 + frontend/store/index.js | 10 +++++++++- 5 files changed, 60 insertions(+), 27 deletions(-) diff --git a/frontend/components/LoginForm.vue b/frontend/components/LoginForm.vue index d39c569..66c0a7a 100644 --- a/frontend/components/LoginForm.vue +++ b/frontend/components/LoginForm.vue @@ -1,7 +1,7 @@ diff --git a/frontend/components/RegisterForm.vue b/frontend/components/RegisterForm.vue index 6b3c7fc..b0a276b 100644 --- a/frontend/components/RegisterForm.vue +++ b/frontend/components/RegisterForm.vue @@ -1,7 +1,7 @@ diff --git a/frontend/layouts/default.vue b/frontend/layouts/default.vue index c364f9e..b48e766 100644 --- a/frontend/layouts/default.vue +++ b/frontend/layouts/default.vue @@ -3,10 +3,13 @@ Simple Notes - My notes - - Welcome {{ this.$store.state.auth.user.username }} - +
+ My notes + + Welcome {{ loggedInUser.username }} + + Logout +
Account
@@ -18,7 +21,18 @@