Buy packages pane inside the member back office
Members buy directly from the dashboard: live-priced tiles in a dedicated menu section, wallet flow with buy-time sponsor resolution, dashboard refresh on settle. No more round-trip to the homepage. Assets v=20260905e. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+15
-5
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Member area | InstantAdPay</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap">
|
||||
<link rel="stylesheet" href="/assets/site.css?v=20260905d">
|
||||
<link rel="stylesheet" href="/assets/site.css?v=20260905e">
|
||||
</head>
|
||||
<body class="bo-body">
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
<nav class="bo-menu" aria-label="Member menu">
|
||||
<button data-pane="overview" class="on" type="button"><svg viewBox="0 0 24 24"><rect x="3" y="3" width="8" height="8" rx="2"/><rect x="13" y="3" width="8" height="8" rx="2"/><rect x="3" y="13" width="8" height="8" rx="2"/><rect x="13" y="13" width="8" height="8" rx="2"/></svg>Overview</button>
|
||||
<button data-pane="line" type="button"><svg viewBox="0 0 24 24"><circle cx="12" cy="7" r="3.2"/><circle cx="5" cy="17" r="2.6"/><circle cx="19" cy="17" r="2.6"/><path d="M12 10v3M12 13l-5 2M12 13l5 2"/></svg>My line</button>
|
||||
<button data-pane="buy" type="button"><svg viewBox="0 0 24 24"><circle cx="9" cy="20" r="1.6"/><circle cx="17" cy="20" r="1.6"/><path d="M3 4h2l2.4 11.2A2 2 0 0 0 9.4 17h8.2a2 2 0 0 0 2-1.6L21 8H6"/></svg>Buy packages</button>
|
||||
<button data-pane="campaigns" type="button"><svg viewBox="0 0 24 24"><path d="M3 11l14-5v12L3 13v-2z"/><path d="M17 8a4 4 0 0 1 0 8M7 13v5a2 2 0 0 0 4 0v-3"/></svg>Campaigns</button>
|
||||
<button data-pane="earn" type="button"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="8.5"/><path d="M12 7.5v9M9 10c0-1.1 1.3-1.8 3-1.8s3 .7 3 1.8-1.3 1.6-3 1.8-3 .7-3 1.8 1.3 1.8 3 1.8 3-.7 3-1.8"/></svg>Earn credits</button>
|
||||
<button data-pane="earnings" type="button"><svg viewBox="0 0 24 24"><path d="M4 17l5-5 4 3 7-8"/><path d="M14 7h6v6"/></svg>Earnings</button>
|
||||
@@ -128,6 +129,15 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pane" id="pane-buy" hidden>
|
||||
<div class="card">
|
||||
<h3>Buy an ad package</h3>
|
||||
<p class="muted small">Priced in dollars, settled from your wallet at the live rate. Credits mint
|
||||
to this account instantly, and every payout in your sponsor line lands the moment you confirm.</p>
|
||||
<div class="tiles" id="boTiles"><div class="tile"><span class="muted small">Loading live prices…</span></div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pane" id="pane-campaigns" hidden>
|
||||
<div class="card" id="campGate" hidden>
|
||||
<h3>Campaigns unlock with your first package</h3>
|
||||
@@ -230,9 +240,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/assets/common.js?v=20260905d"></script>
|
||||
<script src="/assets/wallet.js?v=20260905d"></script>
|
||||
<script src="/assets/my.js?v=20260905d"></script>
|
||||
<script src="/assets/chat.js?v=20260905d"></script>
|
||||
<script src="/assets/common.js?v=20260905e"></script>
|
||||
<script src="/assets/wallet.js?v=20260905e"></script>
|
||||
<script src="/assets/my.js?v=20260905e"></script>
|
||||
<script src="/assets/chat.js?v=20260905e"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user