content-grade 1.0.25 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -820,7 +820,7 @@ async function cmdHeadline(text) {
820
820
  blank();
821
821
  if (!isProUser()) {
822
822
  const usageCount = incrementUsage();
823
- showUsageFooter(usageCount);
823
+ showFreeTierCTA(usageCount);
824
824
  }
825
825
  }
826
826
 
package/dist/landing.html CHANGED
@@ -1447,7 +1447,7 @@
1447
1447
  <script>
1448
1448
  document.addEventListener('DOMContentLoaded', function() {
1449
1449
  // Track pricing CTA clicks
1450
- document.querySelectorAll('a.plan-cta[href*="checkout"]').forEach(function(el) {
1450
+ document.querySelectorAll('a.plan-cta').forEach(function(el) {
1451
1451
  el.addEventListener('click', function() {
1452
1452
  if (window.goatcounter && window.goatcounter.count) {
1453
1453
  var tier = el.href.includes('business') ? 'business' : el.href.includes('team') ? 'team' : 'pro';
@@ -12,7 +12,7 @@ const PRO_TIER_LIMIT = 1_000_000;
12
12
  const BUSINESS_TIER_LIMIT = 1_000_000;
13
13
  const TEAM_TIER_LIMIT = 1_000_000;
14
14
  const HEADLINE_GRADER_ENDPOINT = 'headline-grader';
15
- const UPGRADE_URL = 'https://content-grade.onrender.com/upgrade';
15
+ const UPGRADE_URL = 'https://content-grade.github.io/Content-Grade/#pricing';
16
16
  const TIER_LIMITS = {
17
17
  free: FREE_TIER_LIMIT,
18
18
  pro: PRO_TIER_LIMIT,
@@ -23,7 +23,7 @@ function freeGateMsg(_what) {
23
23
  return `Free daily limit reached (${FREE_TIER_LIMIT}/day). Upgrade to Pro for unlimited: ${UPGRADE_URL}`;
24
24
  }
25
25
  function paidGateMsg(limit) {
26
- return `Daily limit reached (${limit}/day). Upgrade for more at content-grade.onrender.com/#pricing. Resets at midnight UTC.`;
26
+ return `Daily limit reached (${limit}/day). Upgrade for more at content-grade.github.io/Content-Grade/#pricing. Resets at midnight UTC.`;
27
27
  }
28
28
  function hashIp(ip) {
29
29
  return createHash('sha256').update(ip).digest('hex');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "content-grade",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "AI-powered content analysis CLI. Score any blog post, landing page, or ad copy in under 30 seconds — runs on Claude CLI, no API key needed.",
5
5
  "type": "module",
6
6
  "bin": {