diff --git a/packages/docs/src/components/app/GitHubLogin.vue b/packages/docs/src/components/app/GitHubLogin.vue
index 3f15e549e7f..51519f35784 100644
--- a/packages/docs/src/components/app/GitHubLogin.vue
+++ b/packages/docs/src/components/app/GitHubLogin.vue
@@ -8,9 +8,18 @@
nav
base-color="#2a2a2a"
prepend-icon="mdi-github"
+ append-icon="mdi-login-variant"
variant="flat"
@click="loginWithPopup"
- />
+ >
+
+
+
+
+
+
+
+
@@ -35,15 +45,19 @@
@@ -58,15 +72,19 @@
// Composables
import { useAuth0 } from '@/plugins/auth'
import { useI18n } from 'vue-i18n'
- import { useRouter } from 'vue-router'
+ import { useRoute, useRouter } from 'vue-router'
// Utilities
+ import { computed } from 'vue'
import { rpath } from '@/util/routes'
const { t } = useI18n()
+ const route = useRoute()
const router = useRouter()
const { loginWithPopup, user, logout, isAuthenticated } = useAuth0()
+ const isDashboard = computed(() => route.meta?.category === 'user')
+
function onClickDashboard () {
router.push(rpath('/user/dashboard/'))
}