Commit Graph

12 Commits

Author SHA1 Message Date
itsaygea ac3c07cbe5 Fix clickable suggestions using addEventListener
- Use data-operator-id attribute instead of inline onclick
- Add event listeners after creating DOM elements
- More reliable than global function approach
2026-01-24 09:08:15 -07:00
itsaygea 03b88dbddc Fix: Make onclick handlers work by using window.*
- addToTeamFromSuggestion - now global, clicking suggestions works
- clearTeam - now global
- showTeamBuilds - now global
- closeBuildsModal - now global

Inline onclick handlers need global scope functions
2026-01-24 09:04:37 -07:00
itsaygea 393cddc903 Fix T-Creds image path (lowercase filename) 2026-01-24 08:55:28 -07:00
itsaygea 9152adfc46 Make team suggestions clickable
- Added addToTeamFromSuggestion function
- Clicking a suggestion now adds it to your team (up to 4 operators)
- Visual feedback with cursor pointer and + indicator
2026-01-24 08:53:29 -07:00
itsaygea e80d49560b Fix team builder width on mobile
- Operator select: 3 columns instead of 4
- Reduced padding on team builder container
- Smaller team slots (70px instead of 90px)
2026-01-24 08:13:53 -07:00
itsaygea 868452eda3 Wider operator cards on mobile (2 columns instead of 3)
- Gives more room for long character names
- Cards are now wider with proper spacing
2026-01-24 08:01:32 -07:00
itsaygea c291440a97 Fix operator cards on mobile for long names
- Smaller font size (11px)
- Word wrap for long names
- Reduced padding
- Smaller image height on cards
2026-01-24 07:50:22 -07:00
itsaygea 59518f1e91 Remove unused partials folder 2026-01-24 07:46:04 -07:00
itsaygea e2d79ba453 Split files into CSS/JS/HTML + add mobile menu
- Extracted CSS to css/style.css (978 lines)
- Extracted JS to js/main.js (708 lines)
- index.html now only 608 lines (was 2289)
- Added mobile hamburger menu for navigation
- Mobile menu toggles with animated icon
- Menu closes when clicking links or outside
2026-01-24 07:45:59 -07:00
itsaygea e0580d85a9 Fix mobile layout - character images now visible at top 2026-01-24 07:36:56 -07:00
itsaygea 2ec1640214 Rename to index.html and clean up extra files 2026-01-24 07:07:29 -07:00
itsaygea 6f844b6ffd first commit 2026-01-24 06:59:50 -07:00