-
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 #69 from seokkkkkk/develop
Develop
- Loading branch information
Showing
12 changed files
with
319 additions
and
206 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import styled from "styled-components"; | ||
import tw from "twin.macro"; | ||
import medal from "../../assets/images/no-challenger-medal.png"; | ||
|
||
type NoChallengerProps = { | ||
text: string; | ||
}; | ||
|
||
const NoChallenger = ({ text }: NoChallengerProps) => { | ||
return ( | ||
<Container> | ||
<div>아직 {text} 챌린저가 없어요!</div> | ||
<img src={medal} alt="no-challenger-medal" /> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default NoChallenger; | ||
|
||
const Container = styled.div` | ||
${tw` | ||
w-full h-[415px] flex flex-col gap-[4px] items-center justify-center | ||
`} | ||
div { | ||
${tw` | ||
text-medium-20 font-medium text-fontColor2 | ||
`} | ||
} | ||
img { | ||
${tw` | ||
opacity-[63%] | ||
`} | ||
} | ||
`; |
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.