update: increase pro plan limit
This commit is contained in:
parent
8be0632ea8
commit
859a55d66b
|
|
@ -11,11 +11,11 @@ const PLANS: Record<Plan, PlanLimits> = {
|
||||||
minIntervalS: 30,
|
minIntervalS: 30,
|
||||||
},
|
},
|
||||||
pro: {
|
pro: {
|
||||||
maxMonitors: 128,
|
maxMonitors: 200,
|
||||||
minIntervalS: 2,
|
minIntervalS: 2,
|
||||||
},
|
},
|
||||||
lifetime: {
|
lifetime: {
|
||||||
maxMonitors: 128,
|
maxMonitors: 200,
|
||||||
minIntervalS: 2,
|
minIntervalS: 2,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
class="cursor-pointer text-left bg-surface border-2 border-border-subtle hover:border-blue-500/40 rounded-xl p-5 transition-colors">
|
class="cursor-pointer text-left bg-surface border-2 border-border-subtle hover:border-blue-500/40 rounded-xl p-5 transition-colors">
|
||||||
<div class="text-xs text-gray-500 uppercase tracking-wider font-mono mb-1">Pro</div>
|
<div class="text-xs text-gray-500 uppercase tracking-wider font-mono mb-1">Pro</div>
|
||||||
<div class="text-2xl font-bold text-gray-100">$12<span class="text-sm font-normal text-gray-500">/mo</span></div>
|
<div class="text-2xl font-bold text-gray-100">$12<span class="text-sm font-normal text-gray-500">/mo</span></div>
|
||||||
<div class="text-xs text-gray-500 mt-2">128 monitors, 2s intervals</div>
|
<div class="text-xs text-gray-500 mt-2">200 monitors, 2s intervals</div>
|
||||||
</label>
|
</label>
|
||||||
<label for="plan-lifetime"
|
<label for="plan-lifetime"
|
||||||
class="cursor-pointer text-left bg-surface border-2 border-border-subtle hover:border-yellow-500/40 rounded-xl p-5 transition-colors relative">
|
class="cursor-pointer text-left bg-surface border-2 border-border-subtle hover:border-yellow-500/40 rounded-xl p-5 transition-colors relative">
|
||||||
|
|
|
||||||
|
|
@ -527,7 +527,7 @@
|
||||||
<ul class="space-y-3 text-sm text-gray-400">
|
<ul class="space-y-3 text-sm text-gray-400">
|
||||||
<li class="flex items-center gap-2">
|
<li class="flex items-center gap-2">
|
||||||
<svg class="w-4 h-4 text-blue-400 shrink-0" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>
|
<svg class="w-4 h-4 text-blue-400 shrink-0" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>
|
||||||
128 monitors
|
200 monitors
|
||||||
</li>
|
</li>
|
||||||
<li class="flex items-center gap-2">
|
<li class="flex items-center gap-2">
|
||||||
<svg class="w-4 h-4 text-blue-400 shrink-0" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>
|
<svg class="w-4 h-4 text-blue-400 shrink-0" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
const createdDate = new Date(it.account.created_at).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });
|
const createdDate = new Date(it.account.created_at).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });
|
||||||
const plan = it.account.plan || 'free';
|
const plan = it.account.plan || 'free';
|
||||||
const planLabel = { free: 'Free', pro: 'Pro', lifetime: 'Lifetime' }[plan] || plan;
|
const planLabel = { free: 'Free', pro: 'Pro', lifetime: 'Lifetime' }[plan] || plan;
|
||||||
const limits = { free: { monitors: 10, interval: '30s' }, pro: { monitors: 128, interval: '2s' }, lifetime: { monitors: 128, interval: '2s' } }[plan] || { monitors: 10, interval: '30s' };
|
const limits = { free: { monitors: 10, interval: '30s' }, pro: { monitors: 200, interval: '2s' }, lifetime: { monitors: 200, interval: '2s' } }[plan] || { monitors: 10, interval: '30s' };
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<main class="max-w-3xl mx-auto px-8 py-10 space-y-8">
|
<main class="max-w-3xl mx-auto px-8 py-10 space-y-8">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue