-
-
- {{ item.title }}
-
-
+
+ {{ appStore.user.displayName }}
+
+
+ {{ item.title }}
+
+
+
@@ -51,9 +54,9 @@ watch(() => appStore.user, initMenu)
function initMenu() {
if (appStore.user) {
- items.value = [{title: "Log out", link: "/logout"}]
+ items.value = [{title: "Log out", link: "/auth/signout"}]
} else {
- items.value = [{title: "Sign In", link: "/signin"}]
+ items.value = [{title: "Sign In", link: "/auth/signin"}]
}
}
diff --git a/frontend/src/pages/signin.vue b/frontend/src/pages/auth/signin.vue
similarity index 98%
rename from frontend/src/pages/signin.vue
rename to frontend/src/pages/auth/signin.vue
index 43e0881..80f7a2e 100644
--- a/frontend/src/pages/signin.vue
+++ b/frontend/src/pages/auth/signin.vue
@@ -65,7 +65,6 @@
+
+
diff --git a/frontend/src/pages/index.vue b/frontend/src/pages/index.vue
index a352702..ce3e0f5 100644
--- a/frontend/src/pages/index.vue
+++ b/frontend/src/pages/index.vue
@@ -1,7 +1,11 @@