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/command-palette.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/app.jsx?v=12"></script>
|
||||
<script type="text/babel" src="src/pages.jsx?v=11"></script>
|
||||
<script type="text/babel" src="src/app.jsx?v=13"></script>
|
||||
|
||||
<!-- PWA Service Worker Registration -->
|
||||
<script>
|
||||
|
||||
+19
-6
@@ -141,14 +141,27 @@ function App() {
|
||||
setMeta('meta[name="twitter:description"]', m.desc);
|
||||
}, [route]);
|
||||
|
||||
// scroll reveal (re-run on route change)
|
||||
// scroll reveal (re-run on route change + observe async-mounted nodes)
|
||||
React.useEffect(() => {
|
||||
const els = document.querySelectorAll(".reveal");
|
||||
const io = new IntersectionObserver(entries => {
|
||||
entries.forEach(en => { if (en.isIntersecting) en.target.classList.add("in"); });
|
||||
}, { threshold: 0.1 });
|
||||
els.forEach(el => io.observe(el));
|
||||
return () => io.disconnect();
|
||||
entries.forEach(en => {
|
||||
if (en.isIntersecting) {
|
||||
en.target.classList.add("in");
|
||||
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]);
|
||||
|
||||
const density = tweaks.density;
|
||||
|
||||
+17
-3
@@ -573,7 +573,7 @@ const PricingPage = () => {
|
||||
eyebrow="Live Platform Plans & Subscriptions"
|
||||
title={
|
||||
<>
|
||||
Zero agency markups.{' '}
|
||||
Zero hidden markups.{' '}
|
||||
<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.'}
|
||||
</span>
|
||||
@@ -603,6 +603,8 @@ const PricingPage = () => {
|
||||
const isPopular = Boolean(tier.popular || tier.badge === "Most Popular");
|
||||
const bdt = Number(tier.monthly_price || 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
|
||||
? tier.highlights
|
||||
: [
|
||||
@@ -612,7 +614,7 @@ const PricingPage = () => {
|
||||
return (
|
||||
<div
|
||||
key={tier.id || i}
|
||||
className="reveal"
|
||||
className="reveal in"
|
||||
style={{
|
||||
background: isPopular ? c.bg : "var(--bg-card)",
|
||||
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 }}>
|
||||
{tier.currency !== 'USD' ? `≈ $${approxUsd} USD/mo · ` : ''}bKash / Card · {trialDays}-Day Free Trial (৳0)
|
||||
</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 style={{ fontSize: 28, fontWeight: 700, color: c.text }}>Custom Architecture</div>
|
||||
@@ -742,7 +756,7 @@ const PricingPage = () => {
|
||||
}} className="pricing-cta-row">
|
||||
<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>
|
||||
<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>
|
||||
<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"
|
||||
|
||||
Reference in New Issue
Block a user