Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

마이페이지 메뉴 수정 #619

Merged
merged 2 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/components/my/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ const MenuCss = (theme: Theme) => css`
height: 54px;
padding: 16px 0;
border-bottom: solid 1px ${theme.color.gray01};
cursor: pointer;
`;

const menuTitleCss = css`
font-size: 12px;
font-size: 14px;
`;

const hiddenCss = css`
Expand Down
5 changes: 3 additions & 2 deletions src/constants/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ export const MODAL_TYPE = {
};

export const POLICY_URL = {
PRIVACY: 'https://gifted-puffin-352.notion.site/94ac34de4c97467fb1f21a8bbed26eab',
PRIVACY: 'https://slashpage.com/ygtang/7vgjr4m1rkpdk2dwpy86',
// NOTE: Terms of service 줄여서 TOS라고 많이 쓴다고하네요!
TOS: 'https://gifted-puffin-352.notion.site/e75b7f51da7944508f37071f5345cc46',
TOS: 'https://slashpage.com/ygtang/ndvwx728g8vdxm3z6jpg ',
FEEDBACK: 'https://slashpage.com/ygtang/ndvwx728gewqgm3z6jpg',
};

export const WEBVIEW_MESSAGE_TYPE = {
Expand Down
3 changes: 2 additions & 1 deletion src/pages/my/index.tsx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

디테일 👍 👍 👍

Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ export default function MyPage() {
<ul css={menuListCss}>
<Menu label="내 계정" internalHref="/my/account" />
<Menu label="태그관리" internalHref="/my/tag" />
<Menu label="영감탱에 피드백 보내기" externalHref={POLICY_URL.FEEDBACK} />
<Menu label="이용약관" externalHref={POLICY_URL.TOS} />
<Menu label="개인정보 정책" externalHref={POLICY_URL.PRIVACY} />
<Menu
css={initializeMenuCss}
label="정보초기화"
label="정보 초기화"
onClick={() => {
setIsInitializeConfirmModalOpen(true);
}}
Expand Down
Loading