Skip to content

Conversation

@Dheemanth07
Copy link

Summary
This PR addresses issue #4 by refactoring the PokemonDetail component. I have extracted the embedded/parent styles into a dedicated CSS file to improve code readability and maintainability. I also added JSDoc comments to explain the component's logic.

Changes Made

  • Created src/screens/selection/PokemonDetail.css: Moved all Gameboy-related styles (modal, bezel, screen, buttons) into this new file.
  • Updated src/screens/selection/PokemonDetail.js:
    • Added import for the new CSS file.
    • Added JSDoc comments for the component and helper functions.
    • Removed inline comments that were requesting documentation.
  • Cleaned src/screens/selection/SelectionScreen.css: Removed the duplicate Gameboy/Modal styles to prevent conflicts.

Closes #4

zowi added 30 commits January 17, 2026 13:21
- fixed grid dimensions and cards size
…er Formulary ->Reutilizable labels and buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comment + Clean PokemonDetail.js code

1 participant