diff options
Diffstat (limited to 'components/polices/policy-editor.tsx')
| -rw-r--r-- | components/polices/policy-editor.tsx | 75 |
1 files changed, 70 insertions, 5 deletions
diff --git a/components/polices/policy-editor.tsx b/components/polices/policy-editor.tsx index d58831e0..bf99b659 100644 --- a/components/polices/policy-editor.tsx +++ b/components/polices/policy-editor.tsx @@ -17,6 +17,7 @@ interface PolicyEditorProps { onCancel: () => void onPreview: (policyType: string, content: string, version: string) => void isLoading?: boolean + currentLocale?: 'ko' | 'en' } export function PolicyEditor({ @@ -25,7 +26,8 @@ export function PolicyEditor({ onSave, onCancel, onPreview, - isLoading = false + isLoading = false, + currentLocale = 'ko' }: PolicyEditorProps) { const [version, setVersion] = useState('') const [content, setContent] = useState('') @@ -52,13 +54,14 @@ export function PolicyEditor({ setContent(currentPolicy.content || '') } else { setVersion('1.0') - setContent(getDefaultPolicyContent(policyType)) + setContent(getDefaultPolicyContent(policyType, currentLocale)) } }, [currentPolicy, policyType]) - const getDefaultPolicyContent = (type: string) => { + const getDefaultPolicyContent = (type: string, locale: 'ko' | 'en') => { if (type === 'privacy_policy') { - return `<h1>개인정보 처리방침</h1> + if (locale === 'ko') { + return `<h1>개인정보 처리방침</h1> <h2>제1조 (목적)</h2> <p>본 개인정보 처리방침은 eVCP(이하 "회사")가 개인정보 보호법 등 관련 법령에 따라 정보주체의 개인정보를 보호하고 이와 관련된 고충을 신속하고 원활하게 처리할 수 있도록 하기 위하여 다음과 같은 처리방침을 수립·공개합니다.</p> @@ -90,8 +93,43 @@ export function PolicyEditor({ <li>개인정보 정정·삭제요구</li> <li>개인정보 처리정지요구</li> </ul>` + } else { + return `<h1>Privacy Policy</h1> + +<h2>Article 1 (Purpose)</h2> +<p>This Privacy Policy is established and disclosed by eVCP (hereinafter "the Company") in order to protect personal information of data subjects and promptly and smoothly handle grievances related thereto in accordance with the Personal Information Protection Act and other relevant laws.</p> + +<h2>Article 2 (Purpose of Collection and Use of Personal Information)</h2> +<p>The Company processes personal information for the following purposes:</p> +<ul> + <li>Member registration and management</li> + <li>Service provision and contract fulfillment</li> + <li>Customer consultation and complaint handling</li> +</ul> + +<h2>Article 3 (Items of Personal Information Collected)</h2> +<p><strong>Required items:</strong></p> +<ul> + <li>Email address</li> + <li>Phone number</li> + <li>Company name</li> +</ul> + +<h2>Article 4 (Retention and Use Period of Personal Information)</h2> +<p>The Company processes and retains personal information within the period of retention and use of personal information according to laws or the period of retention and use of personal information agreed upon when collecting personal information from data subjects.</p> + +<h2>Article 5 (Rights of Data Subjects)</h2> +<p>Data subjects may exercise the following rights related to personal information protection against the Company at any time:</p> +<ul> + <li>Request for notification of personal information processing status</li> + <li>Request for access to personal information</li> + <li>Request for correction or deletion of personal information</li> + <li>Request for suspension of processing of personal information</li> +</ul>` + } } else { - return `<h1>이용약관</h1> + if (locale === 'ko') { + return `<h1>이용약관</h1> <h2>제1조 (목적)</h2> <p>본 약관은 eVCP(이하 "회사")가 제공하는 서비스의 이용조건 및 절차, 회사와 회원 간의 권리, 의무 및 책임사항을 규정함을 목적으로 합니다.</p> @@ -116,6 +154,33 @@ export function PolicyEditor({ <li>문서 관리 서비스</li> <li>견적 제출 서비스</li> </ul>` + } else { + return `<h1>Terms of Service</h1> + +<h2>Article 1 (Purpose)</h2> +<p>These Terms of Service are established to regulate the terms and procedures for using the services provided by eVCP (hereinafter "the Company"), and the rights, obligations, and responsibilities between the Company and its members.</p> + +<h2>Article 2 (Definitions)</h2> +<ul> + <li><strong>"Service"</strong> means all services provided by the Company.</li> + <li><strong>"Member"</strong> means a person who agrees to these Terms of Service and enters into a service use contract with the Company.</li> + <li><strong>"Partner"</strong> means a corporation or individual business operator registered as a partner of the Company.</li> +</ul> + +<h2>Article 3 (Effectiveness and Amendment of Terms)</h2> +<p>These Terms of Service take effect for all members who intend to use the service.</p> + +<h2>Article 4 (Member Registration)</h2> +<p>Member registration is concluded when an applicant agrees to the contents of these Terms of Service, applies for member registration, and the Company approves such application.</p> + +<h2>Article 5 (Provision of Services)</h2> +<p>The Company provides the following services to members:</p> +<ul> + <li>Partner registration and management services</li> + <li>Document management services</li> + <li>Quotation submission services</li> +</ul>` + } } } |
