Files
shakespeare/src
Alex Gleason d22a56d306 Fix public asset paths for Electron compatibility
The issue: With base: './' for Electron, absolute paths like /shakespeare.svg
don't work because they resolve to filesystem root in file:// protocol.

The solution: Import assets so Vite transforms paths at build time.
- import logo from '/shakespeare.svg' (without ?url)
- Vite automatically converts to './shakespeare.svg' with base: './'
- Works in both browser and Electron

This is cleaner than ?url suffix which is unnecessarily Vite-specific.

Fixed components:
- ShakespeareLogo: import shakespeareLogo from '/shakespeare.svg'
- AppShowcaseCard: import badgeSvg from '/badge.svg'

Added PUBLIC_ASSETS_EXPLANATION.md documenting the solution.
2025-10-24 19:54:18 -05:00
..
2025-10-23 14:50:05 -05:00
2025-10-23 14:50:05 -05:00
2025-10-23 14:50:05 -05:00
2025-10-03 23:56:38 -05:00
2025-09-17 19:47:06 -05:00