-
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.
- Loading branch information
Showing
6 changed files
with
69 additions
and
30 deletions.
There are no files selected for viewing
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,10 @@ | ||
import { NoticeListResponse } from "./type"; | ||
import { NoticeDetailResponse } from "./type"; | ||
|
||
export const useGetNoticeList = () => { | ||
|
||
}; | ||
|
||
export const useGetNoticeDetail = () => { | ||
|
||
}; |
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,14 @@ | ||
export interface NoticeListResponse { | ||
notices: { | ||
notice_id: number; | ||
title: string; | ||
createAt: string; | ||
}[]; | ||
}; | ||
|
||
export interface NoticeDetailResponse { | ||
title: string; | ||
content: string; | ||
createAt: string; | ||
attachments: string[]; | ||
} |
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
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,12 @@ | ||
export default function AttachedBox () { | ||
return ( | ||
<div className="flex flex-row w-full h-[108px] mt-[32px] border-t-[2px] border-b-[1px] border-[#135C9D] p-[16px] gap-[20px]"> | ||
<div className="font-[500] text-[18px] ">첨부자료</div> | ||
<div className="flex flex-col gap-[4px] justify-center"> | ||
<div>2024학년도 신입생 과제.hwp</div> | ||
<div>2024학년도 신입생 과제.hwp</div> | ||
<div>2024학년도 신입생 과제.hwp</div> | ||
</div> | ||
</div> | ||
) | ||
} |
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,17 @@ | ||
import Link from "next/link" | ||
|
||
export default function NoticeListTable () { | ||
return ( | ||
<> | ||
<Link href={"/mypage/notice/detail"}> | ||
<tbody className="flex justify-center items-center border-collapse"> | ||
<tr className="h-[60px] border-b-[0.5px] border-[#7F7F7F]"> | ||
<td className="border-none w-[192px] text-[16px] text-[#135C9D] flex justify-center">12</td> | ||
<td className="border-none w-[735px] text-[16px] flex justify-center">[중요] 오리엔테이션날 일정 안내</td> | ||
<td className="border-none w-[192px] text-[16px] flex justify-center">2024-01-16</td> | ||
</tr> | ||
</tbody> | ||
</Link> | ||
</> | ||
) | ||
} |
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