-
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.
Merge pull request #101 from softeerbootcamp4th/feature/29-admin-even…
…t-create [fix] 자잘한 오류 수정 및 카드게임 스켈레톤 UI 추가
- Loading branch information
Showing
6 changed files
with
60 additions
and
7 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 |
---|---|---|
@@ -1,5 +1,29 @@ | ||
import { useState } from "react"; | ||
import { Input } from "@admin/components/SmallInput.jsx"; | ||
import Checkbox from "@common/components/Checkbox.jsx"; | ||
|
||
function FcfsInput() { | ||
return <>선착순 이벤트임</>; | ||
const [isOpenTimeBatch, SetOpenTimeBatch] = useState(false); | ||
const [isCloseTimeBatch, SetCloseTimeBatch] = useState(false); | ||
|
||
return <div> | ||
<div> | ||
<label> | ||
<Checkbox checked={isOpenTimeBatch} onChange={SetOpenTimeBatch}/> | ||
오픈시간 일괄 설정 | ||
<Input type="time" disabled={!isOpenTimeBatch}/> | ||
</label> | ||
<label> | ||
<Checkbox checked={isCloseTimeBatch} onChange={SetCloseTimeBatch}/> | ||
종료 시간 일괄 설정 | ||
<Input type="time" disabled={!isCloseTimeBatch}/> | ||
</label> | ||
<button>자동 채우기</button> | ||
</div> | ||
<div> | ||
{} | ||
</div> | ||
</div>; | ||
} | ||
|
||
export default FcfsInput; |
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,30 @@ | ||
import Card from "./Card.jsx"; | ||
import DelaySkeleton from "@common/components/DelaySkeleton.jsx"; | ||
|
||
function CardGameSkeleton() { | ||
|
||
return ( | ||
<> | ||
<div className="h-32 flex justify-center items-center"> | ||
<DelaySkeleton> | ||
<h3 | ||
className="text-head-l md:text-7xl font-bold text-center text-neutral-200" | ||
> | ||
로딩중... | ||
</h3> | ||
</DelaySkeleton> | ||
</div> | ||
<div className="relative grid grid-cols-2 min-[1140px]:grid-cols-4 gap-10"> | ||
{[1, 2, 3, 4].map((index) => ( | ||
<Card | ||
index={index} | ||
locked | ||
key={`card ${index}`} | ||
/> | ||
))} | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default CardGameSkeleton; |
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