update: decrease max monitors for pro

This commit is contained in:
nate 2026-03-21 22:30:19 +04:00
parent 862b9f284f
commit 8be0632ea8
4 changed files with 5 additions and 5 deletions

View File

@ -11,11 +11,11 @@ const PLANS: Record<Plan, PlanLimits> = {
minIntervalS: 30,
},
pro: {
maxMonitors: 500,
maxMonitors: 128,
minIntervalS: 2,
},
lifetime: {
maxMonitors: 500,
maxMonitors: 128,
minIntervalS: 2,
},
};

View File

@ -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">
<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-xs text-gray-500 mt-2">500 monitors, 2s intervals</div>
<div class="text-xs text-gray-500 mt-2">128 monitors, 2s intervals</div>
</label>
<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">

View File

@ -527,7 +527,7 @@
<ul class="space-y-3 text-sm text-gray-400">
<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>
500 monitors
128 monitors
</li>
<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>

View File

@ -6,7 +6,7 @@
const createdDate = new Date(it.account.created_at).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });
const plan = it.account.plan || 'free';
const planLabel = { free: 'Free', pro: 'Pro', lifetime: 'Lifetime' }[plan] || plan;
const limits = { free: { monitors: 10, interval: '30s' }, pro: { monitors: 500, interval: '2s' }, lifetime: { monitors: 500, interval: '2s' } }[plan] || { monitors: 10, interval: '30s' };
const limits = { free: { monitors: 10, interval: '30s' }, pro: { monitors: 128, interval: '2s' }, lifetime: { monitors: 128, interval: '2s' } }[plan] || { monitors: 10, interval: '30s' };
%>
<main class="max-w-3xl mx-auto px-8 py-10 space-y-8">