Skip to content

Commit

Permalink
feat: set term url
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooorobo committed Dec 23, 2024
1 parent dceeb92 commit 01bac5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/mypage/MyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Link } from '@remix-run/react';
import styles from './MyPage.module.css';
import { UserInfoResponse } from 'src/types';
import { UserAvatar } from 'src/entities/user/ui/UserAvatar';
import { PRIVACY_POLICY_URL } from 'src/shared/constants/url';
import { PRIVACY_POLICY_URL, TERM_URL } from 'src/shared/constants/url';

export const MyPage = ({ userInfo }: { userInfo: UserInfoResponse }) => {
return (
Expand All @@ -26,7 +26,7 @@ export const MyPage = ({ userInfo }: { userInfo: UserInfoResponse }) => {
개인정보처리방침
</Button>
</Link>
<Link to={'/'}>
<Link to={TERM_URL}>
<Button color={'neutral'} variant={'ghost'} widthType={'fill'} suffixSlot={<ArrowRight />} textAlign={'left'}>
이용정책
</Button>
Expand Down
3 changes: 3 additions & 0 deletions src/shared/constants/url.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
// 개인정보처리방침
export const PRIVACY_POLICY_URL = 'https://low-cook-e1a.notion.site/GOOGOO-4ce578de17ff4a4c96430bf2b9e2a100?pvs=4';

// 이용약관 / 이용정책
export const TERM_URL = 'https://low-cook-e1a.notion.site/GOOGOO-15f92f26cef780939f10ee30ab2c33a4?pvs=4';

0 comments on commit 01bac5b

Please sign in to comment.