forked from boostcampwm-2022/web05-SleepyWoods
-
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.
[faet] boostcampwm-2022#179 board, rank 설명
- 강조효과
- Loading branch information
Showing
6 changed files
with
92 additions
and
12 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
30 changes: 30 additions & 0 deletions
30
frontend/src/component/Info/HelpDescription/BoardAndRankInfo.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,30 @@ | ||
import * as style from './boardAndRankInfo.styled'; | ||
import * as commonStyle from './common.styled'; | ||
import boardAndRankImg from '../../../assets/info-boardAndRank.png'; | ||
|
||
const BoardAndRankInfo = () => { | ||
return ( | ||
<div css={commonStyle.infoContainer}> | ||
<h4 css={commonStyle.header}>- Board & Rank</h4> | ||
<div css={style.description}> | ||
<img src={boardAndRankImg} alt="보드와 순위 이미지" width={'100%'} /> | ||
<p> | ||
오른쪽 하단의 트로피 모양의 버튼을 클릭하면 SleepyBoard가 보여집니다. | ||
</p> | ||
<p> | ||
상단의 탭을 클릭하여 <strong>업적</strong>을 보거나,{' '} | ||
<strong>걸음수 랭킹</strong>을 볼 수 있습니다. | ||
</p> | ||
<p> | ||
탭 아래의 필터를 클릭해 모든 유저, 좋아요, 친구, 기간을 설정할 수 | ||
있습니다. | ||
</p> | ||
<p> | ||
걸음수 갱신은 <span>매일 자정</span>에 이루어집니다. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default BoardAndRankInfo; |
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
22 changes: 22 additions & 0 deletions
22
frontend/src/component/Info/HelpDescription/boardAndRankInfo.styled.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,22 @@ | ||
import { css } from '@emotion/react'; | ||
import theme from '../../../styles/theme'; | ||
|
||
export const description = css` | ||
width: 100%; | ||
& > p { | ||
padding: 15px; | ||
font-size: 14px; | ||
text-align: center; | ||
/* strong { | ||
color: ${theme.deepGreen}; | ||
font-weight: 700; | ||
} | ||
span { | ||
color: ${theme.red}; | ||
font-weight: 700; | ||
} */ | ||
} | ||
`; |
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