Split desktop and mobile layouts with shared page data so APIs fetch once per context.
Add layout shells, desktop views, module-level page caches, and UI fixes for auth, home, wallet, transactions, address, and related pages. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -97,6 +97,16 @@
|
||||
window.__APP_CONFIG__ = config
|
||||
window.__CONFIG_READY__ = true
|
||||
|
||||
// Early splash background — full viewport before Vue mounts
|
||||
const projectName = config?.user?.name
|
||||
if (projectName === 'boursecu') {
|
||||
const splashBg = '#133050'
|
||||
document.documentElement.style.backgroundColor = splashBg
|
||||
document.body.style.backgroundColor = splashBg
|
||||
const metaTheme = document.querySelector('meta[name="theme-color"]')
|
||||
if (metaTheme) metaTheme.setAttribute('content', splashBg)
|
||||
}
|
||||
|
||||
// Resolve the promise
|
||||
if (configResolve) {
|
||||
configResolve(config)
|
||||
|
||||
Reference in New Issue
Block a user