-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(member): 회비 페이지 UI 개선 (#78)
- Loading branch information
Showing
5 changed files
with
72 additions
and
109 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
apps/member/src/components/support/SupportProcedureSection/SupportProcedureSection.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import Section from '@components/common/Section/Section'; | ||
import { | ||
FcSurvey, | ||
FcReading, | ||
FcMoneyTransfer, | ||
FcFilingCabinet, | ||
} from 'react-icons/fc'; | ||
|
||
const stepContents = [ | ||
{ | ||
image: <FcSurvey size={32} />, | ||
title: '신청서 작성', | ||
description: | ||
'회비 사용과 관련된 정보를 입력하여 제출해 주세요. 누락된 정보가 있을 경우 승인이 반려될 수 있어요.', | ||
}, | ||
{ | ||
image: <FcReading size={32} />, | ||
title: '운영진 검토', | ||
description: | ||
'운영진이 신청서를 면밀히 검토하여 승인 여부를 결정해요. 24시간 이내에 처리가 되지 않는다면 별도로 문의해 주세요.', | ||
}, | ||
{ | ||
image: <FcMoneyTransfer size={32} />, | ||
title: '직접 결제', | ||
description: | ||
'승인이 되면 결제 대금을 이체 받아요. 이체 받은 결제 대금을 사용하여 직접 결제를 진행해 주세요.', | ||
}, | ||
{ | ||
image: <FcFilingCabinet size={32} />, | ||
title: '사용 후 반납', | ||
description: | ||
'대여기간이 지나면 운영진이 사용 내역을 확인하고 반납 여부를 확인해요.', | ||
}, | ||
]; | ||
|
||
const SupportProcedureSection = () => { | ||
return ( | ||
<Section> | ||
<Section.Header title="회비 사용 절차는 이렇게 진행돼요" /> | ||
<Section.Body className="grid grid-cols-2 gap-4 md:grid-cols-4 break-keep"> | ||
{stepContents.map((stepContent, index) => ( | ||
<div key={index}> | ||
<div className="p-2 mb-2 bg-gray-100 rounded-full w-fit"> | ||
{stepContent.image} | ||
</div> | ||
<p className="font-semibold">{stepContent.title}</p> | ||
<p className="text-sm text-gray-500">{stepContent.description}</p> | ||
</div> | ||
))} | ||
</Section.Body> | ||
</Section> | ||
); | ||
}; | ||
|
||
export default SupportProcedureSection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export const TABLE_HEAD = { | ||
ACTIVITY_GROUP_PARTICIPANTS: ['번호', '학번', '이름'], | ||
ACTIVITY_GROUP_APPLIES: ['번호', '학번', '이름', '상태', '기능'], | ||
}; | ||
SUPPORT_HISTORY: ['번호', '상태', '구분', '요청자', '신청일'], | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters