Skip to content

Commit

Permalink
edit annonucement, edit shirtsizebtn
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleNa1000 committed Oct 29, 2023
1 parent 673fd73 commit 40b20f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/core/components/profile/stepCard.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ const StepCard: React.FC<StepCardProps> = ({ step, status, isApproved }) => {
</Typography>
<div className={classes.buttonContainer}>
{text.primaryButton &&
(step !== 5 || (step === 5 && application.shirtSize)) &&
renderButton(text.primaryButton.opensDialog, text.primaryButton.dialogType, true, text.primaryButton.isExternalPath)}
{text.secondaryButton &&
(step !== 5 || (step === 5 && !application.shirtSize)) &&
renderButton(text.secondaryButton.opensDialog, text.secondaryButton.dialogType, false, text.secondaryButton.isExternalPath)}
</div>
</>
Expand Down
7 changes: 1 addition & 6 deletions src/core/constants/announcements.constant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ export const announcementConstant: AnnouncementConstant[] = [
{
severity: "warning",
variant: "standard",
content: (
<>
สำหรับน้อง ๆ ที่มีสิทธิ์สัมภาษณ์ อย่าลืมกรอกไซส์เสื้อตัวเอง และน้องคนไหนที่ยังไม่ได้สัมภาษณ์ อย่าลืมตรวจสอบเวลาสัมภาษณ์รอบเก็บตก
ผ่านทางเว็บนี้นะครับ
</>
)
content: <>สำหรับน้อง ๆ ที่ผ่านรอบสัมภาษณ์ อย่าลืมชำระเงินเพื่อยืนยันสิทธิ์การเข้าร่วมค่าย ภายในวันที่ 19 พฤษภาคม 2566 นะครับ</>
}
]
1 change: 1 addition & 0 deletions src/core/constants/stepCard.constant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ const stepCardConstant: StepCardModel = {
อย่าลืมชำระเงิน<span style={{ fontWeight: 500, color: "#941014" }}>ก่อนวันที่ 19 พฤศจิกายน</span>{" "}
เพื่อยืนยันสิทธิ์การเข้าร่วมค่ายด้วยล่ะ !!
</div>
<div style={{ marginTop: "0.75rem" }}>หากไม่เห็นปุ่มชำระค่าใช้จ่าย ให้เลือกไซส์เสื้อก่อน แล้ว Refresh อีกครั้ง</div>
</>
),
primaryButton: {
Expand Down

0 comments on commit 40b20f0

Please sign in to comment.