fix: standardize stats, currency, and CTAs site-wide
E2E Test Suite / Smoke Tests (P0) (push) Failing after 9m31s
E2E Test Suite / Critical User Journeys (push) Has been skipped
E2E Test Suite / API Integration Tests (push) Has been skipped
E2E Test Suite / Form Interaction Tests (push) Has been cancelled
E2E Test Suite / Destructive & Chaos Tests (push) Has been cancelled
E2E Test Suite / Cross-Browser Regression (chromium) (push) Has been cancelled
E2E Test Suite / Cross-Browser Regression (firefox) (push) Has been cancelled
E2E Test Suite / Cross-Browser Regression (webkit) (push) Has been cancelled
E2E Test Suite / Mobile Device Tests (push) Has been cancelled
E2E Test Suite / Security Header Tests (push) Has been cancelled
E2E Test Suite / Test Report Summary (push) Has been cancelled
Ping Search Engines / Notify Search Engines (push) Failing after 12m9s
Deploy to Production / Build & Verify (push) Blocked by required conditions
Deploy to Production / Pre-Deploy Tests (push) Blocked by required conditions
Deploy to Production / Deploy to Railway (push) Blocked by required conditions
Deploy to Production / Deploy to Render (push) Blocked by required conditions
Deploy to Production / Deploy to VPS (PM2) (push) Blocked by required conditions
Deploy to Production / Deploy to Fly.io (push) Blocked by required conditions
Deploy to Production / Post-Deploy Verification (push) Blocked by required conditions
Deploy to Production / Notify on Failure (push) Blocked by required conditions
E2E Test Suite / Smoke Tests (P0) (push) Failing after 9m31s
E2E Test Suite / Critical User Journeys (push) Has been skipped
E2E Test Suite / API Integration Tests (push) Has been skipped
E2E Test Suite / Form Interaction Tests (push) Has been cancelled
E2E Test Suite / Destructive & Chaos Tests (push) Has been cancelled
E2E Test Suite / Cross-Browser Regression (chromium) (push) Has been cancelled
E2E Test Suite / Cross-Browser Regression (firefox) (push) Has been cancelled
E2E Test Suite / Cross-Browser Regression (webkit) (push) Has been cancelled
E2E Test Suite / Mobile Device Tests (push) Has been cancelled
E2E Test Suite / Security Header Tests (push) Has been cancelled
E2E Test Suite / Test Report Summary (push) Has been cancelled
Ping Search Engines / Notify Search Engines (push) Failing after 12m9s
Deploy to Production / Build & Verify (push) Blocked by required conditions
Deploy to Production / Pre-Deploy Tests (push) Blocked by required conditions
Deploy to Production / Deploy to Railway (push) Blocked by required conditions
Deploy to Production / Deploy to Render (push) Blocked by required conditions
Deploy to Production / Deploy to VPS (PM2) (push) Blocked by required conditions
Deploy to Production / Deploy to Fly.io (push) Blocked by required conditions
Deploy to Production / Post-Deploy Verification (push) Blocked by required conditions
Deploy to Production / Notify on Failure (push) Blocked by required conditions
Resolve site-wide credibility/consistency bugs (audit A–E): - Bug A: replace homepage pricing placeholder "Projects from $X,XXX" with the real "₹1,00,000" floor (matches Services Starter tier) in PricingTimelineBand. - Bug C: standardize currency on ₹ — convert contact budget radios from $ to ₹ ranges (< ₹1L / ₹1L–₹5L / ₹5L–₹15L / ₹15L+). - Bug B: adopt one canonical stat set everywhere — 20+ Projects · 11 Districts Deployed · 50,000+ Records Managed · 8+ Years Avg Experience. Applied to homepage stats counter + ProofNumbers band, /portfolio stats bar (removes "4 Specializations"), and /about grid. Counter now formats with en-IN grouping so 50,000+ renders correctly. - Contact: delete the conflicting "200+ companies" claim. - Bug E: standardize CTA wording — primary "Get my free proposal", secondary "See our work". Replaced "Get a free consultation", "Book a discovery call", "Schedule a Free Call", "Get Started", "Start a Project", "Get Quote", "Get my free consultation", "See case studies" across Home, Header, Services, Portfolio, Contact. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
3b8e86d81e
commit
b1a8fa4167
+18
-14
@@ -119,11 +119,13 @@ const testimonials = [
|
||||
},
|
||||
];
|
||||
|
||||
// Stats data
|
||||
// Stats data — canonical site-wide proof set. Keep this identical to the
|
||||
// ProofNumbers band, the /portfolio stats bar, and the /about stats grid so
|
||||
// a visitor browsing multiple pages never sees a conflicting number.
|
||||
const stats = [
|
||||
{ value: 20, suffix: '+', label: 'Projects Delivered', icon: 'briefcase' },
|
||||
{ value: 100, suffix: '%', label: 'Client Satisfaction', icon: 'heart' },
|
||||
{ value: 3, suffix: '+', label: 'Years in Business', icon: 'building' },
|
||||
{ value: 20, suffix: '+', label: 'Projects', icon: 'briefcase' },
|
||||
{ value: 11, suffix: '', label: 'Districts Deployed', icon: 'building' },
|
||||
{ value: 50000, suffix: '+', label: 'Records Managed', icon: 'database' },
|
||||
{ value: 8, suffix: '+', label: 'Years Avg Experience', icon: 'clock' },
|
||||
];
|
||||
|
||||
@@ -220,7 +222,7 @@ const techStack = [
|
||||
data-cta="hero-primary"
|
||||
class="group inline-flex items-center justify-center rounded-xl bg-gradient-to-r from-primary-500 to-primary-600 px-10 py-5 text-lg font-bold text-white transition-all hover:shadow-2xl hover:shadow-primary/50 hover:scale-105 focus:outline-none focus:ring-2 focus:ring-primary-400 focus:ring-offset-2 focus:ring-offset-secondary-900"
|
||||
>
|
||||
Get a free consultation
|
||||
Get my free proposal
|
||||
<svg class="ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"></path>
|
||||
</svg>
|
||||
@@ -415,7 +417,7 @@ const techStack = [
|
||||
|
||||
<div class="text-center mt-16">
|
||||
<a href="/contact?source=process" data-cta="process-cta" class="inline-flex items-center justify-center rounded-xl bg-white px-10 py-5 text-lg font-bold text-secondary-900 transition-all hover:shadow-2xl hover:scale-105 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-secondary-900">
|
||||
Book a discovery call
|
||||
Get my free proposal
|
||||
<svg class="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"></path>
|
||||
</svg>
|
||||
@@ -445,9 +447,9 @@ const techStack = [
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path>
|
||||
</svg>
|
||||
)}
|
||||
{stat.icon === 'heart' && (
|
||||
{stat.icon === 'database' && (
|
||||
<svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"></path>
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4"></path>
|
||||
</svg>
|
||||
)}
|
||||
{stat.icon === 'building' && (
|
||||
@@ -463,7 +465,7 @@ const techStack = [
|
||||
</div>
|
||||
|
||||
<div class="stat-counter text-5xl font-bold text-secondary-900 dark:text-secondary-100 mb-2" data-target={stat.value} data-suffix={stat.suffix}>
|
||||
{stat.value}{stat.suffix}
|
||||
{stat.value.toLocaleString('en-IN')}{stat.suffix}
|
||||
</div>
|
||||
<div class="text-secondary-600 dark:text-secondary-400 font-semibold">{stat.label}</div>
|
||||
</div>
|
||||
@@ -707,7 +709,7 @@ const techStack = [
|
||||
data-cta="final-primary"
|
||||
class="group inline-flex items-center justify-center rounded-xl bg-white px-12 py-6 text-lg font-bold text-secondary-900 transition-all hover:shadow-2xl hover:shadow-white/30 hover:scale-105 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-primary-900"
|
||||
>
|
||||
Get my free consultation
|
||||
Get my free proposal
|
||||
<svg class="ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M17 8l4 4m0 0l-4 4m4-4H3"></path>
|
||||
</svg>
|
||||
@@ -720,7 +722,7 @@ const techStack = [
|
||||
<svg class="mr-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"></path>
|
||||
</svg>
|
||||
See case studies
|
||||
See our work
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -828,7 +830,9 @@ const techStack = [
|
||||
|
||||
// Guaranteed final state — set the resolved value up front so a
|
||||
// mid-animation failure can never leave the user staring at "0".
|
||||
const finalText = target + suffix;
|
||||
// Use the Indian locale grouping so large counters (e.g. 50,000+)
|
||||
// render with the same comma format as the server-rendered markup.
|
||||
const finalText = target.toLocaleString('en-IN') + suffix;
|
||||
|
||||
if (reduceMotion || !Number.isFinite(target) || target <= 0) {
|
||||
counter.textContent = finalText;
|
||||
@@ -840,7 +844,7 @@ const techStack = [
|
||||
counter.dataset.counted = 'true';
|
||||
|
||||
const startTime = performance.now();
|
||||
counter.textContent = '0' + suffix;
|
||||
counter.textContent = (0).toLocaleString('en-IN') + suffix;
|
||||
|
||||
function updateCounter(currentTime: number) {
|
||||
const elapsed = currentTime - startTime;
|
||||
@@ -848,7 +852,7 @@ const techStack = [
|
||||
const easeOutQuart = 1 - Math.pow(1 - progress, 4);
|
||||
const current = Math.floor(easeOutQuart * target);
|
||||
|
||||
counter.textContent = current + suffix;
|
||||
counter.textContent = current.toLocaleString('en-IN') + suffix;
|
||||
|
||||
if (progress < 1) {
|
||||
requestAnimationFrame(updateCounter);
|
||||
|
||||
Reference in New Issue
Block a user