1 parent
7639a54c50
commit
2b94bcc20e
11 files changed
+175
-54
No files matched your search
@@ -7,9 +7,9 @@ import BackButton from '@/components/BackButton.vue'
|
||||
import { useThemeMode } from '@/composables/useThemeMode.ts'
|
||||
import { THEME_ICONS } from '@/lib/theme.ts'
|
||||
import NavigationMenu from '@/components/NavigationMenu.vue'
|
||||
import PushEnable from '@/components/PushEnable.vue'
|
||||
import { usePushNotifications } from '@/composables/usePushNotifications.ts'
|
||||
import ProjectMenu from '@/components/ProjectMenu.vue'
|
||||
import NotificationsList from '@/components/NotificationsList.vue'
|
||||
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
@@ -22,7 +22,7 @@ const title = 'Ulitka'
|
||||
const isAuth = computed(() => !!session.value.data)
|
||||
|
||||
function goToSignIn() {
|
||||
router.push({ path: '/sign-in' })
|
||||
router.push({ path: '/sign-in-otp' })
|
||||
}
|
||||
|
||||
function goToSignUp() {
|
||||
@@ -66,13 +66,12 @@ const fluid = computed(() => {
|
||||
|
||||
<div v-if="!session.data">
|
||||
<v-btn @click="goToSignIn">Sign In</v-btn>
|
||||
<v-btn @click="goToSignUp">Sign Up</v-btn>
|
||||
</div>
|
||||
|
||||
<div v-if="session.data" class="d-flex align-center">
|
||||
<project-menu />
|
||||
|
||||
<push-enable />
|
||||
<notifications-list />
|
||||
|
||||
<v-btn rounded="0" :icon="THEME_ICONS[themeMode]" :title="`Theme: ${themeMode}`" @click="cycleThemeMode" />
|
||||
|
||||
|
||||
Reference in new issue
Block a user