Version 2.0.0 - update of everything
This commit is contained in:
57 files changed
+9407
-364
No files matched your search
@@ -1,14 +1,13 @@
|
||||
<template>
|
||||
<Box :box-class="'box'" padding="closed">
|
||||
<User :user="userStore.userInfo" />
|
||||
<div class="user-action">
|
||||
<IconAction title="Paramètres" icon="fa-solid fa-gear" @click="userSettings.open()"/>
|
||||
<IconAction title="Déconnexion" color="red" icon="fa-solid fa-right-from-bracket" @click="signOut(router)"/>
|
||||
</div>
|
||||
<div class="user-action">
|
||||
<IconAction title="Paramètres" icon="fa-solid fa-gear" @click="userSettings.open()"/>
|
||||
<IconAction title="Déconnexion" color="red" icon="fa-solid fa-right-from-bracket" @click="signOut(router)"/>
|
||||
</div>
|
||||
<!-- Paramètres : thème, comptes connectés (YouTube), support, confidentialité, accès à l'administration -->
|
||||
<UserSettings ref="userSettings"/>
|
||||
</Box>
|
||||
|
||||
|
||||
</template>
|
||||
<script setup>
|
||||
import Box from '../UI/Box.vue';
|
||||
@@ -23,9 +22,8 @@ if(!socket.connected) {
|
||||
}
|
||||
|
||||
import { useUserStore } from '@/stores/userStore';
|
||||
import Modal from '../UI/Modal.vue';
|
||||
import UserSettings from '../Widget/User/UserSettings.vue';
|
||||
import { ref, onMounted } from 'vue';
|
||||
import { ref } from 'vue';
|
||||
const userStore = useUserStore();
|
||||
const router = useRouter();
|
||||
|
||||
|
||||
Reference in new issue
Block a user