refactor(admin): simplify ProfilePage with tabs and component cleanup

This commit is contained in:
2026-04-22 20:26:45 -04:00
parent 7d6a13a57b
commit bbb55605c3
2 changed files with 105 additions and 206 deletions
+2
View File
@@ -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' }) => {