- 템플릿: Planner.astro, lib/plan.ts·tour.ts, styles/plan.css, planStrings, pages plan·en/plan·404. Base 내비 회복 일정 → /plan, 언어 짝 /plan↔/en/plan, 옛 주소 리다이렉트(vercel.json), 사이트맵 - 워커 planner 단계(recovery 다음): scripts/build_planner_data.mjs 가 업종별 기본 규칙표(scripts/template/planner/procedures.plastic|derm.json)에 병원 시술 페이지 원문(recoveryNotes)을 matchKeywords 로 붙이고, 장소는 briefs/<clinic>/planner.places.json(큐레이션) 또는 범용 기본표(관광공사 기준 좌표)로 만든다 - 브리프: viewclinic·oracle 큐레이션 장소. 빈 템플릿(관광 데이터 없음)도 빌드·검증 통과(plan.test 14건) - 이전 세션의 미커밋 작업(피부과 수집·OCR·게이트·언어 스위치, stay 페이지 제거)도 이 커밋에 함께 들어감. docs/prd 변경은 제외 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
17 lines
1.3 KiB
Plaintext
17 lines
1.3 KiB
Plaintext
---
|
|
// Recovery planner, English page. Body lives in components/Planner.astro. Korean page is /plan.
|
|
import Base from '../../layouts/Base.astro';
|
|
import Planner from '../../components/Planner.astro';
|
|
import { fact, SITE_NAME, clinicSchema, v } from '../../lib';
|
|
const f = fact as Record<string, any>;
|
|
const clinicEn = (fact as Record<string, any>).nameEn || (fact as Record<string, any>).shortNameEn || (fact as Record<string, any>).shortName || 'the clinic';
|
|
const site = Astro.site!.toString().replace(/\/$/, '');
|
|
const ld = [
|
|
{ '@type': 'WebPage', '@id': `${site}/en/plan#page`, name: `${clinicEn} Recovery Planner`, url: `${site}/en/plan`, inLanguage: 'en', isPartOf: { '@id': `${site}/#website` }, about: { '@id': `${fact.url}/#clinic` }, publisher: { '@type': 'Organization', name: SITE_NAME, url: site } },
|
|
clinicSchema(site),
|
|
];
|
|
---
|
|
<Base lang="en" title="Recovery Planner · Arrival, earliest departure and recovery outings" description={`Plan your stay around your surgery date at ${clinicEn} in Seoul: when to arrive, the earliest you can fly home, which recovery days you can go out and where, plus hotels near the clinic. Calculated in your browser, stored nowhere.`} jsonLd={ld} alternates={[{ lang: 'ko', href: '/plan' }, { lang: 'en', href: '/en/plan' }]}>
|
|
<Planner lang="en" />
|
|
</Base>
|