-
Notifications
You must be signed in to change notification settings - Fork 7
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 #571 from woowacourse-teams/dev/fe
[FE] 코드잽 프로덕션 v1.1.1 배포
- Loading branch information
Showing
9 changed files
with
249 additions
and
96 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
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
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,103 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled.div` | ||
max-width: 1200px; | ||
margin: auto; | ||
padding: 1.25rem; | ||
`; | ||
|
||
export const ContentSection = styled.div` | ||
display: flex; | ||
gap: 3rem; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 100%; | ||
margin-top: 4rem; | ||
@media (max-width: 768px) { | ||
flex-direction: column-reverse; | ||
text-align: center; | ||
} | ||
`; | ||
|
||
export const TextContent = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 2rem; | ||
justify-content: space-between; | ||
@media (max-width: 768px) { | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
`; | ||
|
||
export const ImageWrapper = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
`; | ||
|
||
export const CardSection = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 3rem 0; | ||
@media (max-width: 768px) { | ||
flex-direction: column; | ||
} | ||
`; | ||
|
||
export const Card = styled.div` | ||
display: flex; | ||
flex: 1; | ||
flex-direction: column; | ||
gap: 0.5rem; | ||
margin: 0 10px; | ||
padding: 20px; | ||
text-align: center; | ||
background-color: white; | ||
border-radius: 8px; | ||
box-shadow: 1px 2px 8px 1px #00000030; | ||
&:hover { | ||
bottom: 0.5rem; | ||
transform: scale(1.025); | ||
} | ||
@media (max-width: 768px) { | ||
align-items: center; | ||
margin: 10px 0; | ||
} | ||
`; | ||
|
||
export const TemplateSection = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 100%; | ||
margin-top: 3rem; | ||
padding: 4rem 0; | ||
@media (max-width: 768px) { | ||
flex-direction: column; | ||
} | ||
`; | ||
|
||
export const CodeSection = styled.div` | ||
margin-right: 2rem; | ||
@media (max-width: 768px) { | ||
width: 100%; | ||
} | ||
`; | ||
|
||
export const SyntaxHighlighterWrapper = styled.div<{ isOpen: boolean }>` | ||
overflow: hidden; | ||
max-height: ${({ isOpen }) => (isOpen ? '1000rem' : '0')}; | ||
animation: ${({ isOpen }) => (!isOpen ? 'collapse' : 'expand')} 0.7s ease-in-out forwards; | ||
`; |
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.