-
Notifications
You must be signed in to change notification settings - Fork 4
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
4 changed files
with
20 additions
and
18 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
7 changes: 7 additions & 0 deletions
7
src/components/tournament/intro/TournamentContatiner.style.tsx
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,7 @@ | ||
import styled from "styled-components"; | ||
|
||
export const TournamentImg = styled.div` | ||
width: 20rem; | ||
height: 20rem; | ||
margin: 0 auto; | ||
`; |
7 changes: 7 additions & 0 deletions
7
src/components/tournament/intro/tournamentStartButton/TournamentStartButton.style.ts
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,7 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const TournamentStartButtonWrapper = styled.div` | ||
position: absolute; | ||
margin-bottom: 2rem; | ||
bottom: 0; | ||
`; |
12 changes: 3 additions & 9 deletions
12
src/components/tournament/intro/tournamentStartButton/TournamentStartButton.tsx
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,25 +1,19 @@ | ||
import React from 'react'; | ||
import BtnFill from '../../../common/Button/Cta/fill/BtnFill'; | ||
import styled from 'styled-components'; | ||
import * as S from './TournamentStartButton.style'; | ||
|
||
interface TournamentStartButtonProps { | ||
onClick: () => void; | ||
} | ||
|
||
const TournamentStartButton: React.FC<TournamentStartButtonProps> = ({ onClick }) => { | ||
return ( | ||
<TournamentStartButtonWrapper> | ||
<S.TournamentStartButtonWrapper> | ||
<BtnFill customStyle={{ backgroundColor: '#FF2176', border: 'none' }} onClick={onClick}> | ||
시작하기 | ||
</BtnFill> | ||
</TournamentStartButtonWrapper> | ||
</S.TournamentStartButtonWrapper> | ||
); | ||
}; | ||
|
||
const TournamentStartButtonWrapper = styled.div` | ||
position: absolute; | ||
margin-bottom: 2rem; | ||
bottom: 0; | ||
`; | ||
|
||
export default TournamentStartButton; |