Fix banner backdrop image path for production

- Move god-bless-bitcoin-backdrop.jpg to public/images/ folder
- Update content store to use /images/ path instead of /assets/images/
- Files in public/ are served directly in production builds
- Fixes broken banner image on production server

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dorian
2026-02-02 23:52:49 +00:00
parent 6ade69d477
commit a57bd11bd0
2 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -25,10 +25,10 @@ export const useContentStore = defineStore('content', () => {
// Set featured content immediately - God Bless Bitcoin // Set featured content immediately - God Bless Bitcoin
const godBlessBitcoin = bitcoinFilms.find(f => f.title === 'God Bless Bitcoin') || bitcoinFilms[0] const godBlessBitcoin = bitcoinFilms.find(f => f.title === 'God Bless Bitcoin') || bitcoinFilms[0]
if (godBlessBitcoin) { if (godBlessBitcoin) {
// Override backdrop to use the downloaded image // Override backdrop to use the public folder image
featuredContent.value = { featuredContent.value = {
...godBlessBitcoin, ...godBlessBitcoin,
backdrop: '/assets/images/god-bless-bitcoin-backdrop.jpg' backdrop: '/images/god-bless-bitcoin-backdrop.jpg'
} }
} else { } else {
featuredContent.value = indeeHubFilms[0] featuredContent.value = indeeHubFilms[0]