Move landing images to src/assets

Rename public/landing-lq.jpg and public/landing_hq.png to src/assets and update Home.vue to use the new asset paths for loading the high-quality hero image (img.src and heroImageSrc). This ensures the images are managed by the app's asset pipeline.
This commit is contained in:
Starystars67
2026-04-02 00:07:19 +01:00
parent c827c81d28
commit c2e460b408
3 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 157 KiB

After

Width:  |  Height:  |  Size: 157 KiB

View File

Before

Width:  |  Height:  |  Size: 16 MiB

After

Width:  |  Height:  |  Size: 16 MiB

View File

@@ -44,9 +44,9 @@ onMounted(async () => {
// Load high-quality hero image
const img = new Image()
img.src = '/landing_hq.png'
img.src = '/src/assets/landing_hq.png'
img.onload = () => {
heroImageSrc.value = '/landing_hq.png'
heroImageSrc.value = '/src/assets/landing_hq.png'
heroImageLoaded.value = true
}
})