rc 1.0
This commit is contained in:
@@ -46,14 +46,7 @@ export default function UnlockBar() {
|
||||
}
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="unlock-bar">
|
||||
🔒 Wholesale prices locked — <strong>Loading...</strong>
|
||||
<br />
|
||||
<small>3 verified sign-ups unlock wholesale prices forever.</small>
|
||||
<a href="#unlock" onClick={handleUnlockClick}>Unlock now</a>
|
||||
</div>
|
||||
)
|
||||
return null
|
||||
}
|
||||
|
||||
const status = referralStatus || {
|
||||
@@ -67,7 +60,9 @@ export default function UnlockBar() {
|
||||
if (status.isUnlocked) {
|
||||
return (
|
||||
<div className="unlock-bar" style={{ background: 'var(--accent)', color: '#000' }}>
|
||||
✅ Wholesale prices unlocked — <strong>You have access to wholesale pricing!</strong>
|
||||
<div>
|
||||
✅ Wholesale prices unlocked — <strong>You have access to wholesale pricing!</strong>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -75,10 +70,12 @@ export default function UnlockBar() {
|
||||
return (
|
||||
<>
|
||||
<div className="unlock-bar">
|
||||
🔒 Wholesale prices locked — <strong>{status.referralCount} / {status.referralsNeeded} referrals completed</strong> · {status.referralsRemaining} to go
|
||||
<br />
|
||||
<small>{status.referralsNeeded} verified sign-ups unlock wholesale prices forever.</small>
|
||||
<a href="#unlock" onClick={handleUnlockClick}>Unlock now</a>
|
||||
<div>
|
||||
🔒 Wholesale prices locked — <strong>{status.referralCount} / {status.referralsNeeded} referrals completed</strong> · {status.referralsRemaining} to go
|
||||
<br />
|
||||
<small>{status.referralsNeeded} verified sign-ups unlock wholesale prices forever.</small>
|
||||
<a href="#unlock" onClick={handleUnlockClick}>Unlock now</a>
|
||||
</div>
|
||||
</div>
|
||||
<UnlockModal isOpen={showModal} onClose={() => setShowModal(false)} />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user