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:
@@ -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'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user