Skip to content

Commit

Permalink
FU-345 feat: add guide messages
Browse files Browse the repository at this point in the history
  • Loading branch information
eujin-shin committed Jan 6, 2025
1 parent 858fdc0 commit a06cd77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/containers/photographer/mypage/schedule/base/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Collapse } from "@mantine/core";
import { useDisclosure } from "@mantine/hooks";
import { daysArray } from "@/constants/schedule";
import { CustomButton } from "@/components/buttons/common-buttons";
import InfoCaption from "@/components/common/info-caption";
import popToast from "@/components/common/toast";
import { responseHandler } from "@/services/common/error";
import { putNewBaseSchedule } from "@/services/client/photographer/mypage/schedule";
Expand Down Expand Up @@ -67,6 +68,7 @@ const BaseSchedule = ({
</div>
<Collapse in={opened}>
<div className={scheduleStyles.body}>
<InfoCaption information="각 요일을 클릭해 휴무일로 변경할 수 있습니다." />
{daysArray.map((day) => (
<DaySchedule day={day} unit={unit} key={day} />
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import popToast from "@/components/common/toast";

const introduction: { [keys in TimeUnitType]: string } = {
THIRTY_MINUTES:
"오픈 시간을 30분으로 설정하시면, 이후에 다시 1시간으로 변경할 경우 기본 스케줄과 날짜별 스케줄이 모두 초기화됩니다.",
"예약 시간을 30분 단위로 설정하시면, 이후에 다시 1시간으로 변경할 경우 기본 스케줄과 날짜별 스케줄이 모두 초기화됩니다.",
SIXTY_MINUTES:
"오픈 시간을 변경할 경우, 기본 스케줄과 날짜별 스케줄이 모두 초기화됩니다.",
"예약 시간을 1시간 단위로 변경할 경우, 기본 스케줄과 날짜별 스케줄이 모두 초기화됩니다.",
};

const ConfirmModal = ({
Expand Down

0 comments on commit a06cd77

Please sign in to comment.