+ {/* Tab buttons */}
+
+ {modes.map((mode) => {
+ const isActive = currentMode === mode.id
+ return (
+
- )
- })}
+ ? 'gray.400'
+ : 'gray.600',
+ cursor: 'pointer',
+ transition: 'all 0.2s',
+ fontSize: '0.95rem',
+ fontWeight: isActive ? '700' : '500',
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
+ gap: '0.5rem',
+ borderTopLeftRadius: '8px',
+ borderTopRightRadius: '8px',
+ _hover: {
+ backgroundColor: isActive
+ ? isDark
+ ? 'gray.700'
+ : 'white'
+ : isDark
+ ? 'gray.700'
+ : 'gray.100',
+ borderBottomColor: isActive ? 'blue.500' : isDark ? 'gray.500' : 'gray.400',
+ color: isActive
+ ? isDark
+ ? 'blue.300'
+ : 'blue.600'
+ : isDark
+ ? 'gray.300'
+ : 'gray.700',
+ },
+ })}
+ >
+ {mode.emoji}
+ {mode.label}
+
+ )
+ })}
+
+
+ {/* Description of active mode */}
+ {currentModeData && (
+
+ {currentModeData.description}
+
+ )}
)
}