From 353e020fd6eb094349376cfd0d7fe67522c7b45e Mon Sep 17 00:00:00 2001 From: AJ Date: Wed, 9 Sep 2026 09:54:00 +0800 Subject: [PATCH] fix: remove duplicate hero search box causing homepage confusion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AJ relayed user feedback: "唔知打邊個框去搜" (don't know which box to search in). Root cause: the hero section stacked TWO nearly-identical input+button rows right on top of each other -- .search-bar (#heroTicker, "輸入股票代號 AAPL" -> ai-analysis.html) directly above .ask-ai-bar (#heroAskAi, "直接問AI" -> chat.html), both the same visual shape. Fix: remove the .ask-ai-bar block from the hero across index.html + all 18 language copies (same duplicated-per-locale structure as the rest of this site). The free-text "ask AI anything" capability isn't lost -- the "免費體驗" demo section further down the page (#demoTicker) already handles both bare tickers AND free-text questions via the existing XFLSmartRouter (js/smart-router.js), so this removes the confusing duplicate rather than removing functionality. Scoped to just the HTML block (verified via automated div-tag-balance check across all 19 files before/after) -- goAskAi()/heroAskAi CSS classes are left in place as inert dead code rather than touched, to keep this diff minimal and low-risk on a live marketing page. Unrelated pre-existing test failure noted, not caused by this change: tests/step_defs/test_i18n_coverage.py flags 'profile_save_btn' missing in 43 languages in services/i18n.py (untouched by this commit). --- ar/index.html | 10 ---------- bn/index.html | 10 ---------- de/index.html | 10 ---------- es/index.html | 10 ---------- fa/index.html | 10 ---------- fr/index.html | 10 ---------- hi/index.html | 10 ---------- id/index.html | 10 ---------- index.html | 11 ----------- it/index.html | 10 ---------- ja/index.html | 10 ---------- ko/index.html | 10 ---------- mr/index.html | 10 ---------- pcm/index.html | 10 ---------- pt/index.html | 10 ---------- ru/index.html | 10 ---------- ur/index.html | 10 ---------- zh-CN/index.html | 10 ---------- zh-TW/index.html | 10 ---------- 19 files changed, 191 deletions(-) diff --git a/ar/index.html b/ar/index.html index 3349362..eca6b05 100644 --- a/ar/index.html +++ b/ar/index.html @@ -530,16 +530,6 @@

أدوات بحث بالذكاء الاص - -
- - -
diff --git a/bn/index.html b/bn/index.html index 39eabf5..4ee2679 100644 --- a/bn/index.html +++ b/bn/index.html @@ -530,16 +530,6 @@

প্রাতিষ্ঠানিক-

- -
- - -
diff --git a/de/index.html b/de/index.html index 0121832..9420ef1 100644 --- a/de/index.html +++ b/de/index.html @@ -530,16 +530,6 @@

KI-Recherche-Tools auf Institutionellem N

- -
- - -
diff --git a/es/index.html b/es/index.html index e543b09..8c99aae 100644 --- a/es/index.html +++ b/es/index.html @@ -530,16 +530,6 @@

Herramientas de Investigación con IA de

- -
- - -
diff --git a/fa/index.html b/fa/index.html index 01b8dbf..63a132b 100644 --- a/fa/index.html +++ b/fa/index.html @@ -530,16 +530,6 @@

ابزارهای پژوهشی هوش مص

- -
- - -
diff --git a/fr/index.html b/fr/index.html index 2b0007a..a22f156 100644 --- a/fr/index.html +++ b/fr/index.html @@ -530,16 +530,6 @@

Outils de Recherche IA de Niveau Institut

- -
- - -
diff --git a/hi/index.html b/hi/index.html index 6c9e564..26be61f 100644 --- a/hi/index.html +++ b/hi/index.html @@ -530,16 +530,6 @@

इंस्टीट्यूशनल-

- -
- - -
diff --git a/id/index.html b/id/index.html index f802956..81cffd5 100644 --- a/id/index.html +++ b/id/index.html @@ -530,16 +530,6 @@

Alat Riset AI Kelas Institusional<

- -
- - -
diff --git a/index.html b/index.html index 83fc213..45ab964 100644 --- a/index.html +++ b/index.html @@ -858,18 +858,7 @@

Institutional-Grade AI Resea

- -
- -
-
diff --git a/it/index.html b/it/index.html index ef7d8be..fd23361 100644 --- a/it/index.html +++ b/it/index.html @@ -530,16 +530,6 @@

Strumenti di Ricerca AI di Livello Istitu

- -
- - -
diff --git a/ja/index.html b/ja/index.html index d3f20e9..1d5bbcd 100644 --- a/ja/index.html +++ b/ja/index.html @@ -530,16 +530,6 @@

機関投資家レベルのAIリサーチ

- -
- - -
diff --git a/ko/index.html b/ko/index.html index 4038ec0..eddcd31 100644 --- a/ko/index.html +++ b/ko/index.html @@ -530,16 +530,6 @@

기관급 AI 리서치 도구
<

- -
- - -
diff --git a/mr/index.html b/mr/index.html index b52a098..e829a82 100644 --- a/mr/index.html +++ b/mr/index.html @@ -530,16 +530,6 @@

इन्स्टिट्यूशन

- -
- - -
diff --git a/pcm/index.html b/pcm/index.html index 950ec8f..024b4a0 100644 --- a/pcm/index.html +++ b/pcm/index.html @@ -530,16 +530,6 @@

Institutional-Grade AI Research Tools

- -
- - -
diff --git a/pt/index.html b/pt/index.html index a34bbf3..8bc02d0 100644 --- a/pt/index.html +++ b/pt/index.html @@ -530,16 +530,6 @@

Ferramentas de Pesquisa AI de Nível Inst

- -
- - -
diff --git a/ru/index.html b/ru/index.html index 3759e0f..40f2309 100644 --- a/ru/index.html +++ b/ru/index.html @@ -530,16 +530,6 @@

Инструменты ИИ-исслед

- -
- - -
diff --git a/ur/index.html b/ur/index.html index 0d0cc0d..5d748d2 100644 --- a/ur/index.html +++ b/ur/index.html @@ -530,16 +530,6 @@

ادارہ جاتی سطح کے AI ریس

- -
- - -
diff --git a/zh-CN/index.html b/zh-CN/index.html index cdf82f6..0429028 100644 --- a/zh-CN/index.html +++ b/zh-CN/index.html @@ -530,16 +530,6 @@

机构级 AI 研究工具

- -
- - -
diff --git a/zh-TW/index.html b/zh-TW/index.html index f3e2acc..d4092cc 100644 --- a/zh-TW/index.html +++ b/zh-TW/index.html @@ -530,16 +530,6 @@

機構級 AI 研究工具

- -
- - -