Fixing - SideMenu
This commit is contained in:
@@ -58,9 +58,10 @@ initializeLocale();
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<v-divider class="my-4" style="border-width: 1px; border-color: black;"></v-divider>
|
||||||
<!-- USER SECTION -->
|
<!-- USER SECTION -->
|
||||||
<div class="px-4 mb-4">
|
<div class="px-4 mb-4">
|
||||||
<div class="flex items-center justify-center p-2">
|
<div class="flex items-center justify-center p-2 mb-4">
|
||||||
<img
|
<img
|
||||||
:src="userProfileStore.portraitUrl"
|
:src="userProfileStore.portraitUrl"
|
||||||
alt="Profile Image"
|
alt="Profile Image"
|
||||||
@@ -69,7 +70,7 @@ initializeLocale();
|
|||||||
height="32"
|
height="32"
|
||||||
style="max-height: 32px;"
|
style="max-height: 32px;"
|
||||||
>
|
>
|
||||||
<span class="ml-2 text-lg font-sans capitalize">
|
<span class="ml-2 text-sm font-sans capitalize">
|
||||||
{{ userProfileStore.alias }}
|
{{ userProfileStore.alias }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -81,14 +82,15 @@ initializeLocale();
|
|||||||
<!-- YOUR PAGE -->
|
<!-- YOUR PAGE -->
|
||||||
<router-link v-if="creatorProfileStore.hasCreator"
|
<router-link v-if="creatorProfileStore.hasCreator"
|
||||||
:to="`/@${creatorProfileStore.creator.name}`">
|
:to="`/@${creatorProfileStore.creator.name}`">
|
||||||
<v-btn class="w-full"
|
<v-btn class="w-full justify-start"
|
||||||
prepend-icon="mdi-home-account"
|
prepend-icon="mdi-home-account"
|
||||||
variant="tonal">
|
variant="tonal">
|
||||||
{{ creatorProfileStore.creator.name }}
|
{{ creatorProfileStore.creator.name }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<router-link v-else-if="authStore.isAuthenticated"
|
<router-link v-else-if="authStore.isAuthenticated"
|
||||||
class="nav-button"
|
class="w-full justify-start"
|
||||||
to="/profile?target=CreatorPage">
|
to="/profile?target=CreatorPage">
|
||||||
<v-btn class="w-100" variant="plain">Activer votre page</v-btn>
|
<v-btn class="w-100" variant="plain">Activer votre page</v-btn>
|
||||||
</router-link>
|
</router-link>
|
||||||
@@ -96,7 +98,7 @@ initializeLocale();
|
|||||||
|
|
||||||
<!-- PROFILE -->
|
<!-- PROFILE -->
|
||||||
<v-btn to="/profile"
|
<v-btn to="/profile"
|
||||||
class="w-full"
|
class="w-full justify-start"
|
||||||
prepend-icon="mdi-account"
|
prepend-icon="mdi-account"
|
||||||
variant="tonal">
|
variant="tonal">
|
||||||
{{ $t('header.myprofile') }}
|
{{ $t('header.myprofile') }}
|
||||||
@@ -105,7 +107,7 @@ initializeLocale();
|
|||||||
<!-- LANGUAGE -->
|
<!-- LANGUAGE -->
|
||||||
<v-btn
|
<v-btn
|
||||||
variant="tonal"
|
variant="tonal"
|
||||||
class="w-full"
|
class="w-full justify-start"
|
||||||
prepend-icon="mdi-translate-variant"
|
prepend-icon="mdi-translate-variant"
|
||||||
@click="toggleLanguage"
|
@click="toggleLanguage"
|
||||||
>
|
>
|
||||||
@@ -116,7 +118,7 @@ initializeLocale();
|
|||||||
<template v-if="!authStore.isAuthenticated">
|
<template v-if="!authStore.isAuthenticated">
|
||||||
<v-btn to="/login"
|
<v-btn to="/login"
|
||||||
variant="tonal"
|
variant="tonal"
|
||||||
class="w-full"
|
class="w-full justify-start"
|
||||||
prepend-icon="mdi-login">
|
prepend-icon="mdi-login">
|
||||||
Connexion
|
Connexion
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|||||||
Reference in New Issue
Block a user