import { type PolicySection } from './types';
type TFn = (key: string) => string;
export function getPrivacySections(t: TFn): PolicySection[] {
return [
{
value: 'collection-details',
title: t('privacy.section1.title'),
content: (
{t('privacy.section1.desc')}
{t('privacy.section1.authInfo')}
{t('privacy.section1.authInfoDesc')}
{t('privacy.section1.authInfoNote')}
{t('privacy.section1.logInfo')}
{t('privacy.section1.logInfoDesc')}
),
},
{
value: 'storage-security',
title: t('privacy.section2.title'),
content: (
{t('privacy.section2.desc')}
-
{t('privacy.section2.storageSecurity')}
{t('privacy.section2.storageSecurityDesc')}
-
{t('privacy.section2.encryption')}
{t('privacy.section2.encryptionDesc')}
-
{t('privacy.section2.accessControl')}
{t('privacy.section2.accessControlDesc')}
),
},
{
value: 'usage-rules',
title: t('privacy.section3.title'),
content: (
{t('privacy.section3.desc')}
-
{t('privacy.section3.identity')}
{t('privacy.section3.identityDesc')}
-
{t('privacy.section3.business')}
{t('privacy.section3.businessDesc')}
-
{t('privacy.section3.riskControl')}
{t('privacy.section3.riskControlDesc')}
{t('privacy.section3.prohibited')}
{t('privacy.section3.prohibitedDesc')}
),
},
{
value: 'sharing-disclosure',
title: t('privacy.section4.title'),
content: (
{t('privacy.section4.sharingPrinciple')}
{t('privacy.section4.sharingPrincipleDesc')}
- {t('privacy.section4.sharingException1')}
- {t('privacy.section4.sharingException2')}
{t('privacy.section4.transfer')}
{t('privacy.section4.transferDesc')}
),
},
{
value: 'user-rights',
title: t('privacy.section5.title'),
content: (
{t('privacy.section5.desc')}
{t('privacy.section5.viewManage')}
{t('privacy.section5.viewManageDesc')}
{t('privacy.section5.deleteAccount')}
{t('privacy.section5.deleteAccountDesc')}
),
},
{
value: 'policy-update',
title: t('privacy.section6.title'),
content: (
{t('privacy.section6.desc')}
{t('privacy.section6.notification')}
),
},
];
}