-
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.
Merge pull request #82 from KERT-core/hotfix/api-refresh
Hotfix/ApiRefresh - Null 토큰 값을 저장하는 오류 수정 외 6개 수정사항
- Loading branch information
Showing
10 changed files
with
310 additions
and
286 deletions.
There are no files selected for viewing
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,28 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const Container = styled.div.attrs({ | ||
className: 'container', | ||
})` | ||
// 그 외 커스텀 css 지원 | ||
${({ css }) => css} | ||
width: ${({ $width }) => $width || 'fit-content'}; | ||
max-width: ${({ $maxWidth }) => $maxWidth || '1000px'}; | ||
height: ${({ $height }) => $height || 'fit-content'}; | ||
max-height: ${({ $maxHeight }) => $maxHeight || '100%'}; | ||
margin: ${({ $margin }) => $margin || '0'}; | ||
padding: ${({ $padding }) => $padding || '50px'}; | ||
box-sizing: border-box; | ||
display: ${({ $display }) => $display || 'flex'}; | ||
justify-content: ${({ $justifyContent }) => $justifyContent || 'center'}; | ||
align-items: ${({ $alignItems }) => $alignItems || 'flex-start'}; | ||
flex-direction: ${({ $flexDirection }) => $flexDirection || 'column'}; | ||
gap: ${({ $gap }) => $gap || '60px'}; | ||
border-radius: ${({ $borderRadius }) => $borderRadius || '30px'}; | ||
background-color: var(--container-primary-background); | ||
border: 1px solid var(--container-border); | ||
`; |
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,28 @@ | ||
import styled from 'styled-components'; | ||
import PropTypes from 'prop-types'; | ||
|
||
const ContainerControlBoxWrapper = styled.div.attrs({ | ||
className: 'container-controlbox', | ||
})` | ||
width: 100%; | ||
display: flex; | ||
justify-content: ${({ $justifyContent }) => $justifyContent || 'flex-end'}; | ||
align-items: center; | ||
`; | ||
|
||
export const ContainerControlBox = ({ | ||
justifyContent = 'flex-end', | ||
children, | ||
}) => { | ||
return ( | ||
<ContainerControlBoxWrapper $justifyContent={justifyContent}> | ||
{children} | ||
</ContainerControlBoxWrapper> | ||
); | ||
}; | ||
|
||
ContainerControlBox.propTypes = { | ||
justifyContent: PropTypes.string, | ||
children: PropTypes.node.isRequired, | ||
}; |
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,49 @@ | ||
import styled from 'styled-components'; | ||
import PropTypes from 'prop-types'; | ||
|
||
import { Text } from '@components/typograph/Text'; | ||
import LogoSVGComponent from '@/assets/kert_logos/Square.svg'; | ||
|
||
const ContainerHeaderWrapper = styled.div.attrs({ | ||
className: 'container-header', | ||
})` | ||
width: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
`; | ||
|
||
const TitleWrapper = styled.div.attrs({ | ||
className: 'container-header-title', | ||
})` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 10px; | ||
`; | ||
|
||
export const ContainerHeader = ({ title, subtitle }) => { | ||
return ( | ||
<ContainerHeaderWrapper> | ||
<TitleWrapper> | ||
<Text size="m" weight="light" color="var(--secondary-text-color)"> | ||
{subtitle} | ||
</Text> | ||
<Text size="sxl" weight="bold" color="var(--primary-text-color)"> | ||
{title} | ||
</Text> | ||
</TitleWrapper> | ||
<LogoSVGComponent | ||
width="103px" | ||
height="101px" | ||
fill="var(--primary-text-color)" | ||
style={{ opacity: '0.1' }} | ||
/> | ||
</ContainerHeaderWrapper> | ||
); | ||
}; | ||
|
||
ContainerHeader.propTypes = { | ||
title: PropTypes.string.isRequired, | ||
subtitle: PropTypes.string.isRequired, | ||
}; |
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.