Files
shakespeare/src/components
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-04 15:18:03 -05:00
2025-10-20 13:42:56 -05:00
2025-10-23 14:50:05 -05:00
2025-10-12 23:31:18 -05:00
2025-10-07 21:27:15 -05:00
2025-10-03 23:56:38 -05:00
2025-10-23 14:50:05 -05:00
2025-10-22 18:55:57 -05:00
2025-10-21 19:41:50 -05:00
2025-10-23 14:50:05 -05:00
2025-10-11 19:01:36 -05:00
2025-09-21 23:40:08 -05:00
2025-10-23 14:50:05 -05:00
2025-10-16 15:51:14 -05:00
2025-10-03 17:41:32 +07:00
2025-10-07 21:31:50 -05:00
2025-10-08 13:36:43 -05:00
2025-10-04 15:54:26 +07:00
2025-09-19 13:40:11 -05:00
2025-10-04 15:18:03 -05:00
2025-09-08 15:25:31 -05:00
2025-09-08 15:25:31 -05:00
2025-09-20 05:47:17 +00:00
2025-09-20 06:00:20 +00:00