Fixing Side menu
This commit is contained in:
@@ -66,9 +66,9 @@ initializeLocale();
|
|||||||
:src="userProfileStore.portraitUrl"
|
:src="userProfileStore.portraitUrl"
|
||||||
alt="Profile Image"
|
alt="Profile Image"
|
||||||
class="rounded-full"
|
class="rounded-full"
|
||||||
width="32"
|
width="42"
|
||||||
height="32"
|
height="42"
|
||||||
style="max-height: 32px;"
|
style="max-height: 42px;"
|
||||||
>
|
>
|
||||||
<span class="ml-2 text-sm font-sans capitalize">
|
<span class="ml-2 text-sm font-sans capitalize">
|
||||||
{{ userProfileStore.alias }}
|
{{ userProfileStore.alias }}
|
||||||
@@ -84,7 +84,7 @@ initializeLocale();
|
|||||||
:to="`/@${creatorProfileStore.creator.name}`">
|
:to="`/@${creatorProfileStore.creator.name}`">
|
||||||
<v-btn class="w-full justify-start"
|
<v-btn class="w-full justify-start"
|
||||||
prepend-icon="mdi-home-account"
|
prepend-icon="mdi-home-account"
|
||||||
variant="tonal">
|
variant="flat">
|
||||||
{{ creatorProfileStore.creator.name }}
|
{{ creatorProfileStore.creator.name }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</router-link>
|
</router-link>
|
||||||
@@ -100,13 +100,13 @@ initializeLocale();
|
|||||||
<v-btn to="/profile"
|
<v-btn to="/profile"
|
||||||
class="w-full justify-start"
|
class="w-full justify-start"
|
||||||
prepend-icon="mdi-account"
|
prepend-icon="mdi-account"
|
||||||
variant="tonal">
|
variant="flat">
|
||||||
{{ $t('header.myprofile') }}
|
{{ $t('header.myprofile') }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<!-- LANGUAGE -->
|
<!-- LANGUAGE -->
|
||||||
<v-btn
|
<v-btn
|
||||||
variant="tonal"
|
variant="flat"
|
||||||
class="w-full justify-start"
|
class="w-full justify-start"
|
||||||
prepend-icon="mdi-translate-variant"
|
prepend-icon="mdi-translate-variant"
|
||||||
@click="toggleLanguage"
|
@click="toggleLanguage"
|
||||||
@@ -117,7 +117,7 @@ initializeLocale();
|
|||||||
<!-- LOGIN / LOGOUT -->
|
<!-- LOGIN / LOGOUT -->
|
||||||
<template v-if="!authStore.isAuthenticated">
|
<template v-if="!authStore.isAuthenticated">
|
||||||
<v-btn to="/login"
|
<v-btn to="/login"
|
||||||
variant="tonal"
|
variant="flat"
|
||||||
class="w-full justify-start"
|
class="w-full justify-start"
|
||||||
prepend-icon="mdi-login">
|
prepend-icon="mdi-login">
|
||||||
Connexion
|
Connexion
|
||||||
@@ -125,7 +125,7 @@ initializeLocale();
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<v-btn @click="authStore.logout"
|
<v-btn @click="authStore.logout"
|
||||||
variant="tonal"
|
variant="flat"
|
||||||
class="w-full"
|
class="w-full"
|
||||||
prepend-icon="mdi-logout">
|
prepend-icon="mdi-logout">
|
||||||
{{ $t('header.Signout') }}
|
{{ $t('header.Signout') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user