Brozy123 commited on
Commit
326e4ab
·
verified ·
1 Parent(s): c60bc87

Update premium.html

Browse files
Files changed (1) hide show
  1. premium.html +13 -1
premium.html CHANGED
@@ -129,7 +129,19 @@
129
  statusEl.className = 'badge active';
130
  statusEl.textContent = '⭐ ACTIVE';
131
  textEl.textContent = 'You have Premium access! Enjoy all features.';
132
- cards.forEach(c => { c.style.borderColor = 'var(--gold)'; c.style.opacity = '1'; c.classList.remove('locked'); });
 
 
 
 
 
 
 
 
 
 
 
 
133
  } else {
134
  statusEl.className = 'badge inactive';
135
  statusEl.textContent = '— LOCKED';
 
129
  statusEl.className = 'badge active';
130
  statusEl.textContent = '⭐ ACTIVE';
131
  textEl.textContent = 'You have Premium access! Enjoy all features.';
132
+ cards.forEach(c => {
133
+ c.style.borderColor = 'var(--gold)';
134
+ c.style.opacity = '1';
135
+ c.classList.remove('locked');
136
+ c.style.cursor = 'pointer';
137
+ c.onclick = () => {
138
+ const feature = c.getAttribute('data-feature');
139
+ if (feature === '0') window.location.href = '/stats';
140
+ else if (feature === '1') window.location.href = '/scheduling';
141
+ else if (feature === '2') window.location.href = '/profiles';
142
+ else if (feature === '3') window.location.href = '/aliases';
143
+ };
144
+ });
145
  } else {
146
  statusEl.className = 'badge inactive';
147
  statusEl.textContent = '— LOCKED';