refactor [X-01]: надо доделать еще скрытие пользователей онлайн
This commit is contained in:
1 parent
3b8e67c83b
commit
049c4a1915
5 files changed
+29
-21
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<v-app-bar density="compact" color="teal-darken-4" elevation="1">
|
||||
<v-app-bar v-if="props.isAuth" density="compact" color="teal-darken-4" elevation="1">
|
||||
<template v-slot:image>
|
||||
<v-img gradient="to top right, rgba(19,84,122,.8), rgba(128,208,199,.8)" />
|
||||
</template>
|
||||
@@ -13,20 +13,33 @@
|
||||
<AppNavigation />
|
||||
</v-col>
|
||||
</v-app-bar>
|
||||
<v-app-bar v-else density="compact" color="teal-darken-4" elevation="1">
|
||||
<template v-slot:image>
|
||||
<v-img gradient="to top right, rgba(19,84,122,.8), rgba(128,208,199,.8)" />
|
||||
</template>
|
||||
<v-col class="d-flex justify-end">
|
||||
<AuthForm @challengealert="alarm= true"/>
|
||||
</v-col>
|
||||
</v-app-bar>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import router from '../../router';
|
||||
import vcardUser from '../../components/UI/fiousercard/vcardUser.vue';
|
||||
import AppNavigation from '../../components/UI/AppHeader/AppNavigation.vue';
|
||||
import router from '@/router';
|
||||
import vcardUser from '@/components/UI/fiousercard/vcardUser.vue';
|
||||
import AppNavigation from '@/components/UI/AppHeader/AppNavigation.vue';
|
||||
import AuthForm from '@/components/UI/Auth-form.vue';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
const props = defineProps({
|
||||
showSideBar: Boolean,
|
||||
logo: String,
|
||||
author: Object,
|
||||
isAuth: Boolean,
|
||||
})
|
||||
|
||||
defineEmits(['showSide'])
|
||||
|
||||
const alarm = ref(false)
|
||||
|
||||
</script>
|
||||
Reference in new issue
Block a user