// 스펙트럼 스크롤이 끝난 뒤, Wellness Science 앞에 놓이는 "총 정리" 섹션. // 좌: 그래프 이미지 + 리더선에 붙는 라벨 오버레이 / 우: 5개 항목 텍스트. function SpectrumSummary() { const { t } = useI18n(); const items = t('spectrumSummary.items'); // 그래프 이미지(2888×2196) 우측 리더선 끝점을 픽셀로 측정해 %로 환산한 값. // 라벨을 이 높이에 맞춰 이미지 바깥(오른쪽 여백)에 배치한다. const leaders = [ { key: 'nat', left: '99.93%', top: '13.57%', color: '#3FA9F5', label: t('spectrumSummary.legendNatural') }, { key: 'sun', left: '94.15%', top: '40.44%', color: '#F5A623', label: t('spectrumSummary.legendSunlike') }, { key: 'std', left: '95.05%', top: '72.59%', color: '#111111', label: t('spectrumSummary.legendStandard') } ]; return (
{/* ── 좌: 제목 + 그래프 ── */}

{t('spectrumSummary.titleStrong')} {t('spectrumSummary.titleRest')}

{t('spectrumSummary.lead')}

{t('spectrumSummary.sub')}

{/* ss-imginner가 이미지와 정확히 같은 크기 → 라벨 %좌표의 기준이 된다. 라벨이 놓일 여백은 바깥 ss-imgbox의 padding-right로 확보. */}
{t('spectrumSummary.imageAlt')} {/* 리더선 끝에 붙는 라벨 — 데스크톱에서만 노출 */}
{/* 좁은 화면에서는 오버레이 대신 범례 목록으로 대체 */}
{t('spectrumSummary.graphNote')}

{t('spectrumSummary.caption')}

{/* ── 우: 5개 항목 ── */}
{items.map((it, i) =>

{it.title}

{it.body}

)}
); } window.SpectrumSummary = SpectrumSummary;