diff --git a/apps/client/app/(afterLogin)/my-study/my-homework/_components/HomeworkBoxWithLinkEdit.tsx b/apps/client/app/(afterLogin)/my-study/my-homework/_components/HomeworkBoxWithLinkEdit.tsx index e953c0d0..81ea73f6 100644 --- a/apps/client/app/(afterLogin)/my-study/my-homework/_components/HomeworkBoxWithLinkEdit.tsx +++ b/apps/client/app/(afterLogin)/my-study/my-homework/_components/HomeworkBoxWithLinkEdit.tsx @@ -4,8 +4,9 @@ import { Space, Text } from "@wow-class/ui"; import { padWithZero, parseISODate } from "@wow-class/utils"; import { tags } from "constants/tags"; import { revalidateTag } from "next/cache"; +import Link from "next/link"; import type { SubmittableAssignment } from "types/dtos/study-detail-dashboard"; -import { Link, Reload } from "wowds-icons"; +import { Link as LinkIcon, Reload as ReloadIcon } from "wowds-icons"; import Box from "wowds-ui/Box"; import Button from "wowds-ui/Button"; import TextButton from "wowds-ui/TextButton"; @@ -50,33 +51,40 @@ export const HomeworkBoxWithLinkEdit = ({ {title} - + + + {deadlineText} - + + + + - - + + + ) : ( "-" )} @@ -81,7 +86,7 @@ export const HomeworkHistoryItem = ({ history }: HomeworkHistoryItemProps) => { }; const homeworkSubmissionMap: Record< - AssignmentSubmissionStatusType, + HomeworkSubmissionStatusType, { message: string; color: ComponentProps["color"] } > = { FAILURE: { diff --git a/apps/client/app/(afterLogin)/my-study/my-homework/_components/HomeworkOverviewBox.tsx b/apps/client/app/(afterLogin)/my-study/my-homework/_components/HomeworkOverviewBox.tsx index 70f45c74..a97fb011 100644 --- a/apps/client/app/(afterLogin)/my-study/my-homework/_components/HomeworkOverviewBox.tsx +++ b/apps/client/app/(afterLogin)/my-study/my-homework/_components/HomeworkOverviewBox.tsx @@ -4,9 +4,10 @@ import { Flex, styled } from "@styled-system/jsx"; import { Space, Text } from "@wow-class/ui"; import { tags } from "constants/tags"; import { revalidateTag } from "next/cache"; +import Link from "next/dist/client/link"; import Image from "next/image"; import type { SubmittableAssignment } from "types/dtos/study-detail-dashboard"; -import { Link, Reload } from "wowds-icons"; +import { Link as LinkIcon, Reload as ReloadIcon } from "wowds-icons"; import Box from "wowds-ui/Box"; import Button from "wowds-ui/Button"; import Tag from "wowds-ui/Tag"; @@ -40,12 +41,12 @@ export const HomeworkOverviewBox = ({ {assignment.assignmentSubmissionStatus} - + + + 종료 일시 : {assignment.deadline} @@ -63,18 +64,18 @@ export const HomeworkOverviewBox = ({ - + + +