fix: cloud folder views use same background as cloud main tab

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 4cab118cb2
commit 485c4d5d98

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'
})