fix: cloud folder views use same background as cloud main tab
All checks were successful
Build Archipelago ISO (dev) / build-iso (push) Successful in 11m14s

Cloud subpages (Music, Photos, etc.) now show bg-cloud.jpg instead
of falling through to bg-home.jpg.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-04-12 00:27:02 -04:00
parent 52f35d25f1
commit 0e9c1ed18b

View File

@@ -167,6 +167,8 @@ const isGlitching = ref(false)
const backgroundImage = computed(() => {
const mapped = ROUTE_BACKGROUNDS[route.path]
if (mapped) return mapped
// Cloud subpages (folders) use the same background as Cloud
if (route.path.startsWith('/dashboard/cloud/')) return 'bg-cloud.jpg'
if (isDetailRoute(route.path)) return 'bg-intro.jpg'
return 'bg-home.jpg'
})