diff --git a/app.js b/app.js index 7d01091..a87089b 100644 --- a/app.js +++ b/app.js @@ -1,8 +1,8 @@ -// Google Opal AI - Master Mini-App Studio & 3D Poster Lab Engine v5.0 +// Aura Studio - Master Mini-App Studio & 3D Poster Lab Engine v5.0 const I18N_DICTIONARY = { bn: { - brand_subtitle: "Google DeepMind • Mini-App Engine", + brand_subtitle: "Aura AI • Mini-App Engine", btn_add_miniapp: "✨ + Mini-App", lang_btn_text: "🌐 EN", @@ -52,7 +52,7 @@ const I18N_DICTIONARY = { btn_autopost_n8n: "1-Click Auto Post to Facebook Page (via n8n)", // Mini-Apps Hub - hub_title: "✨ Opal Mini-Apps Hub", + hub_title: "✨ Aura Mini-Apps Hub", hub_subtitle: "সকল ক্যাটাগরির ই-কমার্সের জন্য কাস্টম এআই মিনি-অ্যাপ তৈরি ও এম্বেড করুন", btn_create_app: "+ Create App", cat_all: "🔥 All Niches", @@ -165,8 +165,8 @@ const I18N_DICTIONARY = { settings_webhook_label: "n8n Auto-Post Webhook URL (Aura Ajentic AI):", settings_webhook_hint: "Pre-configured with your n8n cloud instance at n8n.auraajenticai.cloud", btn_save_settings: "💾 Save Settings & Test Connection", - about_title: "💎 About Google Opal AI (iOS Edition)", - about_desc: "This web studio is engineered specifically for iPhone (iOS Safari / PWA) and client dashboards with 0ms latency, native 2D canvas GPU rendering, and official Google Gemini 2.0 AI integration.", + about_title: "💎 About Aura Studio", + about_desc: "This web studio is engineered specifically for iPhone (iOS Safari / PWA) and client dashboards with 0ms latency, native 2D canvas GPU rendering, and official Gemini 3.5 AI integration.", iphone_tips: "📲 iPhone টিপস: Safari-এর নিচে থাকা Share (📤) বাটনে ট্যাপ করে 'Add to Home Screen' চাপুন। তাহলে এটি আপনার আইফোনে একদম আসল অ্যাপের মতো ফুল-স্ক্রিনে চলবে!", // Bottom Navigation @@ -203,7 +203,7 @@ const I18N_DICTIONARY = { catalog_empty: "এই স্টোরে কোনো প্রোডাক্ট পাওয়া যায়নি। অন্য কি-ওয়ার্ড বা ব্র্যান্ড সিলেক্ট করুন অথবা URL দিয়ে সিঙ্ক করুন।" }, en: { - brand_subtitle: "Google DeepMind • Mini-App Engine", + brand_subtitle: "Aura AI • Mini-App Engine", btn_add_miniapp: "✨ + Mini-App", lang_btn_text: "🌐 বাং", @@ -253,7 +253,7 @@ const I18N_DICTIONARY = { btn_autopost_n8n: "1-Click Auto Post to Facebook Page (via n8n)", // Mini-Apps Hub - hub_title: "✨ Opal Mini-Apps Hub", + hub_title: "✨ Aura Mini-Apps Hub", hub_subtitle: "Build & embed bespoke AI mini-apps across all e-commerce verticals", btn_create_app: "+ Create App", cat_all: "🔥 All Niches", @@ -358,7 +358,7 @@ const I18N_DICTIONARY = { // Settings settings_title: "Settings & Google AI Configuration", - settings_subtitle: "Google Gemini 2.0 & Gemma Open-Weights Configuration", + settings_subtitle: "Gemini 3.5 & Gemma Open-Weights Configuration", settings_apikey_label: "Google Gemini API Key (100% Free from AI Studio):", settings_apikey_ph: "Paste your AI Studio API key (AIzaSy...)", settings_apikey_hint: "API Key is saved securely in your browser/device local storage.", @@ -366,8 +366,8 @@ const I18N_DICTIONARY = { settings_webhook_label: "n8n Auto-Post Webhook URL (Aura Ajentic AI):", settings_webhook_hint: "Pre-configured with your n8n cloud instance at n8n.auraajenticai.cloud", btn_save_settings: "💾 Save Settings & Test Connection", - about_title: "💎 About Google Opal AI (iOS Edition)", - about_desc: "This web studio is engineered specifically for iPhone (iOS Safari / PWA) and client dashboards with 0ms latency, native 2D canvas GPU rendering, and official Google Gemini 2.0 AI integration.", + about_title: "💎 About Aura Studio", + about_desc: "This web studio is engineered specifically for iPhone (iOS Safari / PWA) and client dashboards with 0ms latency, native 2D canvas GPU rendering, and official Gemini 3.5 AI integration.", iphone_tips: "📲 iPhone Tip: Tap the Share (📤) button at the bottom of Safari and select 'Add to Home Screen' for a full-screen native app experience on your iPhone!", // Bottom Navigation @@ -543,7 +543,7 @@ window.copyText = function(elementId) { } }; -// --- Settings & Gemini 2.0 API Engine --- +// --- Settings & Gemini 3.5 API Engine --- function initSettings() { const apiKeyInput = document.getElementById('apiKeyInput'); const modelSelect = document.getElementById('modelSelect'); @@ -580,10 +580,10 @@ function initSettings() { statusMsg.classList.remove('hidden'); statusMsg.style.color = '#F472B6'; - statusMsg.textContent = '⏳ Testing Gemini 2.0 AI connection with Google...'; + statusMsg.textContent = '⏳ Testing Gemini 3.5 AI connection with Google...'; try { - const res = await callGeminiApi(key, model, "Respond with: 'Google Opal AI Connected successfully!'"); + const res = await callGeminiApi(key, model, "Respond with: 'Aura Studio Connected successfully!'"); if (res) { localStorage.setItem('opal_gemini_api_key', key); localStorage.setItem('opal_selected_model', model); @@ -598,7 +598,7 @@ function initSettings() { } } -// --- Google Gemini 2.0 / Gemma Quota-Optimized API Client --- +// --- Gemini 3.5 / Gemma Quota-Optimized API Client --- const GEMINI_CACHE = new Map(); function getCachedPromptResult(cacheKey) { @@ -887,7 +887,7 @@ Include: badge: 'AI SHIELD', desc: 'কাস্টমারের ফোন নাম্বার, ঠিকানা ও অর্ডারের পরিমাণ বিশ্লেষণ করে রিটার্ন ফ্রড রিস্ক স্কোর দেয়।', descEn: 'Analyzes phone numbers, addresses & order sizes to predict return & fraud risk.', - steps: 'Real-time • Gemini 2.0', + steps: 'Real-time • Gemini 3.5', fields: [ { id: 'field1', label: 'কাস্টমারের ফোন নাম্বার (Phone Number)', placeholder: 'e.g. 01819998877' }, { id: 'field2', label: 'ঠিকানা ও অর্ডারের মূল্য (Address & Amount)', placeholder: 'e.g. Mirpur 10, Dhaka - Amount: ৳ 3,200' } @@ -1049,7 +1049,7 @@ function renderMiniApps() {
${(isEn && app.descEn) ? app.descEn : (app.desc || 'AI powered dynamic mini-app for client dashboard.')}