Commit graph

3 commits

Author SHA1 Message Date
Lucas
7a4fa4b312 Fix dark mode flash by inlining critical script
- Move dark mode detection to inline script in HTML head
- Prevents white flash in Firefox by applying theme before render
- Clean up redundant code in dark-mode.js
- Apply fix to all HTML pages for consistent behavior

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 04:09:18 +02:00
Lucas
ba5c3a9650 WIP: Dark mode implementation in progress
- Modified multiple HTML files for dark mode support
- Updated styles.css with dark mode styling
- Added dark-mode.js for toggle functionality
- Work still in progress, saving current state

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 04:02:10 +02:00
Lucas
8a7f9a62e5 Add mining resource system with background updates
Implements automatic resource production with database persistence:
- Mining table with timestamp, value, and rate tracking
- Background ticker updates values every minute
- API endpoint calculates real-time values from database snapshots
- Frontend displays live-updating current value and database history
- Rate-based accumulation system for efficient resource management

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-14 03:29:29 +02:00