// Pillar page renderer — content-rich with pain points, solutions, features, FAQ, related industries, internal cross-links const SFPillarPage = ({ pillarId, lang, accent, setPage }) => { const t = (en, zh) => sfT(lang, en, zh); const p = SF_PILLARS[pillarId]; if (!p) return null; const txt = lang === 'en' ? p.en : p.zh; const relatedPillars = (p.relatedPillars || SF_PILLAR_LIST.filter(id=>id!==pillarId).slice(0,4)); const relatedIndustries = (p.relatedIndustries || []); return (
{/* BREADCRUMB */}
setPage('home')} style={{ cursor:'pointer' }}>{t('HOME','主頁')} / setPage('services')} style={{ cursor:'pointer' }}>{t('SERVICES','服務')} / {txt.kicker}
{/* HERO */}
{p.cat?.toUpperCase()} / {txt.kicker}

{txt.title}

{txt.lede}

{t('Talk to an engineer','即時聯絡工程師')}
{/* PAIN POINTS */}
{t('The problem we solve','要解決的問題')}

{t('Sound familiar?','聽起來熟悉嗎?')}

{txt.painPoints.map((pp, i) => (
✕ {t('PAIN','痛點')} {String(i+1).padStart(2,'0')}

{pp.h}

{pp.b}

))}
{/* SOLUTIONS */}
{t('What we deploy','我們的方案')}

{t('A complete capability — not a single product.', '完整交付能力 — 而非單一產品。')}

{txt.solutions.map((s, i) => (
{String(i+1).padStart(2,'0')} · {p.cat?.toUpperCase()}

{s.h}

{s.b}

))}
{/* FEATURES + VENDORS */}
{t('Features','功能特色')}

{t('What sets our delivery apart.','我們的交付特色。')}

{txt.features.map((f, i) => (
{f.h}
{f.b}
))}
{t('Vendors we deploy','合作的廠商')}

{t('Major brands, sourced fairly.', '主流品牌 · 公平採購。')}

{t("We're vendor-neutral. We pick the right brand for your scale, budget, and what your team already runs.", '我們不偏向任何廠商,按您的規模、預算及現有環境選擇最合適的品牌。')}

{p.vendors.map((v, i) => ( {v} ))}
{/* FAQ */}
{t('FAQ','常見問題')}

{t('Questions clients usually ask.','客戶常問的問題。')}

{t('More questions? Call us — engineers, not salespeople.', '更多問題?致電我們 — 由工程師接聽,並非銷售。')}

{txt.faq.map((f, i) => (
Q. {f.q}
{f.a}
))}
{/* RELATED INDUSTRIES */} {relatedIndustries.length > 0 && (
{t('Industries that use this','常用此服務的行業')}

{t('Where this capability is most often deployed.','此服務最常見於以下行業。')}

{relatedIndustries.map((iid, i) => { const ind = SF_INDUSTRY_PAGES[iid]; if (!ind) return null; const x = lang==='en' ? ind.en : ind.zh; return ( setPage(`industry:${iid}`)} style={{ padding:'22px', cursor:'pointer', background:'var(--bg-default)', borderRight: ie.currentTarget.style.background='var(--bg-fill-1)'} onMouseLeave={e=>e.currentTarget.style.background='var(--bg-default)'}>
{t('INDUSTRY','行業')}
{x.name}
{x.title}
{t('View industry page →','行業頁面 →')}
); })}
)} {/* RELATED PILLARS */}
{t('Related capabilities','相關服務')}

{t('We do all of this — usually together.', '通常一併處理。')}

{relatedPillars.slice(0,4).map((id, i) => { const rp = SF_PILLARS[id]; if (!rp) return null; const rt = lang==='en' ? rp.en : rp.zh; return ( setPage(`pillar:${id}`)} style={{ padding:'22px', cursor:'pointer', background:'var(--bg-card)', borderRight: i<3 ? '1px solid var(--border-subtle)' : 'none', transition:'background 180ms', }} onMouseEnter={e=>e.currentTarget.style.background='var(--bg-fill-1)'} onMouseLeave={e=>e.currentTarget.style.background='var(--bg-card)'}>
{rp.cat?.toUpperCase()}
{rt.kicker}
{rt.title}
); })}
); }; window.SFPillarPage = SFPillarPage;