- {/* TOPO (Z+) */}
-
alignToFace('TOPO')}
- onMouseEnter={() => setHoveredFace('TOPO')}
- onMouseLeave={() => setHoveredFace(null)}
- className={`absolute h-14 w-14 border border-white/20 flex items-center justify-center font-mono text-[9px] font-bold cursor-pointer transition-all duration-200 viewcube-face-top ${
- hoveredFace === 'TOPO' ? 'bg-primary/40 border-primary text-white shadow-[0_0_10px_rgba(59,130,246,0.5)]' : 'bg-zinc-800/80 text-zinc-300'
- }`}
- >
- TOPO
-
-
- {/* FRENTE (Y-) */}
-
alignToFace('FRENTE')}
- onMouseEnter={() => setHoveredFace('FRENTE')}
- onMouseLeave={() => setHoveredFace(null)}
- className={`absolute h-14 w-14 border border-white/20 flex items-center justify-center font-mono text-[9px] font-bold cursor-pointer transition-all duration-200 viewcube-face-front ${
- hoveredFace === 'FRENTE' ? 'bg-primary/40 border-primary text-white shadow-[0_0_10px_rgba(59,130,246,0.5)]' : 'bg-zinc-700/80 text-zinc-300'
- }`}
- >
- FRENTE
-
-
- {/* DIREITA (X+) */}
-
alignToFace('DIREITA')}
- onMouseEnter={() => setHoveredFace('DIREITA')}
- onMouseLeave={() => setHoveredFace(null)}
- className={`absolute h-14 w-14 border border-white/20 flex items-center justify-center font-mono text-[9px] font-bold cursor-pointer transition-all duration-200 viewcube-face-right ${
- hoveredFace === 'DIREITA' ? 'bg-primary/40 border-primary text-white shadow-[0_0_10px_rgba(59,130,246,0.5)]' : 'bg-zinc-850/80 text-zinc-300'
- }`}
- >
- DIR
-
-
- {/* ESQUERDA (X-) */}
-
alignToFace('ESQUERDA')}
- onMouseEnter={() => setHoveredFace('ESQUERDA')}
- onMouseLeave={() => setHoveredFace(null)}
- className={`absolute h-14 w-14 border border-white/20 flex items-center justify-center font-mono text-[9px] font-bold cursor-pointer transition-all duration-200 viewcube-face-left ${
- hoveredFace === 'ESQUERDA' ? 'bg-primary/40 border-primary text-white shadow-[0_0_10px_rgba(59,130,246,0.5)]' : 'bg-zinc-850/80 text-zinc-300'
- }`}
- >
- ESQ
-
-
- {/* ATRÁS (Y+) */}
-
alignToFace('ATRÁS')}
- onMouseEnter={() => setHoveredFace('ATRÁS')}
- onMouseLeave={() => setHoveredFace(null)}
- className={`absolute h-14 w-14 border border-white/20 flex items-center justify-center font-mono text-[9px] font-bold cursor-pointer transition-all duration-200 viewcube-face-back ${
- hoveredFace === 'ATRÁS' ? 'bg-primary/40 border-primary text-white shadow-[0_0_10px_rgba(59,130,246,0.5)]' : 'bg-zinc-750/80 text-zinc-300'
- }`}
- >
- ATRÁS
-
-
- {/* BASE (Z-) */}
-
alignToFace('BASE')}
- onMouseEnter={() => setHoveredFace('BASE')}
- onMouseLeave={() => setHoveredFace(null)}
- className={`absolute h-14 w-14 border border-white/20 flex items-center justify-center font-mono text-[9px] font-bold cursor-pointer transition-all duration-200 viewcube-face-bottom ${
- hoveredFace === 'BASE' ? 'bg-primary/40 border-primary text-white shadow-[0_0_10px_rgba(59,130,246,0.5)]' : 'bg-zinc-900/80 text-zinc-300'
- }`}
- >
- BASE
-
-