fix(pricing): reveal async-loaded pricing cards immediately, add bundle savings pill, clean SaaS copy
This commit is contained in:
+2
-2
@@ -387,8 +387,8 @@
|
|||||||
<script type="text/babel" src="src/timeline-contact.jsx?v=10"></script>
|
<script type="text/babel" src="src/timeline-contact.jsx?v=10"></script>
|
||||||
<script type="text/babel" src="src/command-palette.jsx?v=9"></script>
|
<script type="text/babel" src="src/command-palette.jsx?v=9"></script>
|
||||||
<script type="text/babel" src="src/chatbox.jsx?v=9"></script>
|
<script type="text/babel" src="src/chatbox.jsx?v=9"></script>
|
||||||
<script type="text/babel" src="src/pages.jsx?v=10"></script>
|
<script type="text/babel" src="src/pages.jsx?v=11"></script>
|
||||||
<script type="text/babel" src="src/app.jsx?v=12"></script>
|
<script type="text/babel" src="src/app.jsx?v=13"></script>
|
||||||
|
|
||||||
<!-- PWA Service Worker Registration -->
|
<!-- PWA Service Worker Registration -->
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
+19
-6
@@ -141,14 +141,27 @@ function App() {
|
|||||||
setMeta('meta[name="twitter:description"]', m.desc);
|
setMeta('meta[name="twitter:description"]', m.desc);
|
||||||
}, [route]);
|
}, [route]);
|
||||||
|
|
||||||
// scroll reveal (re-run on route change)
|
// scroll reveal (re-run on route change + observe async-mounted nodes)
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
const els = document.querySelectorAll(".reveal");
|
|
||||||
const io = new IntersectionObserver(entries => {
|
const io = new IntersectionObserver(entries => {
|
||||||
entries.forEach(en => { if (en.isIntersecting) en.target.classList.add("in"); });
|
entries.forEach(en => {
|
||||||
}, { threshold: 0.1 });
|
if (en.isIntersecting) {
|
||||||
els.forEach(el => io.observe(el));
|
en.target.classList.add("in");
|
||||||
return () => io.disconnect();
|
io.unobserve(en.target);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}, { threshold: 0.05 });
|
||||||
|
const observeAll = () => {
|
||||||
|
document.querySelectorAll(".reveal:not(.in)").forEach(el => io.observe(el));
|
||||||
|
};
|
||||||
|
observeAll();
|
||||||
|
const mo = new MutationObserver(() => observeAll());
|
||||||
|
const root = document.getElementById("root") || document.body;
|
||||||
|
mo.observe(root, { childList: true, subtree: true });
|
||||||
|
return () => {
|
||||||
|
mo.disconnect();
|
||||||
|
io.disconnect();
|
||||||
|
};
|
||||||
}, [route]);
|
}, [route]);
|
||||||
|
|
||||||
const density = tweaks.density;
|
const density = tweaks.density;
|
||||||
|
|||||||
+17
-3
@@ -573,7 +573,7 @@ const PricingPage = () => {
|
|||||||
eyebrow="Live Platform Plans & Subscriptions"
|
eyebrow="Live Platform Plans & Subscriptions"
|
||||||
title={
|
title={
|
||||||
<>
|
<>
|
||||||
Zero agency markups.{' '}
|
Zero hidden markups.{' '}
|
||||||
<span style={{ fontFamily: "var(--font-serif)", fontStyle: "italic", fontWeight: 400 }}>
|
<span style={{ fontFamily: "var(--font-serif)", fontStyle: "italic", fontWeight: 400 }}>
|
||||||
{startingBdt ? `Start at ৳${startingBdt.toLocaleString()}/mo with ${trialDays}-day free trial.` : 'Transparent monthly plans synced live.'}
|
{startingBdt ? `Start at ৳${startingBdt.toLocaleString()}/mo with ${trialDays}-day free trial.` : 'Transparent monthly plans synced live.'}
|
||||||
</span>
|
</span>
|
||||||
@@ -603,6 +603,8 @@ const PricingPage = () => {
|
|||||||
const isPopular = Boolean(tier.popular || tier.badge === "Most Popular");
|
const isPopular = Boolean(tier.popular || tier.badge === "Most Popular");
|
||||||
const bdt = Number(tier.monthly_price || 0);
|
const bdt = Number(tier.monthly_price || 0);
|
||||||
const approxUsd = bdt > 0 ? Math.max(1, Math.round(bdt / 122)) : 0;
|
const approxUsd = bdt > 0 ? Math.max(1, Math.round(bdt / 122)) : 0;
|
||||||
|
const standaloneVal = Number(tier.standalone_value || 0);
|
||||||
|
const savePct = standaloneVal > bdt && bdt > 0 ? Math.round(((standaloneVal - bdt) / standaloneVal) * 100) : 0;
|
||||||
const feats = Array.isArray(tier.highlights) && tier.highlights.length > 0
|
const feats = Array.isArray(tier.highlights) && tier.highlights.length > 0
|
||||||
? tier.highlights
|
? tier.highlights
|
||||||
: [
|
: [
|
||||||
@@ -612,7 +614,7 @@ const PricingPage = () => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
key={tier.id || i}
|
key={tier.id || i}
|
||||||
className="reveal"
|
className="reveal in"
|
||||||
style={{
|
style={{
|
||||||
background: isPopular ? c.bg : "var(--bg-card)",
|
background: isPopular ? c.bg : "var(--bg-card)",
|
||||||
border: `1px solid ${isPopular ? c.border : "var(--line)"}`,
|
border: `1px solid ${isPopular ? c.border : "var(--line)"}`,
|
||||||
@@ -652,6 +654,18 @@ const PricingPage = () => {
|
|||||||
<div style={{ fontSize: 12.5, color: "var(--text-faint)", fontFamily: "var(--font-mono)", marginTop: 4 }}>
|
<div style={{ fontSize: 12.5, color: "var(--text-faint)", fontFamily: "var(--font-mono)", marginTop: 4 }}>
|
||||||
{tier.currency !== 'USD' ? `≈ $${approxUsd} USD/mo · ` : ''}bKash / Card · {trialDays}-Day Free Trial (৳0)
|
{tier.currency !== 'USD' ? `≈ $${approxUsd} USD/mo · ` : ''}bKash / Card · {trialDays}-Day Free Trial (৳0)
|
||||||
</div>
|
</div>
|
||||||
|
{savePct > 0 && (
|
||||||
|
<div style={{
|
||||||
|
display: "inline-block", marginTop: 8,
|
||||||
|
fontSize: 11, fontFamily: "var(--font-mono)", fontWeight: 600,
|
||||||
|
padding: "3px 9px", borderRadius: 6,
|
||||||
|
background: "rgba(52, 211, 153, 0.12)",
|
||||||
|
border: "1px solid rgba(52, 211, 153, 0.30)",
|
||||||
|
color: "#34d399",
|
||||||
|
}}>
|
||||||
|
Standalone ৳{standaloneVal.toLocaleString()} → Save {savePct}%
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div style={{ fontSize: 28, fontWeight: 700, color: c.text }}>Custom Architecture</div>
|
<div style={{ fontSize: 28, fontWeight: 700, color: c.text }}>Custom Architecture</div>
|
||||||
@@ -742,7 +756,7 @@ const PricingPage = () => {
|
|||||||
}} className="pricing-cta-row">
|
}} className="pricing-cta-row">
|
||||||
<div>
|
<div>
|
||||||
<h3 style={{ margin: "0 0 6px", fontSize: 18, fontWeight: 500 }}>3-Step Zero-Risk Onboarding: 2-Min Free Fake-Order Audit → {trialDays}-Day Trial (৳0) → bKash Lock-in</h3>
|
<h3 style={{ margin: "0 0 6px", fontSize: 18, fontWeight: 500 }}>3-Step Zero-Risk Onboarding: 2-Min Free Fake-Order Audit → {trialDays}-Day Trial (৳0) → bKash Lock-in</h3>
|
||||||
<p style={{ margin: 0, fontSize: 14, color: "var(--text-dim)" }}>Send 20 recent customer numbers on WhatsApp (+880 1317-685758) for a free live 4-courier fraud audit, or email hello@auraajenticai.cloud for agency / custom ERP deployment.</p>
|
<p style={{ margin: 0, fontSize: 14, color: "var(--text-dim)" }}>Send 20 recent customer numbers on WhatsApp (+880 1317-685758) for a free live 4-courier fraud audit, or email hello@auraajenticai.cloud for multi-brand / custom ERP deployment.</p>
|
||||||
</div>
|
</div>
|
||||||
<a
|
<a
|
||||||
href="https://wa.me/8801317685758?text=Assalamu%20Alaikum%2C%20I%20want%20a%20Free%20Fake-Order%20Audit%20%26%207-Day%20Trial%20for%20Aura%20Ajentic%20AI"
|
href="https://wa.me/8801317685758?text=Assalamu%20Alaikum%2C%20I%20want%20a%20Free%20Fake-Order%20Audit%20%26%207-Day%20Trial%20for%20Aura%20Ajentic%20AI"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Aura Cloud Service Worker — High-Performance Offline & Shell Cache v2.0
|
// Aura Cloud Service Worker — High-Performance Offline & Shell Cache v2.0
|
||||||
const CACHE_NAME = 'aura-cloud-pwa-v3';
|
const CACHE_NAME = 'aura-cloud-pwa-v4';
|
||||||
|
|
||||||
const STATIC_PRECACHE = [
|
const STATIC_PRECACHE = [
|
||||||
'/',
|
'/',
|
||||||
|
|||||||
Reference in New Issue
Block a user