| 1 | /** |
| 2 | * DataDeletionPage - 数据删除指南页面 |
| 3 | * 展示如何删除 AiToEarn 账户和个人数据的说明 |
| 4 | */ |
| 5 | import type { Metadata } from 'next' |
| 6 | import { useTranslation } from '@/app/i18n' |
| 7 | import { fallbackLng, languages } from '@/app/i18n/settings' |
| 8 | import { getMetadata } from '@/utils/metadata' |
| 9 | import styles from '../websit.module.scss' |
| 10 | |
| 11 | export async function generateMetadata({ |
| 12 | params, |
| 13 | }: { |
| 14 | params: Promise<{ lng: string }> |
| 15 | }): Promise<Metadata> { |
| 16 | let { lng } = await params |
| 17 | if (!languages.includes(lng)) |
| 18 | lng = fallbackLng |
| 19 | |
| 20 | const { t } = await useTranslation(lng, 'websit') |
| 21 | |
| 22 | return getMetadata( |
| 23 | { |
| 24 | title: t('dataDeletion.title'), |
| 25 | description: t('dataDeletion.description'), |
| 26 | keywords: t('dataDeletion.keywords'), |
| 27 | }, |
| 28 | lng, |
| 29 | '/websit/data-deletion', |
| 30 | ) |
| 31 | } |
| 32 | |
| 33 | export default function DataDeletionPage() { |
| 34 | return ( |
| 35 | <div className={styles.websitPage}> |
| 36 | <main className={styles.main}> |
| 37 | <div className={styles.container}> |
| 38 | <div className={styles.header}> |
| 39 | <h1 className={styles.title}>Data Deletion Instructions</h1> |
| 40 | <p className={styles.lastUpdated}>Last Updated: 2025.6.27</p> |
| 41 | </div> |
| 42 | |
| 43 | <div className={styles.content}> |
| 44 | <section className={styles.section}> |
| 45 | <h2 className={styles.sectionTitle}>For Pre-Launch Users:</h2> |
| 46 | <p className={styles.sectionContent}> |
| 47 | Our application is currently in pre-launch phase and does not store real user data. |
| 48 | If you have interacted with our test systems, contact us for data removal. |
| 49 | </p> |
| 50 | </section> |
| 51 | |
| 52 | <section className={styles.section}> |
| 53 | <h2 className={styles.sectionTitle}>Standard Procedure (Post-Launch):</h2> |
| 54 | <ol className={styles.stepsList}> |
| 55 | <li className={styles.stepItem}> |
| 56 | <div className={styles.stepNumber}>1</div> |
| 57 | <div className={styles.stepText}>Log in to your AiToEarn account</div> |
| 58 | </li> |
| 59 | <li className={styles.stepItem}> |
| 60 | <div className={styles.stepNumber}>2</div> |
| 61 | <div className={styles.stepText}>Navigate to Settings > Privacy</div> |
| 62 | </li> |
| 63 | <li className={styles.stepItem}> |
| 64 | <div className={styles.stepNumber}>3</div> |
| 65 | <div className={styles.stepText}>Click "Request Account Deletion"</div> |
| 66 | </li> |
| 67 | <li className={styles.stepItem}> |
| 68 | <div className={styles.stepNumber}>4</div> |
| 69 | <div className={styles.stepText}> |
| 70 | Confirmation will be sent to your registered email |
| 71 | </div> |
| 72 | </li> |
| 73 | </ol> |
| 74 | </section> |
| 75 | |
| 76 | <section className={styles.section}> |
| 77 | <h2 className={styles.sectionTitle}>Contact for Assistance:</h2> |
| 78 | <div className={styles.contactInfo}> |
| 79 | <h3 className={styles.contactTitle}>Pre-launch inquiries only</h3> |
| 80 | <p className={styles.contactText}> |
| 81 | <strong>Email:</strong> |
| 82 | {' '} |
| 83 | metat@aitoearning.com |
| 84 | </p> |
| 85 | </div> |
| 86 | </section> |
| 87 | |
| 88 | <section className={styles.section}> |
| 89 | <div className={styles.warningBox}> |
| 90 | <h3 className={styles.warningTitle}>Important Note:</h3> |
| 91 | <p className={styles.warningText}> |
| 92 | This page will be automatically updated upon app launch |
| 93 | </p> |
| 94 | </div> |
| 95 | </section> |
| 96 | </div> |
| 97 | </div> |
| 98 | </main> |
| 99 | </div> |
| 100 | ) |
| 101 | } |
| 102 |