refactor(admin): simplify ProfilePage with tabs and component cleanup
This commit is contained in:
@@ -13,6 +13,8 @@ const getUserInitials = (name) => {
|
||||
const sizeMap = {
|
||||
sm: { wrapper: 'w-[26px] h-[26px]', text: 'text-[10px]' },
|
||||
md: { wrapper: 'w-8 h-8', text: 'text-[11px]' },
|
||||
lg: { wrapper: 'w-16 h-16', text: 'text-xl' },
|
||||
xl: { wrapper: 'w-24 h-24', text: 'text-2xl' },
|
||||
};
|
||||
|
||||
const UserAvatar = ({ user, size = 'md' }) => {
|
||||
|
||||
Reference in New Issue
Block a user