diff --git a/apps/web/src/components/nav/GameModeIndicator.tsx b/apps/web/src/components/nav/GameModeIndicator.tsx new file mode 100644 index 00000000..934dacb6 --- /dev/null +++ b/apps/web/src/components/nav/GameModeIndicator.tsx @@ -0,0 +1,46 @@ +import React from 'react' + +type GameMode = 'none' | 'single' | 'battle' | 'tournament' + +interface GameModeIndicatorProps { + gameMode: GameMode + shouldEmphasize: boolean + showFullscreenSelection: boolean +} + +const gameModeConfig = { + none: { label: 'Select Players', emoji: '👥', color: '#6b7280' }, + single: { label: 'Solo', emoji: '🎯', color: '#3b82f6' }, + battle: { label: 'Battle', emoji: '⚔️', color: '#8b5cf6' }, + tournament: { label: 'Tournament', emoji: '🏆', color: '#f59e0b' } +} + +export function GameModeIndicator({ gameMode, shouldEmphasize, showFullscreenSelection }: GameModeIndicatorProps) { + const modeInfo = gameModeConfig[gameMode] + + return ( +