78 lines
2.3 KiB
TypeScript
78 lines
2.3 KiB
TypeScript
import type { LocaleBundle, SiteLocale } from '~/types/locale'
|
|
import { pickLocale } from '~/utils/pick-locale'
|
|
|
|
type PatientGuideNavItem = {
|
|
label: string
|
|
to: string
|
|
}
|
|
|
|
const patientGuideDropdownBundle: LocaleBundle<readonly PatientGuideNavItem[]> = {
|
|
en: [
|
|
{
|
|
label: 'Why Choose China for Medical Tourism',
|
|
to: '/patient-guide/why-choose-china-for-medical-tourism'
|
|
},
|
|
{
|
|
label: 'China Medical Tourism Visa Guide',
|
|
to: '/patient-guide/china-medical-tourism-visa-guide'
|
|
},
|
|
{
|
|
label: 'How To Get China Medical S1/s2 Visa',
|
|
to: '/patient-guide/how-to-get-china-medical-s1-s2-visa'
|
|
},
|
|
{
|
|
label: 'Explore China Visa-Free: Your Gateway to',
|
|
to: '/patient-guide/explore-china-visa-free'
|
|
},
|
|
{
|
|
label: "China Healthcare: A Foreigner's Definiti",
|
|
to: '/patient-guide/china-healthcare-a-foreigners-definitive-guide'
|
|
},
|
|
{
|
|
label: 'Secure & Convenient WeChat Pay for Medic',
|
|
to: '/patient-guide/secure-convenient-wechat-pay-for-medical-tourism'
|
|
},
|
|
{
|
|
label: 'How to Set Up & Use Alipay for MedicalT',
|
|
to: '/patient-guide/how-to-set-up-use-alipay-for-medical-tourism'
|
|
}
|
|
],
|
|
zh: [
|
|
{
|
|
label: '为何选择中国医疗旅游',
|
|
to: '/patient-guide/why-choose-china-for-medical-tourism'
|
|
},
|
|
{
|
|
label: '中国医疗旅游签证指南',
|
|
to: '/patient-guide/china-medical-tourism-visa-guide'
|
|
},
|
|
{
|
|
label: '如何申请中国医疗 S1/S2 签证',
|
|
to: '/patient-guide/how-to-get-china-medical-s1-s2-visa'
|
|
},
|
|
{
|
|
label: '探索中国免签:您的便捷通道',
|
|
to: '/patient-guide/explore-china-visa-free'
|
|
},
|
|
{
|
|
label: '中国就医:外籍人士权威指南',
|
|
to: '/patient-guide/china-healthcare-a-foreigners-definitive-guide'
|
|
},
|
|
{
|
|
label: '医疗旅游安全便捷的微信支付',
|
|
to: '/patient-guide/secure-convenient-wechat-pay-for-medical-tourism'
|
|
},
|
|
{
|
|
label: '医疗旅游支付宝设置与使用指南',
|
|
to: '/patient-guide/how-to-set-up-use-alipay-for-medical-tourism'
|
|
}
|
|
]
|
|
}
|
|
|
|
/** @deprecated 使用 getPatientGuideDropdown(locale) */
|
|
export const patientGuideDropdown = patientGuideDropdownBundle.en
|
|
|
|
export function getPatientGuideDropdown(locale: SiteLocale) {
|
|
return pickLocale(patientGuideDropdownBundle, locale)
|
|
}
|