Member pages: house heading treatment; clearer no-wallet message
Two things Marty raised. 1. Member pages did not look like the rest of the site. The byline is now the gold uppercase eyebrow used above every other h1, the heading is larger and tighter with the last beat in gold (house style is "Team <gold>Grants</gold>"), and the subhead steps up from 18px to a fluid 19-22px in a brighter colour. The headline is model-written so the gold split cannot be hand-picked — goldTail() takes the final two words, or one on a short line. Everything is escaped before the span is added; the only markup is ours. 2. The "no wallet found" error listed five wallet names and described a DApp tab without saying the thing that matters: you are in the wrong browser, and here is the address to type. It now says exactly that, names the page address, and warns that Trust on iPhone has no browser at all any more — previously those members were reading instructions they could not follow. Diagnosed from a real case (#34): the company dApp at thermcircle.com supports WalletConnect, so it connects from any browser; this site is injected-provider only, so it needs the wallet's own browser. That is the whole difference, and WalletConnect is the actual fix — this is the stopgap. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -325,7 +325,7 @@
|
||||
const err=document.getElementById('msgAuthErr');
|
||||
try{
|
||||
const eth=await window.RMCWallet.pick();
|
||||
if(!eth){err.textContent='No wallet found in this browser. On a phone, open your wallet app (SafePal, Phantom, MetaMask, Trust, Coinbase…), go to its Browser or DApp tab, and type this page\'s address there — your wallet connects automatically.';return;}
|
||||
if(!eth){err.textContent='This browser has no wallet in it. Open this page INSIDE your wallet app instead: open Trust, MetaMask, SafePal or Coinbase, find its Browser (or DApps) tab, and type rmcircle.team/my into that address bar. On iPhone, Trust no longer has a browser — use MetaMask or SafePal, or ask your sponsor to link you instead.';return;}
|
||||
const accs=await eth.request({method:'eth_requestAccounts'});const account=accs[0];
|
||||
// Match the wallet's active chain to the SIWE message's Chain ID (137),
|
||||
// or the wallet rejects the signature ("chain ID does not match").
|
||||
|
||||
Reference in New Issue
Block a user