This commit is contained in:
2026-03-01 22:00:20 +03:00
parent 54fa90b2a5
commit 944e53df63
35 changed files with 1786 additions and 788 deletions

View File

@@ -1,17 +1,16 @@
<script setup lang="ts">
import ChatView from '@/views/ChatView.vue'
import { useAuthStore } from '@/stores/auth.ts'
import SignInView from '@/views/SignInView.vue'
import MainView from '@/views/MainView.vue'
const authStore = useAuthStore()
</script>
<template>
<div class="chat-fullscreen">
<div class="h-100 w-50r margin-auto py-4">
<chat-view />
<!-- <chat-view v-if="authStore.isAuth" />-->
<!-- <sign-in-view v-else />-->
<div class="h-screen bg-gray-200">
<div class="h-full m-auto p-4">
<MainView v-if="authStore.isAuth" />
<SignInView v-else />
</div>
</div>
</template>