-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Feat] 어드민 UI 구현
- Loading branch information
Showing
24 changed files
with
484 additions
and
77 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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,13 @@ | ||
import { ComponentProps } from "react"; | ||
|
||
interface TextFieldProps extends ComponentProps<"textarea"> {} | ||
|
||
export default function TextField({ ...restProps }: TextFieldProps) { | ||
return ( | ||
<textarea | ||
className="resize-none focus:outline-none w-full text-black" | ||
spellCheck={false} | ||
{...restProps} | ||
/> | ||
); | ||
} |
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,9 @@ | ||
export const LOTTERY_HEADER = [ | ||
"시작 날짜", | ||
"시작 시간", | ||
"종료 날짜", | ||
"종료 시간", | ||
"활성화 기간", | ||
"추첨 당첨 인원 수", | ||
"진행 상태", | ||
]; |
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 |
---|---|---|
@@ -1,7 +1,13 @@ | ||
export const RUSH_SECTION = { | ||
EVENT_LIST: "event_list", | ||
APPLICANT_LIST: "applicant_list", | ||
SELECTION_MANAGE: "selection_manage", | ||
GIFT_MANAGE: "gift_manage", | ||
}; | ||
export type RushSectionType = (typeof RUSH_SECTION)[keyof typeof RUSH_SECTION]; | ||
export const EVENT_LIST_HEADER = [ | ||
"ID", | ||
"이벤트 진행 날짜", | ||
"오픈 시간", | ||
"종료 시간", | ||
"활성화 시간", | ||
"선택지 관리", | ||
"경품 관리", | ||
"선착순 당첨 인원 수", | ||
"진행 상태", | ||
"참여자 리스트 보기", | ||
"관리", | ||
]; |
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
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 { Outlet } from "react-router-dom"; | ||
import { RushEventContext } from "@/contexts/rushEventContext"; | ||
|
||
export default function RushLayout() { | ||
return ( | ||
<RushEventContext> | ||
<Outlet /> | ||
</RushEventContext> | ||
); | ||
} |
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
Oops, something went wrong.