From cf8e40e06246d7f854392d45f9db8e78fb1346c7 Mon Sep 17 00:00:00 2001 From: deun Date: Thu, 28 Nov 2024 15:34:49 +0900 Subject: [PATCH 1/3] =?UTF-8?q?rename:=20=EC=9D=B4=EC=9A=A9=EC=95=BD?= =?UTF-8?q?=EA=B4=80=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20shared?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99=20(#147)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(landing)/signup/terms-of-use/page.tsx | 6 +++--- .../terms-of-use/_ui => shared/ui}/terms/investor-terms.tsx | 0 .../terms-of-use/_ui => shared/ui}/terms/privacy-terms.tsx | 0 .../terms-of-use/_ui => shared/ui}/terms/styles.module.scss | 0 .../terms-of-use/_ui => shared/ui}/terms/trader-terms.tsx | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename {app/(landing)/signup/terms-of-use/_ui => shared/ui}/terms/investor-terms.tsx (100%) rename {app/(landing)/signup/terms-of-use/_ui => shared/ui}/terms/privacy-terms.tsx (100%) rename {app/(landing)/signup/terms-of-use/_ui => shared/ui}/terms/styles.module.scss (100%) rename {app/(landing)/signup/terms-of-use/_ui => shared/ui}/terms/trader-terms.tsx (100%) diff --git a/app/(landing)/signup/terms-of-use/page.tsx b/app/(landing)/signup/terms-of-use/page.tsx index 50136c98..6a12f57d 100644 --- a/app/(landing)/signup/terms-of-use/page.tsx +++ b/app/(landing)/signup/terms-of-use/page.tsx @@ -6,14 +6,14 @@ import { PATH } from '@/shared/constants/path' import { Button } from '@/shared/ui/button' import Checkbox from '@/shared/ui/check-box' import { LinkButton } from '@/shared/ui/link-button' +import InvestorTerms from '@/shared/ui/terms/investor-terms' +import PrivacyTerms from '@/shared/ui/terms/privacy-terms' +import TraderTerms from '@/shared/ui/terms/trader-terms' import { getUserTypeCookie } from '../_lib/cookies' import Step from '../_ui/step' import { useTermsCheck } from './_hooks/use-terms-check' import TermsContainer from './_ui/terms-container' -import InvestorTerms from './_ui/terms/investor-terms' -import PrivacyTerms from './_ui/terms/privacy-terms' -import TraderTerms from './_ui/terms/trader-terms' import styles from './page.module.scss' const cx = classNames.bind(styles) diff --git a/app/(landing)/signup/terms-of-use/_ui/terms/investor-terms.tsx b/shared/ui/terms/investor-terms.tsx similarity index 100% rename from app/(landing)/signup/terms-of-use/_ui/terms/investor-terms.tsx rename to shared/ui/terms/investor-terms.tsx diff --git a/app/(landing)/signup/terms-of-use/_ui/terms/privacy-terms.tsx b/shared/ui/terms/privacy-terms.tsx similarity index 100% rename from app/(landing)/signup/terms-of-use/_ui/terms/privacy-terms.tsx rename to shared/ui/terms/privacy-terms.tsx diff --git a/app/(landing)/signup/terms-of-use/_ui/terms/styles.module.scss b/shared/ui/terms/styles.module.scss similarity index 100% rename from app/(landing)/signup/terms-of-use/_ui/terms/styles.module.scss rename to shared/ui/terms/styles.module.scss diff --git a/app/(landing)/signup/terms-of-use/_ui/terms/trader-terms.tsx b/shared/ui/terms/trader-terms.tsx similarity index 100% rename from app/(landing)/signup/terms-of-use/_ui/terms/trader-terms.tsx rename to shared/ui/terms/trader-terms.tsx From 95bf7e599728c1e56e954d647e9322acbb379854 Mon Sep 17 00:00:00 2001 From: deun Date: Thu, 28 Nov 2024 15:35:27 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=EC=9D=B4=EC=9A=A9=EC=95=BD?= =?UTF-8?q?=EA=B4=80=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=ED=8D=BC=EB=B8=94?= =?UTF-8?q?=EB=A6=AC=EC=8B=B1=20(#147)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(landing)/terms-of-use/page.module.scss | 13 +++++++++++ app/(landing)/terms-of-use/page.tsx | 24 +++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 app/(landing)/terms-of-use/page.module.scss create mode 100644 app/(landing)/terms-of-use/page.tsx diff --git a/app/(landing)/terms-of-use/page.module.scss b/app/(landing)/terms-of-use/page.module.scss new file mode 100644 index 00000000..9c0ec141 --- /dev/null +++ b/app/(landing)/terms-of-use/page.module.scss @@ -0,0 +1,13 @@ +.title { + margin: 16px 0; + @include typo-h3; + font-weight: $text-bold; +} + +.section-container { + margin-bottom: 80px; + + h3 { + @include typo-b1; + } +} diff --git a/app/(landing)/terms-of-use/page.tsx b/app/(landing)/terms-of-use/page.tsx new file mode 100644 index 00000000..5fb414a9 --- /dev/null +++ b/app/(landing)/terms-of-use/page.tsx @@ -0,0 +1,24 @@ +import classNames from 'classnames/bind' + +import InvestorTerms from '@/shared/ui/terms/investor-terms' +import TraderTerms from '@/shared/ui/terms/trader-terms' + +import styles from './page.module.scss' + +const cx = classNames.bind(styles) + +const TermsOfUsePage = () => { + return ( + <> +

이용약관

+
+ +
+
+ +
+ + ) +} + +export default TermsOfUsePage From 5dc9b3d9d0df065f9c1c8660736a125021dcb27d Mon Sep 17 00:00:00 2001 From: deun Date: Thu, 28 Nov 2024 15:35:52 +0900 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=EA=B0=9C=EC=9D=B8=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=B2=98=EB=A6=AC=EB=B0=A9=EC=B9=A8=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=ED=8D=BC=EB=B8=94=EB=A6=AC=EC=8B=B1=20(#1?= =?UTF-8?q?47)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(landing)/privacy-terms/page.module.scss | 9 +++++++++ app/(landing)/privacy-terms/page.tsx | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 app/(landing)/privacy-terms/page.module.scss create mode 100644 app/(landing)/privacy-terms/page.tsx diff --git a/app/(landing)/privacy-terms/page.module.scss b/app/(landing)/privacy-terms/page.module.scss new file mode 100644 index 00000000..466e324e --- /dev/null +++ b/app/(landing)/privacy-terms/page.module.scss @@ -0,0 +1,9 @@ +.section-container { + margin-bottom: 80px; + + h3 { + margin: 16px 0; + @include typo-h3; + font-weight: $text-bold; + } +} diff --git a/app/(landing)/privacy-terms/page.tsx b/app/(landing)/privacy-terms/page.tsx new file mode 100644 index 00000000..a0ee53d3 --- /dev/null +++ b/app/(landing)/privacy-terms/page.tsx @@ -0,0 +1,19 @@ +import classNames from 'classnames/bind' + +import PrivacyTerms from '@/shared/ui/terms/privacy-terms' + +import styles from './page.module.scss' + +const cx = classNames.bind(styles) + +const TermsOfUsePage = () => { + return ( + <> +
+ +
+ + ) +} + +export default TermsOfUsePage