corrige bugs criticos e aplica otimizacoes#2
Merged
Conversation
- envolve localStorage parse em try/catch para nao quebrar com json corrompido - substitui loop infinito do food spawn por lista de celulas disponiveis - reseta lastTickTime ao resumir jogo para evitar glitch de animacao - ajusta tipo food para Position | null quando grid esta cheio
- adiciona aria-labels em botoes icon-only (header menu, modal, lightbox, tabs) - adiciona focus-visible rings em elementos interativos - respeita prefers-reduced-motion globalmente - adiciona role=tab e suporte a teclado no TabItem - valida nome e mensagem obrigatorios no contact form - reseta activeSlide quando muda de projeto no modal - estabiliza listener de teclado do lightbox com ref
- lazy load de todas as rotas com Suspense no Layout - lazy load do SnakeGame apenas quando HomePage renderiza - memoiza ProjectCard para evitar rerender ao filtrar - adiciona loading lazy e dimensoes nas imagens dos cards - extrai setDirection e startGame para estabilizar useCallback
- description, theme-color, Open Graph e Twitter Card no index.html - remove pesos 300 e 700 de Fira Code e 700 de Buenard nao usados
- converte 53 PNGs para JPG com qualidade 82 - redimensiona para max 1400px de largura - reduz public/projects de 13MB para 3MB (economia de 10MB) - atualiza referencias no constants
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan