-
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 #179 from KNU-HAEDAL/Feat/record-page-#148
챌린지 인증/기록 페이지 #148
- Loading branch information
Showing
22 changed files
with
806 additions
and
682 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Text } from '@chakra-ui/react'; | ||
import styled from '@emotion/styled'; | ||
|
||
type ChallengeTitleProps = { | ||
category: string; | ||
title: string; | ||
}; | ||
|
||
const ChallengeTitle = ({ category, title }: ChallengeTitleProps) => { | ||
return ( | ||
<Wrapper> | ||
<Text fontSize='var(--font-size-xs)' color='var(--color-green-01)'> | ||
{category} | ||
</Text> | ||
<Text fontSize='var(--font-size-xl)' fontWeight='700'> | ||
{title} | ||
</Text> | ||
</Wrapper> | ||
); | ||
}; | ||
|
||
export default ChallengeTitle; | ||
|
||
const Wrapper = styled.div` | ||
margin: 16px; | ||
display: flex; | ||
flex-direction: column; | ||
text-align: left; | ||
`; |
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
Oops, something went wrong.