From 73d40d9fbce37a13e7e509cb849f1b12fcb76f00 Mon Sep 17 00:00:00 2001 From: woohyun Date: Mon, 10 Aug 2026 02:38:15 +0900 Subject: [PATCH] =?UTF-8?q?[Modify]=20=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85?= =?UTF-8?q?=20=EC=95=BD=EA=B4=80=20=EB=85=B8=EC=B6=9C=20=EC=88=9C=EC=84=9C?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/signup/terms-page.tsx | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/pages/signup/terms-page.tsx b/src/pages/signup/terms-page.tsx index 1c7861d..8b567d8 100644 --- a/src/pages/signup/terms-page.tsx +++ b/src/pages/signup/terms-page.tsx @@ -15,7 +15,7 @@ import LoadingSpinner from '../../components/common/LoadingSpinner'; const NOTION_URL_BY_CODE: Record = { SERVICE: 'https://app.notion.com/p/368eb332282b80c39c48d3f7ab31558d?source=copy_link', PRIVACY: 'https://app.notion.com/p/391eb332282b806d90c0eff9827a7d5f?source=copy_link', - AI: 'https://app.notion.com/p/AI-392eb332282b809086f0d3f3915ec6c7?source=copy_link', + AI_SERVICE: 'https://app.notion.com/p/AI-392eb332282b809086f0d3f3915ec6c7?source=copy_link', MARKETING: 'https://app.notion.com/p/39aeb332282b8012bd2cca451c75d311?source=copy_link', }; @@ -65,6 +65,28 @@ const TermsPage = () => { const termsData = await getTerms(); + // AI 서비스 약관과 마케팅 약관 순서 변경 +const aiIndex = termsData.findIndex( + (term) => term.code === 'AI_SERVICE', +); + +const marketingIndex = termsData.findIndex( + (term) => term.code === 'MARKETING', +); + +if ( + aiIndex !== -1 && + marketingIndex !== -1 +) { + [ + termsData[aiIndex], + termsData[marketingIndex], + ] = [ + termsData[marketingIndex], + termsData[aiIndex], + ]; +} + setTerms(termsData); const initialAgreements = termsData.reduce>((acc, term) => {