feat(ui): upgrade carrier & platform icons to Silicon Valley SVGs, restore 4 plans & 5 setup steps, restore canvas animation

This commit is contained in:
Amirul Islam Redwan71
2026-11-13 00:03:29 +06:00
parent 6c1db1a068
commit f8b69f4fa9
3 changed files with 911 additions and 201 deletions
+173 -57
View File
@@ -1176,11 +1176,11 @@
</a>
<nav class="nav-links">
<a href="#couriers" class="nav-item" data-i18n="nav_couriers">🚚 Courier</a>
<a href="#tools" class="nav-item" data-i18n="nav_tools">⊞ Tools</a>
<a href="#sandbox" class="nav-item" data-i18n="nav_sandbox">⚡ Live Sandbox</a>
<a href="/guide" class="nav-item" data-i18n="nav_guide">📖 Guide</a>
<a href="/mcp" class="nav-item" data-i18n="nav_mcp">⌨ MCP Playground</a>
<a href="#couriers" class="nav-item"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="1" y="3" width="15" height="13" rx="1"/><polygon points="16 8 20 8 23 11 23 16 16 16 16 8"/><circle cx="5.5" cy="18.5" r="2.5"/><circle cx="18.5" cy="18.5" r="2.5"/></svg><span data-i18n="nav_couriers">কুরিয়ার</span></a>
<a href="#tools" class="nav-item"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="7" height="7" rx="1.2"/><rect x="14" y="3" width="7" height="7" rx="1.2"/><rect x="14" y="14" width="7" height="7" rx="1.2"/><rect x="3" y="14" width="7" height="7" rx="1.2"/></svg><span data-i18n="nav_tools">টুলস</span></a>
<a href="#sandbox" class="nav-item"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg><span data-i18n="nav_sandbox">লাইভ স্যান্ডবক্স</span></a>
<a href="/guide" class="nav-item"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg><span data-i18n="nav_guide">গাইড</span></a>
<a href="/mcp" class="nav-item"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/><line x1="14" y1="4" x2="10" y2="20"/></svg><span data-i18n="nav_mcp">MCP প্লেগ্রাউন্ড</span></a>
<a href="/health" class="health-pill" title="Server Status">
<span class="health-dot"></span>
<span>Health OK</span>
@@ -1201,7 +1201,7 @@
<section class="hero">
<div class="hero-left">
<div class="badge-chip">
<span>⚡</span>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--cyan)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
<span data-i18n="hero_badge">MCP for Bangladesh E-commerce</span>
</div>
@@ -1216,10 +1216,12 @@
<div class="hero-cta-row">
<a href="#sandbox" class="btn btn-primary">
<span data-i18n="cta_try_sandbox">▶ Try Live Sandbox →</span>
<svg width="13" height="13" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><polygon points="6 4 20 12 6 20 6 4"/></svg>
<span data-i18n="cta_try_sandbox">Try Live Sandbox →</span>
</a>
<a href="#tools" class="btn btn-secondary">
<span data-i18n="cta_explore_tools">⊞ Explore All Tools</span>
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="7" height="7" rx="1.2"/><rect x="14" y="3" width="7" height="7" rx="1.2"/><rect x="14" y="14" width="7" height="7" rx="1.2"/><rect x="3" y="14" width="7" height="7" rx="1.2"/></svg>
<span data-i18n="cta_explore_tools">Explore All Tools</span>
</a>
</div>
@@ -1244,16 +1246,16 @@
<div class="map-hub-card">
<!-- Floating Carrier Hub Nodes -->
<div class="carrier-node-badge steadfast">
<span class="carrier-dot steadfast"></span> Steadfast Hub
<svg viewBox="0 0 36 36" width="18" height="18" fill="none" aria-hidden="true" style="flex-shrink:0;"><rect x="2" y="2" width="32" height="32" rx="8" fill="#10b981"/><path d="M23.5 12c-1.3-1.2-3.2-1.7-5.1-1.2-2.5.6-4.1 2.7-3.7 5.1.4 2.1 2.1 3.5 4.2 3.9l1.7.3c1.6.3 2.5 1.2 2.2 2.4-.3 1.5-1.6 2.4-3.5 2.2-1.8-.2-3.3-1.2-4-2.6" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/></svg><span>Steadfast Hub</span>
</div>
<div class="carrier-node-badge pathao">
<span class="carrier-dot pathao"></span> Pathao Express
<svg viewBox="0 0 36 36" width="18" height="18" fill="none" aria-hidden="true" style="flex-shrink:0;"><circle cx="18" cy="18" r="16" fill="#ef4444"/><path d="M13 10.5h5.8a4.2 4.2 0 0 1 4.2 4.2 4.2 4.2 0 0 1-4.2 4.2h-3.1v6.6H13v-15zm2.7 6h2.9a1.8 1.8 0 0 0 1.8-1.8 1.8 1.8 0 0 0-1.8-1.8h-2.9v3.6z" fill="#ffffff"/></svg><span>Pathao Express</span>
</div>
<div class="carrier-node-badge redx">
<span class="carrier-dot redx"></span> RedX Network
<svg viewBox="0 0 36 36" width="18" height="18" fill="none" aria-hidden="true" style="flex-shrink:0;"><circle cx="18" cy="18" r="16" fill="#dc2626"/><path d="M12.5 12.5l11 11M23.5 12.5l-11 11" stroke="#ffffff" stroke-width="3.2" stroke-linecap="round"/></svg><span>RedX Network</span>
</div>
<div class="carrier-node-badge paperfly">
<span class="carrier-dot paperfly"></span> Paperfly Union
<svg viewBox="0 0 36 36" width="18" height="18" fill="none" aria-hidden="true" style="flex-shrink:0;"><defs><linearGradient id="pfGrad18" x1="0" y1="0" x2="36" y2="36"><stop offset="0%" stop-color="#0284c7"/><stop offset="100%" stop-color="#38bdf8"/></linearGradient></defs><rect x="2" y="2" width="32" height="32" rx="8" fill="url(#pfGrad18)"/><path d="M9.5 18.2l17.5-7.2-6.8 16-3.2-5.8-7.5-3z" fill="#ffffff"/><path d="M17 21.2l10-10.2" stroke="#0284c7" stroke-width="1.6" stroke-linecap="round"/></svg><span>Paperfly Union</span>
</div>
<!-- Dhaka Origin Hub -->
@@ -1334,34 +1336,12 @@
</div>
</div>
</div>
<div class="stat-card">
<div class="stat-icon">⊞</div>
<div>
<div class="stat-val">9</div>
<div class="stat-label" data-i18n="stat_tools">MCP Tools (JSON-RPC)</div>
</div>
</div>
<div class="stat-card">
<div class="stat-icon">⚡</div>
<div>
<div class="stat-val">Streamable</div>
<div class="stat-label" data-i18n="stat_protocol">HTTP MCP Protocol</div>
</div>
</div>
<div class="stat-card">
<div class="stat-icon">&lt;/&gt;</div>
<div>
<div class="stat-val">Dev Ready</div>
<div class="stat-label" data-i18n="stat_ready">REST + Native MCP</div>
</div>
</div>
</div>
<!-- ===== Interactive Live Sandbox Section ===== -->
<section id="sandbox" class="sandbox-section">
<div class="sandbox-top">
<div class="section-header" style="margin-bottom:0">
<div class="section-tag" data-i18n="sb_tag" style="display:inline-flex; align-items:center; gap:6px;">
<div class="section-tag" style="display:inline-flex; align-items:center; gap:6px;">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="var(--cyan)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M10 2v7.31L4.1 19.11A2 2 0 0 0 5.75 22h12.5a2 2 0 0 0 1.65-2.89L14 9.31V2"/>
<path d="M8.5 2h7"/>
@@ -1369,14 +1349,14 @@
<circle cx="9" cy="18" r="1" fill="var(--cyan)"/>
<circle cx="13" cy="16" r="1.5" fill="var(--cyan)"/>
</svg>
<span>Live Sandbox</span>
<span data-i18n="sb_tag">Live Sandbox</span>
</div>
<h2 class="section-title" data-i18n="sb_title">ইন্টারেক্টিভ লাইভ স্যান্ডবক্স</h2>
<p class="section-subtitle" data-i18n="sb_subtitle">টেস্ট করুন, রেজাল্ট দেখুন, ইন্টিগ্রেশনের আগে সরাসরি ব্রাউজারে যাচাই করুন।</p>
</div>
<div class="sandbox-status">
<span class="health-dot"></span>
<span data-i18n="sb_status">● Sandbox Online</span>
<span data-i18n="sb_status">Sandbox Online</span>
</div>
</div>
@@ -1472,13 +1452,13 @@
<!-- ===== All 9 MCP Tools Section ===== -->
<section id="tools" style="margin-bottom: 48px;">
<div class="section-header">
<div class="section-tag" data-i18n="tools_tag" style="display:inline-flex; align-items:center; gap:6px;">
<div class="section-tag" style="display:inline-flex; align-items:center; gap:6px;">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="var(--cyan)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/>
<polyline points="3.27 6.96 12 12.01 20.73 6.96"/>
<line x1="12" y1="22.08" x2="12" y2="12"/>
</svg>
<span>Core Protocol</span>
<span data-i18n="tools_tag">Core Protocol</span>
</div>
<h2 class="section-title" data-i18n="tools_title">All 9 MCP Tools</h2>
<p class="section-subtitle" data-i18n="tools_subtitle">Aura Courier MCP-এ থাকা ৯টি শক্তিশালী টুল, যেগুলো সরাসরি আপনার AI এজেন্ট বা অটোমেশন ফ্লোতে কাজ করে।</p>
@@ -1651,12 +1631,12 @@
<!-- ===== Courier Integrations Strip ===== -->
<section id="couriers" class="carriers-strip">
<div class="section-header" style="margin-bottom:12px;">
<div class="section-tag" data-i18n="carriers_tag" style="display:inline-flex; align-items:center; gap:6px;">
<div class="section-tag" style="display:inline-flex; align-items:center; gap:6px;">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="var(--cyan)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/>
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/>
</svg>
<span>Carrier Network</span>
<span data-i18n="carriers_tag">Carrier Network</span>
</div>
<h2 class="section-title" data-i18n="carriers_title">Courier Integrations</h2>
<p class="section-subtitle" data-i18n="carriers_subtitle">বাংলাদেশের শীর্ষ ৪টি কুরিয়ার সেবা, একই সর্বজনীন এপিআই ও এমসিপিতে সংযুক্ত।</p>
@@ -1664,7 +1644,7 @@
<div class="carrier-cards">
<div class="carrier-card">
<span class="carrier-dot steadfast"></span>
<svg viewBox="0 0 36 36" width="36" height="36" fill="none" aria-hidden="true" style="flex-shrink:0;"><rect x="2" y="2" width="32" height="32" rx="8" fill="#10b981"/><path d="M23.5 12c-1.3-1.2-3.2-1.7-5.1-1.2-2.5.6-4.1 2.7-3.7 5.1.4 2.1 2.1 3.5 4.2 3.9l1.7.3c1.6.3 2.5 1.2 2.2 2.4-.3 1.5-1.6 2.4-3.5 2.2-1.8-.2-3.3-1.2-4-2.6" stroke="#ffffff" stroke-width="3" stroke-linecap="round"/></svg>
<div class="carrier-info">
<b>Steadfast</b>
<span data-i18n="car_sf">✔ Integrated (64 Districts)</span>
@@ -1672,7 +1652,7 @@
</div>
<div class="carrier-card">
<span class="carrier-dot pathao"></span>
<svg viewBox="0 0 36 36" width="36" height="36" fill="none" aria-hidden="true" style="flex-shrink:0;"><circle cx="18" cy="18" r="16" fill="#ef4444"/><path d="M13 10.5h5.8a4.2 4.2 0 0 1 4.2 4.2 4.2 4.2 0 0 1-4.2 4.2h-3.1v6.6H13v-15zm2.7 6h2.9a1.8 1.8 0 0 0 1.8-1.8 1.8 1.8 0 0 0-1.8-1.8h-2.9v3.6z" fill="#ffffff"/></svg>
<div class="carrier-info">
<b>Pathao</b>
<span data-i18n="car_pt">✔ Integrated (Express Dispatch)</span>
@@ -1680,7 +1660,7 @@
</div>
<div class="carrier-card">
<span class="carrier-dot redx"></span>
<svg viewBox="0 0 36 36" width="36" height="36" fill="none" aria-hidden="true" style="flex-shrink:0;"><circle cx="18" cy="18" r="16" fill="#dc2626"/><path d="M12.5 12.5l11 11M23.5 12.5l-11 11" stroke="#ffffff" stroke-width="3.2" stroke-linecap="round"/></svg>
<div class="carrier-info">
<b>RedX</b>
<span data-i18n="car_rx">✔ Integrated (2,849+ Hubs)</span>
@@ -1688,7 +1668,7 @@
</div>
<div class="carrier-card">
<span class="carrier-dot paperfly"></span>
<svg viewBox="0 0 36 36" width="36" height="36" fill="none" aria-hidden="true" style="flex-shrink:0;"><defs><linearGradient id="pfGrad36" x1="0" y1="0" x2="36" y2="36"><stop offset="0%" stop-color="#0284c7"/><stop offset="100%" stop-color="#38bdf8"/></linearGradient></defs><rect x="2" y="2" width="32" height="32" rx="8" fill="url(#pfGrad36)"/><path d="M9.5 18.2l17.5-7.2-6.8 16-3.2-5.8-7.5-3z" fill="#ffffff"/><path d="M17 21.2l10-10.2" stroke="#0284c7" stroke-width="1.6" stroke-linecap="round"/></svg>
<div class="carrier-info">
<b>Paperfly</b>
<span data-i18n="car_pf">✔ Integrated (Doorstep Union)</span>
@@ -1711,14 +1691,14 @@
<text x="390" y="45" fill="#fda4af" font-size="12" font-family="JetBrains Mono" font-weight="700">Chattogram</text>
</svg>
<div class="truck-marker">🚚</div>
<div class="truck-marker" style="display:grid;place-items:center;width:30px;height:30px;"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#040914" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="1" y="3" width="15" height="13" rx="1"/><polygon points="16 8 20 8 23 11 23 16 16 16 16 8"/><circle cx="5.5" cy="18.5" r="2.5"/><circle cx="18.5" cy="18.5" r="2.5"/></svg></div>
<div style="position:absolute; bottom:12px; left:16px; font-size:11px; color:var(--text-muted); font-family:var(--font-mono); display:flex; align-items:center; gap:6px;">
<span>📍 Google Maps Platform</span>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--cyan)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg><span>Google Maps Platform</span>
</div>
</div>
<div class="spatial-right">
<div class="section-tag" data-i18n="spatial_tag">🗺️ Spatial Engine</div>
<div class="section-tag" style="display:inline-flex; align-items:center; gap:6px;"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="var(--cyan)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"/><line x1="8" y1="2" x2="8" y2="18"/><line x1="16" y1="6" x2="16" y2="22"/></svg><span data-i18n="spatial_tag">Spatial Engine</span></div>
<h2 class="section-title" style="font-size:22px; margin-bottom:10px;" data-i18n="spatial_title">Google Maps Spatial AI Routing</h2>
<p class="section-subtitle" style="margin-bottom:18px;" data-i18n="spatial_subtitle">গুগল ম্যাপের উপর ভিত্তি করে রুট অপটিমাইজেশন, জোন ডিটেকশন ও রিয়েল-টাইম দূরত্ব পরিমাপ।</p>
@@ -1757,7 +1737,7 @@
<div class="endpoint-box">
<input type="text" id="endpoint-input" class="endpoint-url" value="https://courier.auraajenticai.cloud/mcp" readonly />
<button class="btn-copy" onclick="copyEndpoint()">
<span id="copy-btn-text" data-i18n="btn_copy">📋 Copy URL</span>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><span id="copy-btn-text" data-i18n="btn_copy">Copy URL</span>
</button>
</div>
</section>
@@ -1802,7 +1782,7 @@
}</pre>
<button onclick="copyAgentJson()" style="position:absolute; top:12px; right:12px; background:var(--cyan); color:#040914; border:none; padding:7px 14px; border-radius:8px; font-size:12px; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:6px;">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
<span id="copy-btn-text">Copy JSON</span>
<span id="copy-json-text">Copy JSON</span>
</button>
</div>
@@ -1871,12 +1851,12 @@
<ul class="footer-link-list">
<li>
<a href="https://glama.ai/mcp/servers/auraajenticai/aura-courier-mcp" target="_blank" rel="noopener">
<span style="color:var(--cyan); font-weight:700;">⚡ Glama.ai Registry</span>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--cyan)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg><span style="color:var(--cyan); font-weight:700;">Glama.ai Registry</span>
</a>
</li>
<li>
<a href="https://www.npmjs.com/package/@auraajenticai/aura-courier-mcp" target="_blank" rel="noopener">
<span>📦 npm Package (v2.6.0)</span>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><polyline points="3.27 6.96 12 12.01 20.73 6.96"/><line x1="12" y1="22.08" x2="12" y2="12"/></svg><span>npm Package (v2.6.0)</span>
</a>
</li>
</ul>
@@ -1900,12 +1880,12 @@
</li>
<li>
<a href="https://auraajenticai.cloud" target="_blank" rel="noopener">
<span>🌐 Aura Agentic AI Cloud</span>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg><span>Aura Agentic AI Cloud</span>
</a>
</li>
<li>
<a href="https://client.auraajenticai.cloud" target="_blank" rel="noopener">
<span>🚀 Client Dashboard Portal</span>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"/><path d="M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"/><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"/><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"/></svg><span>Client Dashboard Portal</span>
</a>
</li>
</ul>
@@ -1956,6 +1936,142 @@
<!-- ===== Background Animation Canvas Script ===== -->
<script src="/assets/courier-canvas.js?v=2.6.1"></script>
<script>
if (typeof initCourierCanvas === 'function') {
initCourierCanvas('hubmap');
}
// ===== Bilingual Dictionary =====
const translations = {
bn: {
nav_couriers: "কুরিয়ার",
nav_tools: "টুলস",
nav_sandbox: "লাইভ স্যান্ডবক্স",
nav_guide: "গাইড",
nav_mcp: "MCP প্লেগ্রাউন্ড",
nav_login: "লগইন",
nav_portal: "লগইন",
hero_badge: "MCP for Bangladesh E-commerce",
hero_heading: "এক কানেক্টরেই ৪ কুরিয়ার + Google Maps",
hero_desc: "WooCommerce, Shopify, n8n বা যেকোনো সিস্টেমে সহজেই পার্সেল ডেলিভারি, ট্র্যাকিং, রেট ক্যালকুলেশন, ফ্রড রিস্ক চেক ও NDR ম্যানেজ করুন — একটিই MCP দিয়ে।",
cta_try_sandbox: "Try Live Sandbox →",
cta_explore_tools: "Explore All Tools",
trust_dev: "Developer Ready",
trust_protocol: "API + MCP Protocol",
trust_bd: "Bangladesh Focused",
stat_couriers: "Couriers Integrated",
stat_tools: "MCP Tools (JSON-RPC)",
stat_protocol: "HTTP MCP Protocol",
stat_ready: "REST + Native MCP",
sb_tag: "Live Sandbox",
sb_title: "ইন্টারেক্টিভ লাইভ স্যান্ডবক্স",
sb_subtitle: "টেস্ট করুন, রেজাল্ট দেখুন, ইন্টিগ্রেশনের আগে সরাসরি ব্রাউজারে যাচাই করুন।",
sb_status: "Sandbox Online",
calc_heading: "Delivery Zone & Fee Calculator",
lbl_district: "District / জেলা নির্বাচন করুন:",
lbl_weight: "Parcel Weight / পার্সেল ওজন:",
res_fee_meta: "Estimated Courier Delivery Fee:",
calc_sla: "২৪-৪৮ ঘণ্টার মধ্যে ডেলিভারি",
fraud_heading: "Fraud Risk Analyzer",
lbl_phone: "Customer Phone Number / ফোন নম্বর:",
btn_check_risk: "Check Risk →",
fraud_desc_safe: "New customer - Safe to proceed · Zero Mock Data",
tools_tag: "Core Protocol",
tools_title: "All 9 MCP Tools",
tools_subtitle: "Aura Courier MCP-এ থাকা ৯টি শক্তিশালী টুল, যেগুলো সরাসরি আপনার AI এজেন্ট বা অটোমেশন ফ্লোতে কাজ করে।",
t1_desc: "নতুন পার্সেল বা ডেলিভারি অর্ডার তৈরি করুন (Steadfast, Pathao, RedX, Paperfly-তে ১-ক্লিকে)।",
t2_desc: "পার্সেল ট্র্যাকিং স্ট্যাটাস ও লাইভ ডেলিভারি টাইমলাইন এক ক্লিকে ট্র্যাক করুন।",
t3_desc: "সব কুরিয়ার মার্চেন্ট একাউন্টের লাইভ ব্যালেন্স, পেন্ডিং ডিসবার্সমেন্ট ও পেআউট জানুন।",
t4_desc: "গ্রাহকের ফোন নম্বর জাতীয় কুরিয়ার ডাটাবেসে স্ক্যান করে রিটার্ন ঝুঁকি স্কোর নির্ণয়।",
t5_desc: "সংযুক্ত সকল কুরিয়ারের অ্যাক্টিভ স্ট্যাটাস, মার্চেন্ট কী ও অপারেশনাল হেলথ দেখুন।",
t6_desc: "গুগল ম্যাপস জিওকোডিং এপিআই দিয়ে ঠিকানা ভ্যালিডেশন ও রুফটপ কোঅর্ডিনেট রেজল্ট।",
t7_desc: "ঠিকানা অনুযায়ী অটোমেটিক জোন ক্লাসিফিকেশন (Dhaka, Sub-Dhaka, Outside) ও রেট ফিক্স।",
t8_desc: "একই অর্ডারের জন্য সকল কুরিয়ারের রেট, সিওডি কমিশন ও এসএলএ পাশাপাশি তুলনা করুন।",
t9_desc: "নন-ডেলিভারি রিপোর্ট (NDR) সমস্যায় কাস্টমার রি-ডেলিভারি মেসেজ ও ডিসপুট ম্যানেজ।",
carriers_tag: "Carrier Network",
carriers_title: "Courier Integrations",
carriers_subtitle: "বাংলাদেশের শীর্ষ ৪টি কুরিয়ার সেবা, একই সর্বজনীন এপিআই ও এমসিপিতে সংযুক্ত।",
car_sf: "✔ Integrated (64 Districts)",
car_pt: "✔ Integrated (Express Dispatch)",
car_rx: "✔ Integrated (2,849+ Hubs)",
car_pf: "✔ Integrated (Doorstep Union)",
spatial_tag: "Spatial Engine",
spatial_title: "Google Maps Spatial AI Routing",
spatial_subtitle: "গুগল ম্যাপের উপর ভিত্তি করে রুট অপটিমাইজেশন, জোন ডিটেকশন ও রিয়েল-টাইম দূরত্ব পরিমাপ।",
sp_1: "Address Geocoding & Validation",
sp_2: "Delivery Zone & Tariff Detection",
sp_3: "Optimized Route & Distance Calculation",
sp_4: "Estimated Delivery Cost & SLA Time",
end_title: "Integration (MCP Endpoint)",
end_status: "Streamable-HTTP Ready",
end_desc: "আপনার AI এজেন্ট (Claude, Cursor, Windsurf বা n8n)-এ সরাসরি নিচের এন্ডপয়েন্টটি সংযুক্ত করুন:",
btn_copy: "Copy URL"
},
en: {
nav_couriers: "Couriers",
nav_tools: "Tools",
nav_sandbox: "Live Sandbox",
nav_guide: "Guide",
nav_mcp: "MCP Playground",
nav_login: "Login",
nav_portal: "Login",
hero_badge: "MCP for Bangladesh E-commerce",
hero_heading: "One Single Connector for 4 Couriers + Google Maps",
hero_desc: "Seamless parcel delivery, unified consignment tracking, automated zone tariffs, carrier fraud detection & NDR management across WooCommerce, Shopify, n8n and AI agents.",
cta_try_sandbox: "Try Live Sandbox →",
cta_explore_tools: "Explore All Tools",
trust_dev: "Developer Ready",
trust_protocol: "API + MCP Protocol",
trust_bd: "Bangladesh Focused",
stat_couriers: "Couriers Integrated",
stat_tools: "MCP Tools (JSON-RPC)",
stat_protocol: "HTTP MCP Protocol",
stat_ready: "REST + Native MCP",
sb_tag: "Live Sandbox",
sb_title: "Interactive Live Sandbox",
sb_subtitle: "Test delivery tariffs, evaluate real fraud risk, and simulate bookings directly in your browser.",
sb_status: "Sandbox Online",
calc_heading: "Delivery Zone & Fee Calculator",
lbl_district: "Select District:",
lbl_weight: "Select Parcel Weight:",
res_fee_meta: "Estimated Courier Delivery Fee:",
calc_sla: "24-48 Hours Delivery SLA",
fraud_heading: "Fraud Risk Analyzer",
lbl_phone: "Customer Phone Number:",
btn_check_risk: "Check Risk →",
fraud_desc_safe: "New customer - Safe to proceed · Zero Mock Data",
tools_tag: "Core Protocol",
tools_title: "All 9 MCP Tools",
tools_subtitle: "Production-grade tools available inside Aura Courier MCP for seamless agentic workflows.",
t1_desc: "Automated booking across Steadfast, Pathao, RedX, and Paperfly with 1-click fallback.",
t2_desc: "Unified parcel tracking timeline and carrier status across all Bangladesh logistics.",
t3_desc: "Live COD balance, pending disbursement and payout tracking across all accounts.",
t4_desc: "Scans recipient phone number across national carrier records for return risk score.",
t5_desc: "Discover active carriers, credential health and API operational status.",
t6_desc: "Sub-locality and rooftop precision geocoding powered by Google Maps Platform.",
t7_desc: "Automatic tariff zone classification (Dhaka: ৳80, Suburbs: ৳100, Nationwide: ৳150).",
t8_desc: "Side-by-side freight rate, COD commission, and delivery timeline quote comparison.",
t9_desc: "Automated WhatsApp copy generation and carrier dispute routing for failed deliveries.",
carriers_tag: "Carrier Network",
carriers_title: "Courier Integrations",
carriers_subtitle: "Bangladesh's top 4 national logistics carriers unified under one single MCP.",
car_sf: "✔ Integrated (64 Districts)",
car_pt: "✔ Integrated (Express Dispatch)",
car_rx: "✔ Integrated (2,849+ Hubs)",
car_pf: "✔ Integrated (Doorstep Union)",
spatial_tag: "Spatial Engine",
spatial_title: "Google Maps Spatial AI Routing",
spatial_subtitle: "Rooftop geocoding, route optimization, zone detection, and real-time distance matrix.",
sp_1: "Address Geocoding & Validation",
sp_2: "Delivery Zone & Tariff Detection",
sp_3: "Optimized Route & Distance Calculation",
sp_4: "Estimated Delivery Cost & SLA Time",
end_title: "Integration (MCP Endpoint)",
end_status: "Streamable-HTTP Ready",
end_desc: "Connect your AI agent (Claude, Cursor, Windsurf, or n8n) directly via this endpoint:",
btn_copy: "Copy URL"
}
};
const agentConfigs = {
antigravity: {
path: '%USERPROFILE%\\.gemini\\antigravity\\mcp\\aura-courier\\server.json',
@@ -2056,7 +2172,7 @@
const codeEl = document.getElementById('agent-json-code');
const code = codeEl ? codeEl.innerText : '';
navigator.clipboard.writeText(code).then(() => {
const txt = document.getElementById('copy-btn-text');
const txt = document.getElementById('copy-json-text');
if (txt) {
txt.innerText = 'Copied!';
setTimeout(() => txt.innerText = 'Copy JSON', 2000);
@@ -2134,7 +2250,7 @@
const btn = document.getElementById('copy-btn-text');
btn.textContent = '✔ Copied!';
setTimeout(() => {
btn.textContent = translations[curLang].btn_copy || '📋 Copy URL';
btn.textContent = (translations[curLang] && translations[curLang].btn_copy) || 'Copy URL';
}, 2000);
}).catch(() => {
alert('Copied: ' + el.value);
@@ -2145,4 +2261,4 @@
runFeeCalculation();
</script>
</body>
</html>
</html>