Skip to content

Commit

Permalink
chore: 서비스이용약관, 개인정보처리방침 페이지 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hjy0951 committed Sep 4, 2024
1 parent 64ce01f commit c6c7aa5
Show file tree
Hide file tree
Showing 3 changed files with 486 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app/setting/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ export default function Page() {
openNoticeModal();
};

const handleClickTerms = () => {
router.push('/setting/terms');
};

const handleClickPrivacyPolicy = () => {
router.push('/setting/privacy-policy');
};

const handleGoToInquiry = () => {
window.location.href = 'https://forms.gle/1yz3fcjCt2NEpwd99';
};
Expand All @@ -53,8 +61,8 @@ export default function Page() {
onClick: handleGoToChangeDistance,
divider: true,
},
{ text: '서비스 이용 약관', onClick: handleGoToSetting },
{ text: '개인정보 처리방침', onClick: handleGoToSetting },
{ text: '서비스 이용 약관', onClick: handleClickTerms },
{ text: '개인정보 처리방침', onClick: handleClickPrivacyPolicy },
{ text: '오픈소스 라이선스', onClick: handleGoToSetting, divider: true },
{ text: '로그아웃', onClick: openLogoutModal },
{ text: '탈퇴하기', onClick: handleGoToDeleteAccount, divider: true },
Expand Down
3 changes: 3 additions & 0 deletions app/setting/privacy-policy/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function Page() {
<article></article>;
}
Loading

0 comments on commit c6c7aa5

Please sign in to comment.