-
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 #185 from 100-hours-a-week/feature/lucy
Chore : 센트리 설정 변경, 게임용 헤더적용을 위한 라우터 수정 및 게임용 헤더 생성
- Loading branch information
Showing
7 changed files
with
71 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import styled from "styled-components"; | ||
import { Colors } from "../../Styles/Colors"; | ||
import { GameHeaderProp } from "../../constants/interface"; | ||
|
||
const Container = styled.div` | ||
width: 100%; | ||
height: 60px; | ||
background-color: ${Colors.main}; | ||
color: white; | ||
font-family: "SCDream6"; | ||
font-size: x-large; | ||
text-align: center; | ||
border-bottom-left-radius: 20px; | ||
border-bottom-right-radius: 20px; | ||
padding-top: 15px; | ||
`; | ||
|
||
const GameHeader: React.FC<GameHeaderProp> = ({ text }) => { | ||
return <Container>{text}</Container>; | ||
}; | ||
|
||
export default GameHeader; |
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,5 +1,38 @@ | ||
import styled from "styled-components"; | ||
import GameHeader from "../../Component/Game/GameHeader"; | ||
|
||
const Say = styled.div` | ||
position: relative; | ||
background: #00aabb; | ||
border-radius: 0.4em; | ||
::after { | ||
content: ""; | ||
position: absolute; | ||
bottom: 0; | ||
left: 50%; | ||
width: 0; | ||
height: 0; | ||
border: 20px solid transparent; | ||
border-top-color: #00aabb; | ||
border-bottom: 0; | ||
border-left: 0; | ||
margin-left: -10px; | ||
margin-bottom: -20px; | ||
} | ||
`; | ||
|
||
const TotalResult = () => { | ||
return <div>게임 최종 결과 페이지</div>; | ||
return ( | ||
<div> | ||
<GameHeader text={"최 종 결 과"} /> | ||
<Say> | ||
<h1>1등 Skrrr</h1> | ||
<p>10년 전에 투자했으면</p> | ||
<p>1000000원 벌었을텐데...</p> | ||
</Say> | ||
</div> | ||
); | ||
}; | ||
|
||
export default TotalResult; |
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