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:
parent
52f35d25f1
commit
0e9c1ed18b
@ -167,6 +167,8 @@ const isGlitching = ref(false)
|
|||||||
const backgroundImage = computed(() => {
|
const backgroundImage = computed(() => {
|
||||||
const mapped = ROUTE_BACKGROUNDS[route.path]
|
const mapped = ROUTE_BACKGROUNDS[route.path]
|
||||||
if (mapped) return mapped
|
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'
|
if (isDetailRoute(route.path)) return 'bg-intro.jpg'
|
||||||
return 'bg-home.jpg'
|
return 'bg-home.jpg'
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user