--- // 회복기 스케줄러 본문 (설계 v0.2 §13). /plan(한국어)과 /en/plan(영어)이 같은 컴포넌트를 lang 만 바꿔 쓴다. // 구성은 홈·영상 페이지와 같은 섹션 리듬이다: 다크 히어로(글래스 통계) → 틴트(입력 카드) → 다크(핵심 날짜) → 라이트(확인·규칙) → 틴트(타임라인) → 다크(예약). // 건강정보(시술·수술일)는 서버로 보내지 않는다. 상태는 URL 해시로만 공유하고, 언어 전환은 해시를 들고 다른 언어 페이지로 이동한다. import '../styles/plan.css'; import strings from '../data/planStrings.json'; import P from '../data/procedures.json'; import PL from '../data/places.json'; interface Props { lang: 'ko' | 'en' } const { lang } = Astro.props; const t = strings[lang]; const nProcs = P.procedures.length; const nPlaces = PL.places.filter((x) => x.category !== 'hotel').length; const nHotels = PL.places.filter((x) => x.category === 'hotel').length; ---
{t.eyebrow}

{t.h_hero}

{t.title} {t.lede}

{nProcs}{t.stat_procs}{t.stat_procs_d}
{nPlaces}{t.stat_places}{t.stat_places_d}
{nHotels}{t.stat_hotels}{t.stat_hotels_d}
0{t.stat_privacy}{t.stat_privacy_d}