forked from code/member-dashboard
Guest copy: $5 -> $2 of AI credits/usage
This commit is contained in:
1 parent
e59ba4d05a
commit
032068bfb4
1 file changed
+4
-4
+4
-4
@@ -847,7 +847,7 @@ PAGE_HTML = """<!DOCTYPE html>
|
||||
|
||||
<div class="card" id="guests-card" style="display:none">
|
||||
<h2>Guest access</h2>
|
||||
<p class="guest-hint" id="guest-hint">Give a friend $5 of AI credits for the co-op's chat and API — no membership needed. They get 60 days to try it. One guest per member every 30 days.</p>
|
||||
<p class="guest-hint" id="guest-hint">Give a friend $2 of AI credits for the co-op's chat and API — no membership needed. They get 60 days to try it. One guest per member every 30 days.</p>
|
||||
<h3 class="guest-invite-title">Invite a guest</h3>
|
||||
<form class="new-key" id="guest-invite-form" onsubmit="sendGuestInvite(event)">
|
||||
<label class="sr-only" for="guest-email">Their email</label>
|
||||
@@ -997,9 +997,9 @@ function renderGuests(d) {
|
||||
const auto = !!d.auto_approve;
|
||||
$('guest-btn').textContent = auto ? 'Send invite' : 'Send request';
|
||||
if (auto) {
|
||||
$('guest-hint').textContent = "Give a friend $5 of AI credits for the co-op's chat and API — no membership needed. They get 60 days to try it. One guest per member every 30 days.";
|
||||
$('guest-hint').textContent = "Give a friend $2 of AI credits for the co-op's chat and API — no membership needed. They get 60 days to try it. One guest per member every 30 days.";
|
||||
} else {
|
||||
$('guest-hint').textContent = "Give a friend $5 of AI credits for the co-op's chat and API — no membership needed. They get 60 days to try it. One guest per member every 30 days. The co-op approves guest requests before the account is created.";
|
||||
$('guest-hint').textContent = "Give a friend $2 of AI credits for the co-op's chat and API — no membership needed. They get 60 days to try it. One guest per member every 30 days. The co-op approves guest requests before the account is created.";
|
||||
}
|
||||
if (d.eligible) {
|
||||
$('guest-allowance').textContent = 'You can send one guest invitation now.';
|
||||
@@ -1094,7 +1094,7 @@ async function load() {
|
||||
b.href = '@@BECOME_MEMBER_URL@@';
|
||||
b.textContent = 'Become a member';
|
||||
$('buy-credits').textContent = 'Your guest credit never expires · members get a monthly allowance';
|
||||
$('meta').textContent = 'Guest access from a member — $5 of AI usage across chat and the API.';
|
||||
$('meta').textContent = 'Guest access from a member — $2 of AI usage across chat and the API.';
|
||||
$('cancel-row').style.display = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user