deckhearth/components
Randall Stillwell 9a5561c2c8 🔄 Restructured User Profile & Theme Toggle
 Profile Dropdown Implementation:
- Created comprehensive UserProfileDropdown component
- Moved user profile to bottom of sidebar (better UX)
- Added dropdown menu with Profile, Settings, Admin Panel, Logout
- Profile button shows user avatar, email, and role
- Smooth dropdown animation with backdrop click-to-close

🎨 Fire-Themed Profile Menu:
- Logout option uses ember red color for distinction
- Profile icons match the overall design system
- Consistent hover states and accessibility features
- Proper ARIA attributes for dropdown functionality

🌙 Separated Theme Toggle:
- Moved theme toggle out of profile section
- Now appears as standalone navigation item above profile
- Shows 'Dark Mode' / 'Light Mode' text labels
- Maintains all accessibility features and fire theming

 Enhanced Accessibility:
- Proper dropdown ARIA attributes (expanded, haspopup)
- Keyboard navigation support throughout
- Screen reader friendly with proper labels
- Focus management for dropdown interactions

🎯 Admin Panel Integration:
- Admin Panel option only shows for admin users
- Conditional rendering based on user role
- Proper navigation structure for different user types
- Consistent with existing admin badge logic

�� Mobile Optimizations:
- Dropdown works seamlessly on mobile devices
- Proper touch targets and spacing
- Auto-closes mobile menu when navigating
- Backdrop prevents accidental interactions

The sidebar now has a much cleaner hierarchy with the profile at the bottom and easy access to all user functions! 🔥👤
2025-07-26 09:51:40 -05:00
..
ActivityLog.js 🎉 COMPLETED: Full Collaborative Collections System 2025-07-25 08:34:28 -05:00
AdminProtected.js Fixed SSR and null user issues for production deployment 2025-07-24 17:04:06 -05:00
AuthLayout.js 🎨 Restructured Layout System 2025-07-25 11:28:04 -05:00
BulkInviteModal.js 🔄 Simplified Permission Model & UX Improvements 2025-07-25 10:29:45 -05:00
BulkSelectionToolbar.js 🔥 Transform to Deck Hearth Fire-Inspired Design 2025-07-26 08:30:07 -05:00
CardItem.js 🔥 Primary Red Add Button + Static Rarity Shadows 2025-07-26 09:17:22 -05:00
CollaborationManager.js 🔄 Simplified Permission Model & UX Improvements 2025-07-25 10:29:45 -05:00
CollaboratorFacepile.js 🔧 Fixed Cards Page API Response Format 2025-07-25 23:16:35 -05:00
CollectionSelectionModal.js 🎯 Implemented Collection Selection Modal System 2025-07-26 00:22:35 -05:00
Layout.js 🔄 Restructured User Profile & Theme Toggle 2025-07-26 09:51:40 -05:00
PermissionIndicator.js 🔄 Simplified Permission Model & UX Improvements 2025-07-25 10:29:45 -05:00
ShareModal.js 🔥 Transform to Deck Hearth Fire-Inspired Design 2025-07-26 08:30:07 -05:00
UploadImageModal.js 🚀 Implemented Complete Collection Functionality 2025-07-25 22:28:52 -05:00