feat(supporters): 주변 안내(/stay·/en/stay) 뷰 샘플에 추가 · 내비·언어 짝·사이트맵·스타일 이식, 구조 기준선 갱신
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
daf6350c49
commit
dca494fc21
9 files changed
+1224
-12
No files matched your search
@@ -6,6 +6,7 @@ export type Lang = 'ko' | 'en';
|
||||
const PAIRS: [string, string][] = [
|
||||
['/', '/en'],
|
||||
['/plan', '/en/plan'],
|
||||
['/stay', '/en/stay'],
|
||||
];
|
||||
export function switchHref(pathname: string, to: Lang): string {
|
||||
const p = pathname.replace(/\/index\.html$/, '/').replace(/\.html$/, '').replace(/\/$/, '') || '/';
|
||||
@@ -21,7 +22,7 @@ export const UI: Record<Lang, Record<string, string>> = {
|
||||
ko: {
|
||||
sample: '샘플 사이트입니다. 정식 공개 전입니다.',
|
||||
brand: '서포터즈',
|
||||
nav_posts: '상담 전 질문', nav_videos: '의료진 영상', nav_news: '뉴스룸', nav_visit: '방문 안내', nav_plan: '회복 일정', nav_about: '매체 소개',
|
||||
nav_posts: '상담 전 질문', nav_videos: '의료진 영상', nav_news: '뉴스룸', nav_stay: '주변 안내', nav_visit: '방문 안내', nav_plan: '회복 일정', nav_about: '매체 소개',
|
||||
cta: '상담 예약',
|
||||
back: '이전 페이지', backAria: '이전 페이지로 돌아가기', totop: '맨 위로',
|
||||
switchLabel: 'EN', switchAria: 'Switch to English',
|
||||
@@ -33,7 +34,7 @@ export const UI: Record<Lang, Record<string, string>> = {
|
||||
en: {
|
||||
sample: 'Sample site. Not yet public.',
|
||||
brand: 'Supporters',
|
||||
nav_home: 'Home', nav_plan: 'Recovery Planner', nav_visit: 'Getting Here', nav_clinic: 'Clinic Facts', nav_korean: '한국어 전체 보기',
|
||||
nav_home: 'Home', nav_stay: 'Nearby', nav_plan: 'Recovery Planner', nav_visit: 'Getting Here', nav_clinic: 'Clinic Facts', nav_korean: '한국어 전체 보기',
|
||||
cta: 'Book a consultation',
|
||||
back: 'Back', backAria: 'Go back to the previous page', totop: 'Back to top',
|
||||
switchLabel: 'KO', switchAria: '한국어로 보기',
|
||||
|
||||
Reference in new issue
Block a user