diff --git a/server/public/connect.html b/server/public/connect.html index c95ab12..46c14c2 100644 --- a/server/public/connect.html +++ b/server/public/connect.html @@ -76,7 +76,7 @@ Home
-
Biz Connect
+
Biz Connect
diff --git a/server/public/dashboard.html b/server/public/dashboard.html index 4957ae5..ace138f 100644 --- a/server/public/dashboard.html +++ b/server/public/dashboard.html @@ -92,7 +92,7 @@
-
Biz Connect · Dashboard
+
Biz Connect · Dashboard
diff --git a/server/public/home.html b/server/public/home.html index 7ab0b56..2c349e6 100644 --- a/server/public/home.html +++ b/server/public/home.html @@ -682,8 +682,11 @@ /* ---- Loading / toast ---- */ .loading{position:fixed;inset:0;display:grid;place-items:center;background:#1F3B73;z-index:9000;color:rgba(255,255,255,.82);font-size:.9rem;} - .loading .ld-inner{display:flex;flex-direction:column;align-items:center;gap:1rem;} + .loading .ld-inner{display:flex;flex-direction:column;align-items:center;gap:.85rem;} .loading .ld-inner img{width:72px;height:72px;} + .loading .ld-wm{font-size:1.35rem;font-weight:800;color:#fff;letter-spacing:.3px;margin-top:.15rem;} + .loading .ld-wm b{color:var(--brand);font-weight:800;} + .loading .ld-sub{color:rgba(255,255,255,.66);font-size:.82rem;} /* Chat thread loading (light pane) and call-connecting (dark stage) — branded, centered. */ .thread-loading{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;color:var(--muted);font-size:.86rem;} .call-connecting{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:#16294F;color:rgba(255,255,255,.82);font-size:.95rem;} @@ -757,16 +760,16 @@ - -
Loading…
+
Biz Connect
Loading…
- +
Biz Connect
@@ -2850,7 +2853,7 @@ async function renderLogin(){ `:''}
- Email + Email or phone Password${pwField('li_pw','password')} @@ -2905,15 +2908,18 @@ async function doRegister(){ setupPush(); // register the notification service worker + subscribe to Web Push (if granted) { const cl=document.getElementById('chatlist'); if(cl) enablePullRefresh(cl, loadSidebar); } // pull-to-refresh the chat list setTimeout(maybeNotifPrompt, 1500); // gentle "enable notifications" prompt if still undecided (key for iOS PWA) - document.getElementById('loading').style.display='none'; // Fast-path: when opened from a notification, show the chat immediately (only needs the // thread fetch) and load the sidebar in the background — don't make the reload wait on it. let oid=null, okind='dm'; try{ const q=new URLSearchParams(location.search); oid=q.get('openId'); okind=q.get('openKind')||'dm'; if(oid) history.replaceState(null,'','/home'); }catch(_){} if(oid){ selectChat(okind, oid); // open the chat right away (only waits on the thread fetch) + document.getElementById('loading').style.display='none'; // the chat pane shows its own thread loader loadSidebar().then(()=>{ try{ const it=rowFor(okind,oid); const nm=document.querySelector('#chatPanel .convo-head .nm'); if(it&&nm) nm.textContent=it.name; }catch(_){} }); - } else { await loadSidebar(); renderChatPanel(); } + } else { + await loadSidebar(); renderChatPanel(); + document.getElementById('loading').style.display='none'; // keep the branded splash up until the list is ready (no blank/stuck gap) + } })(); diff --git a/server/public/index.html b/server/public/index.html index e2abd0a..194ab8d 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -55,7 +55,7 @@
- +
Biz Connect
diff --git a/server/public/logo.png b/server/public/logo.png deleted file mode 100644 index aba2c5c..0000000 Binary files a/server/public/logo.png and /dev/null differ diff --git a/server/public/share.html b/server/public/share.html index 5ea765d..dfc9b57 100644 --- a/server/public/share.html +++ b/server/public/share.html @@ -67,7 +67,7 @@ Home
- +
Biz Connect
Secure, instant remote support — no downloads, you stay in control.