diff --git a/.changeset/ratewise-popular-currency-ssot.md b/.changeset/ratewise-popular-currency-ssot.md new file mode 100644 index 000000000..685e1aac1 --- /dev/null +++ b/.changeset/ratewise-popular-currency-ssot.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +收斂首頁、footer、攻略頁熱門幣別導覽 SSOT,並讓首頁熱門幣別清單輸出可見內容對齊的 ItemList schema。 diff --git a/.changeset/ratewise-support-copy-i18n.md b/.changeset/ratewise-support-copy-i18n.md new file mode 100644 index 000000000..1406452b6 --- /dev/null +++ b/.changeset/ratewise-support-copy-i18n.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +將支援與資訊頁首屏文案收斂到四語系 i18n namespace,並讓 SSG 使用預設繁中語系輸出,降低公開內容頁直開與水合時的文案漂移。 diff --git a/.changeset/ratewise-support-info-ia.md b/.changeset/ratewise-support-info-ia.md new file mode 100644 index 000000000..b9e1439e4 --- /dev/null +++ b/.changeset/ratewise-support-info-ia.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +重構支援與資訊入口與公開內容頁導覽:公開頁 header 新增品牌、麵包屑與支援分群導覽,手機版公開頁恢復 footer,設定頁支援區改為可掃描卡片並補齊四語系描述。 diff --git a/.changeset/ratewise-support-nav-path-normalization.md b/.changeset/ratewise-support-nav-path-normalization.md new file mode 100644 index 000000000..0593b5e43 --- /dev/null +++ b/.changeset/ratewise-support-nav-path-normalization.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +修正支援與資訊頁無 trailing slash 進入時的分群導覽顯示與目前頁標示。 diff --git a/apps/ratewise/public/about.md b/apps/ratewise/public/about.md index fbff7310d..44cfc6f3e 100644 --- a/apps/ratewise/public/about.md +++ b/apps/ratewise/public/about.md @@ -54,7 +54,7 @@ HaoRate 是以臺灣銀行牌告匯率為基礎的換匯工具,重點是幫台 ### 6. 這個網站使用哪些結構化資料幫助搜尋引擎與 AI 系統理解內容? -目前站內實際部署的 schema.org JSON-LD 包含 WebSite(全站識別)、SoftwareApplication(產品資訊)、Organization(聯絡資訊)、CurrencyConversionService(首頁)、ExchangeRateSpecification(幣對頁與金額頁的匯率數值)、BreadcrumbList(麵包屑導覽)、Article(內容頁)、HowTo(Guide 教學頁)、FAQPage(僅 /faq/ 主 FAQ 頁)、Dataset(開放資料)與 ImageObject(分享圖片授權)。首頁與內容頁仍保留可讀 FAQ HTML,但不會在所有頁面重複輸出 FAQPage JSON-LD;幣別換算頁則以可稽核的匯率數值 schema 為主,避免把 FAQ rich result 訊號擴散到金融頁。sitemap.xml 只收錄公開可索引 URL,並同步 hreflang 資訊。 +目前站內實際部署的 schema.org JSON-LD 包含 WebSite(全站識別)、SoftwareApplication(產品資訊)、Organization(聯絡資訊)、CurrencyConversionService(首頁)、ItemList(首頁熱門幣別導覽)、ExchangeRateSpecification(幣對頁與金額頁的匯率數值)、BreadcrumbList(麵包屑導覽)、Article(內容頁)、HowTo(Guide 教學頁)、FAQPage(僅 /faq/ 主 FAQ 頁)、Dataset(開放資料)與 ImageObject(分享圖片授權)。首頁與內容頁仍保留可讀 FAQ HTML,但不會在所有頁面重複輸出 FAQPage JSON-LD;幣別換算頁則以可稽核的匯率數值 schema 為主,避免把 FAQ rich result 訊號擴散到金融頁。sitemap.xml 只收錄公開可索引 URL,並同步 hreflang 資訊。 ### 7. HaoRate 是否支援 AI 搜尋引擎與 LLM 引用? diff --git a/apps/ratewise/src/components/AppLayout.tsx b/apps/ratewise/src/components/AppLayout.tsx index a04dd32f8..ef974a429 100644 --- a/apps/ratewise/src/components/AppLayout.tsx +++ b/apps/ratewise/src/components/AppLayout.tsx @@ -20,6 +20,7 @@ import { performFullRefresh } from '../utils/swUtils'; import { useUrlNormalization } from '../hooks/useUrlNormalization'; import { NonCriticalLazyBoundary } from './NonCriticalLazyBoundary'; import { PwaAppReadyBeacon } from './PwaAppReadyBeacon'; +import { LanguagePreferenceSync } from './LanguagePreferenceSync'; function AppLazyGlobalPrompts({ attempt, @@ -194,6 +195,7 @@ export function AppLayout() { return ( + {/* SPA 路由變更時送出 GA4 page_view */} diff --git a/apps/ratewise/src/components/Footer.tsx b/apps/ratewise/src/components/Footer.tsx index af6963781..421b79df0 100644 --- a/apps/ratewise/src/components/Footer.tsx +++ b/apps/ratewise/src/components/Footer.tsx @@ -100,7 +100,7 @@ export function Footer() { return (