fix: report
This commit is contained in:
1 parent
07e83132c0
commit
4445ff68d4
46 files changed
+3904
-897
No files matched your search
@@ -6,6 +6,7 @@ import { inject } from 'vue';
|
||||
import {
|
||||
User, Mail, Building, CreditCard, Globe, Save, Palette,
|
||||
} from 'lucide-vue-next';
|
||||
import { getUserAvatarLabel } from '@/shared/utils/user-avatar';
|
||||
import { USER_PROFILE_KEY } from '../composables/user-profile.context';
|
||||
|
||||
const userProfile = inject(USER_PROFILE_KEY)!;
|
||||
@@ -21,7 +22,7 @@ const userProfile = inject(USER_PROFILE_KEY)!;
|
||||
<div class="flex flex-col gap-6 lg:flex-row lg:items-start lg:justify-between">
|
||||
<div class="flex flex-1 flex-col gap-6 sm:flex-row sm:items-center sm:justify-start">
|
||||
<div class="flex h-24 w-24 shrink-0 items-center justify-center rounded-full bg-brand-100 text-4xl font-bold text-brand-600" :class="userProfile.isMobile ? 'h-14 w-14 text-2xl' : ''">
|
||||
{{ (userProfile.profileUser.real_name || userProfile.profileUser.username || 'U').charAt(0).toUpperCase() }}
|
||||
{{ getUserAvatarLabel(userProfile.profileUser) }}
|
||||
</div>
|
||||
<div class="grid flex-1 text-left" :class="userProfile.isMobile ? 'grid-cols-2 gap-x-4 gap-y-1' : 'grid-cols-1 gap-x-12 gap-y-3 sm:grid-cols-2'">
|
||||
<div :class="userProfile.isMobile ? '' : ''">
|
||||
|
||||
Reference in new issue
Block a user