214 lines
6.1 KiB
Vue
214 lines
6.1 KiB
Vue
<script setup lang="ts">
|
|
import { privacyPolicyContentBundle } from '~/data/privacy-policy-content'
|
|
import type { SiteLocale } from '~/types/locale'
|
|
|
|
const content = useLocalized(privacyPolicyContentBundle)
|
|
const { locale, t } = useSiteLocale()
|
|
|
|
const heroAriaLabel: Record<SiteLocale, string> = {
|
|
en: 'Privacy Policy introduction',
|
|
zh: '隐私政策介绍',
|
|
ar: 'مقدمة سياسة الخصوصية',
|
|
ru: 'Введение в политику конфиденциальности'
|
|
}
|
|
|
|
const seoDescription: Record<SiteLocale, string> = {
|
|
en: 'UMedGlobal Privacy Policy: how we collect, use, protect, and share your personal and medical information for cross-border healthcare coordination in China.',
|
|
zh: '优医隐私政策:我们如何收集、使用、保护与共享您的个人及医疗信息,以支持中国跨境医疗协调服务。',
|
|
ar: 'سياسة خصوصية UMedGlobal: كيف نجمع معلوماتكم الشخصية والطبية ونستخدمها ونحميها ونشاركها لتنسيق الرعاية الصحية عبر الحدود في الصين.',
|
|
ru: 'Политика конфиденциальности UMedGlobal: как мы собираем, используем, защищаем и передаём ваши персональные и медицинские данные для трансграничной медицинской координации в Китае.'
|
|
}
|
|
|
|
const contactCta: Record<SiteLocale, { before: string; link: string; after: string }> = {
|
|
en: {
|
|
before: 'If you have any questions or concerns about this Privacy Policy or our data practices, please',
|
|
link: 'contact us',
|
|
after: '.'
|
|
},
|
|
zh: {
|
|
before: '如对本隐私政策或数据处理有任何疑问,请',
|
|
link: '联系我们',
|
|
after: '。'
|
|
},
|
|
ar: {
|
|
before: 'إذا كانت لديكم أي أسئلة أو مخاوف بشأن سياسة الخصوصية هذه أو ممارساتنا المتعلقة بالبيانات، يُرجى',
|
|
link: 'الاتصال بنا',
|
|
after: '.'
|
|
},
|
|
ru: {
|
|
before: 'Если у вас есть вопросы или замечания по настоящей Политике конфиденциальности или нашим практикам обработки данных, пожалуйста,',
|
|
link: 'свяжитесь с нами',
|
|
after: '.'
|
|
}
|
|
}
|
|
|
|
usePageSeo({
|
|
title: () => formatPageTitle(t('footer.privacyPolicy'), locale.value),
|
|
description: () => seoDescription[locale.value]
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div class="privacy-page">
|
|
<section class="privacy-hero" :aria-label="heroAriaLabel[locale]">
|
|
<div class="container privacy-hero__inner">
|
|
<h1 class="privacy-hero__title">{{ content.privacyPolicyMeta.pageTitle }}</h1>
|
|
<p class="privacy-hero__date">{{ content.privacyPolicyMeta.effectiveDate }}</p>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="privacy-body" aria-label="Privacy Policy content">
|
|
<div class="container privacy-body__inner">
|
|
<article
|
|
v-for="section in content.privacyPolicySections"
|
|
:id="`section-${section.number}`"
|
|
:key="section.number"
|
|
class="privacy-section"
|
|
>
|
|
<h2 class="privacy-section__title">
|
|
{{ section.number }}. {{ section.title }}
|
|
</h2>
|
|
|
|
<p
|
|
v-for="(para, i) in section.paragraphs"
|
|
:key="`p-${i}`"
|
|
class="privacy-section__p"
|
|
>
|
|
<template v-if="section.number === '10'">
|
|
{{ contactCta[locale].before }}
|
|
<NuxtLink to="/#contact" class="privacy-section__link">{{
|
|
contactCta[locale].link
|
|
}}</NuxtLink>{{ contactCta[locale].after }}
|
|
</template>
|
|
<template v-else>{{ para }}</template>
|
|
</p>
|
|
|
|
<ul v-if="section.listItems?.length" class="privacy-section__list">
|
|
<li v-for="(item, i) in section.listItems" :key="i">
|
|
<strong>{{ item.label }}</strong> {{ item.text }}
|
|
</li>
|
|
</ul>
|
|
</article>
|
|
|
|
<p class="privacy-disclaimer">{{ content.privacyPolicyMeta.disclaimer }}</p>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.privacy-page {
|
|
--privacy-bar: var(--section-bar);
|
|
--privacy-heading: var(--blue-light);
|
|
}
|
|
|
|
.privacy-hero {
|
|
background: var(--privacy-bar);
|
|
padding: 32px 0 36px;
|
|
}
|
|
.privacy-hero__inner {
|
|
max-width: 920px;
|
|
}
|
|
.privacy-hero__title {
|
|
margin: 0 0 10px;
|
|
font-size: clamp(22px, 2.8vw, 30px);
|
|
font-weight: 700;
|
|
color: #fff;
|
|
line-height: 1.35;
|
|
}
|
|
.privacy-hero__date {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
color: #fff;
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.privacy-body {
|
|
background: #fff;
|
|
padding: 40px 0 56px;
|
|
}
|
|
.privacy-body__inner {
|
|
max-width: 920px;
|
|
}
|
|
|
|
.privacy-section {
|
|
margin-bottom: 32px;
|
|
}
|
|
.privacy-section:last-of-type {
|
|
margin-bottom: 28px;
|
|
}
|
|
.privacy-section__title {
|
|
margin: 0 0 14px;
|
|
font-size: clamp(18px, 2.2vw, 22px);
|
|
font-weight: 700;
|
|
color: var(--privacy-heading);
|
|
line-height: 1.35;
|
|
}
|
|
.privacy-section__p {
|
|
margin: 0 0 12px;
|
|
font-size: 15.5px;
|
|
line-height: 1.75;
|
|
color: #2d4055;
|
|
}
|
|
.privacy-section__p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.privacy-section__link {
|
|
color: var(--blue);
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
.privacy-section__link:hover {
|
|
opacity: 0.85;
|
|
}
|
|
.privacy-section__list {
|
|
margin: 8px 0 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.privacy-section__list li {
|
|
position: relative;
|
|
padding-left: 18px;
|
|
margin-bottom: 12px;
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
color: #2d4055;
|
|
}
|
|
.privacy-section__list li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.privacy-section__list li::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0.55em;
|
|
width: 6px;
|
|
height: 6px;
|
|
background: var(--privacy-heading);
|
|
border-radius: 1px;
|
|
transform: translateY(-50%);
|
|
}
|
|
.privacy-section__list strong {
|
|
font-weight: 700;
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.privacy-disclaimer {
|
|
margin: 0;
|
|
padding-top: 24px;
|
|
border-top: 1px solid #e2e8f0;
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
color: #4a5f72;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.privacy-hero {
|
|
padding: 24px 0 28px;
|
|
}
|
|
.privacy-body {
|
|
padding: 28px 0 40px;
|
|
}
|
|
}
|
|
</style>
|