-
Notifications
You must be signed in to change notification settings - Fork 2
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 #71 from softeerbootcamp4th/feature/main-event
[Feature] main event 라우팅, 타이머, ref 오류 수정
- Loading branch information
Showing
9 changed files
with
116 additions
and
44 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
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
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 |
---|---|---|
@@ -1,7 +1,38 @@ | ||
import React from "react"; | ||
|
||
const Timer = () => { | ||
return <div>Timer</div>; | ||
return ( | ||
<div className="relative h-[13rem] w-[54rem] flex-center"> | ||
<div className="relative h-full w-full overflow-hidden rounded-full"> | ||
<div | ||
className="absolute inset-0" | ||
style={{ | ||
background: | ||
"linear-gradient(93.7deg, #505861 0%, #4B7C83 33.5%, #1B3F72 66.5%, #F2F2F2 100%)", | ||
WebkitBackgroundClip: "border-box", | ||
backgroundClip: "border-box", | ||
padding: "1px", | ||
}} | ||
> | ||
<div className="relative h-full w-full rounded-full bg-gray-950 flex-center"> | ||
{/* 타이머 텍스트 */} | ||
<span | ||
className="text-[8rem]" | ||
style={{ | ||
backgroundImage: | ||
"linear-gradient(93.7deg, #505861 0%, #4B7C83 33.5%, #1B3F72 66.5%, #F2F2F2 100%)", | ||
WebkitBackgroundClip: "text", | ||
backgroundClip: "text", | ||
color: "transparent", | ||
}} | ||
> | ||
00:00:00 | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Timer; |