welcome.component.html raw

   1  <div class="sam-text-header sam-mb-h">
   2    <span>Smesh Signer Setup - Sync Preference</span>
   3  </div>
   4  
   5  <span class="sam-text-muted sam-text-md sam-text-align-center2">
   6    Smesh Signer always encrypts sensitive data like private keys and site permissions
   7    independent of the chosen sync mode.
   8  </span>
   9  
  10  <span class="sam-mt sam-text-lg">Sync : Mozilla Firefox</span>
  11  
  12  <span class="sam-text-muted sam-text-md sam-text-align-center2">
  13    Your encrypted data is synced between browser instances. You
  14    need to be signed in with your account.
  15  </span>
  16  
  17  <button
  18    type="button"
  19    class="sam-mt btn btn-primary"
  20    (click)="onClickSync(true)"
  21  >
  22    <span> Sync ON</span>
  23  </button>
  24  
  25  <span class="sam-mt sam-text-lg">Offline</span>
  26  
  27  <span class="sam-text-muted sam-text-md">
  28    Your encrypted data is never uploaded to any servers. It remains in your local
  29    browser instance.
  30  </span>
  31  
  32  <button
  33    type="button"
  34    class="sam-mt sam-mb-2 btn btn-secondary"
  35    (click)="onClickSync(false)"
  36  >
  37    <span> Sync OFF</span>
  38  </button>
  39  
  40  <div class="storage-info">
  41    <details>
  42      <summary>Important for Cashu wallet users</summary>
  43      <p>
  44        Browser sync storage is limited to ~100KB shared across all data
  45        (identities, permissions, relays, and Cashu tokens).
  46      </p>
  47      <p>
  48        If you plan to use the Cashu ecash wallet with significant balances,
  49        choose <strong>"Sync OFF"</strong> which provides ~5MB of local storage
  50        (enough for ~18,000+ tokens vs ~300-400 with sync).
  51      </p>
  52      <p>
  53        <strong>Note:</strong> Cashu tokens are bearer assets. If you lose your
  54        vault backup, you lose your tokens permanently. Make sure to configure
  55        regular backups.
  56      </p>
  57    </details>
  58  </div>
  59  
  60  <div class="sam-flex-grow"></div>
  61  
  62  <span class="sam-text-muted sam-text-md sam-mb">
  63    Your preference can later be changed at any time.
  64  </span>
  65