Skip to content

Commit

Permalink
fix: 세션을커리큘럼으로 바꾸어요
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene028 committed Aug 28, 2024
1 parent 2954716 commit d3908b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/admin/app/studies/_components/StudyListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const studyTypeColorMap: Record<
ComponentProps<typeof Tag>["color"]
> = {
"과제 스터디": "green",
"온라인 세션": "blue",
"오프라인 세션": "yellow",
"온라인 커리큘럼": "blue",
"오프라인 커리큘럼": "yellow",
};

const LinkStyle = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const StudyFormatSelect = () => {
value="ASSIGNMENT"
text={
<Flex alignItems="center" gap="md">
<Text typo="body1">오프라인 세션</Text>
<Text typo="body1">오프라인 커리큘럼</Text>
<Text color="sub" typo="body2">
오프라인으로 진행해요.
</Text>
Expand All @@ -34,7 +34,7 @@ const StudyFormatSelect = () => {
value="ONLINE"
text={
<Flex alignItems="center" gap="md">
<Text typo="body1">온라인 세션</Text>
<Text typo="body1">온라인 커리큘럼</Text>
<Text color="sub" typo="body2">
온라인으로 진행해요.
</Text>
Expand Down
5 changes: 4 additions & 1 deletion apps/admin/types/entities/study.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ export type StudyDifficultyType = "HIGH" | "MEDIUM" | "LOW" | "BASIC";

export type StudyType = "ASSIGNMENT" | "ONLINE" | "OFFLINE";

export type StudyKoreanType = "과제 스터디" | "온라인 세션" | "오프라인 세션";
export type StudyKoreanType =
| "과제 스터디"
| "온라인 커리큘럼"
| "오프라인 커리큘럼";

export type StudyCurriculumType = {
studyDetailId: number;
Expand Down

0 comments on commit d3908b7

Please sign in to comment.