Skip to content

Commit d191c0b

Browse files
authored
Merge pull request #428 from Neogasogaeseo/feat/#427
링크 추가하기
2 parents c41fbf5 + 566ccc4 commit d191c0b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/presentation/pages/Preferences/index.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
StPreferencesWrapper,
99
StSection,
1010
StSectionItem,
11+
StSectionLink,
1112
StSectionTitle,
1213
StTitle,
1314
StWhiteBackground,
@@ -46,12 +47,19 @@ function PreferencesPage() {
4647
</StSection>
4748
<StSection>
4849
<StSectionTitle>후원</StSectionTitle>
49-
<StSectionItem>서버비 후원</StSectionItem>
50+
<StSectionLink href="https://qr.kakaopay.com/Ej7miTnbX1f608787" target="_blank">
51+
서버비 후원
52+
</StSectionLink>
5053
<StWhiteBackground style={{ height: 44 }} />
5154
</StSection>
5255
<StSection>
5356
<StSectionTitle>계정</StSectionTitle>
54-
<StSectionItem>약관</StSectionItem>
57+
<StSectionLink
58+
href="https://suzieep.notion.site/84b53946ac1b48f5a86ea4f9d6bf307c"
59+
target="_blank"
60+
>
61+
약관
62+
</StSectionLink>
5563
<StSectionItem onClick={resetUser}>로그아웃</StSectionItem>
5664
<StSectionItem onClick={() => setIsModalOpen(true)}>탈퇴</StSectionItem>
5765
</StSection>

src/presentation/pages/Preferences/style.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ export const StSectionItem = styled.div`
5252
}
5353
`;
5454

55+
export const StSectionLink = StSectionItem.withComponent('a');
56+
5557
export const StForm = styled.div`
5658
display: flex;
5759
flex-direction: column;

0 commit comments

Comments
 (0)