initial commit
This commit is contained in:
31
app/components/profile/general.vue
Normal file
31
app/components/profile/general.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div v-if="authStore.user != null">
|
||||
<img class='avatar' :src="authStore.user.avatar"/>
|
||||
<ProfileModulesDisplayName/>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
const authStore = useAuthStore()
|
||||
onMounted(() => {
|
||||
if (authStore.user){
|
||||
authStore.user.sudo_token = null
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
img.avatar {
|
||||
display: block;
|
||||
margin-top:0.75em;
|
||||
margin-inline: auto;
|
||||
border-radius: 50%;
|
||||
//border: 5px solid blueviolet;
|
||||
}
|
||||
|
||||
.modale-btns{
|
||||
display: flex;
|
||||
gap:1em;
|
||||
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user