-
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 #64 from KERT-core/fix/section-pages
fix: Section 재배치 & 반응형 디자인 Apply
- Loading branch information
Showing
80 changed files
with
1,682 additions
and
1,570 deletions.
There are no files selected for viewing
Binary file not shown.
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.
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,11 @@ | ||
import Facebook from './facebook.svg'; | ||
import Github from './github.svg'; | ||
import Instagram from './instagram.svg'; | ||
import Youtube from './youtube.svg'; | ||
|
||
export const SNSIcon = { | ||
Facebook, | ||
Github, | ||
Instagram, | ||
Youtube, | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
File renamed without changes
File renamed without changes
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
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,84 @@ | ||
import styled from 'styled-components'; | ||
import PropTypes from 'prop-types'; | ||
|
||
import { Span, Text } from '@components/typograph/Text'; | ||
|
||
const ContentCardWrapper = styled.div` | ||
width: 320px; | ||
height: 250px; | ||
padding: 30px; | ||
box-sizing: border-box; | ||
border-radius: 20px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
gap: 30px; | ||
position: relative; | ||
background: rgba(255, 255, 255, 0.1); | ||
backdrop-filter: blur(10px); | ||
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25); | ||
// 그라데이션 테두리 적용 | ||
&::before { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
border-radius: 20px; | ||
// padding 값이 클수록 테두리가 두꺼워짐 | ||
padding: 1px; | ||
background: linear-gradient(135deg, #ffffff30, #ffffff16); | ||
-webkit-mask: | ||
linear-gradient(#fff 0 0) content-box, | ||
linear-gradient(#fff 0 0); | ||
-webkit-mask-composite: destination-out; | ||
mask-composite: exclude; | ||
} | ||
`; | ||
|
||
const Icon = styled.img` | ||
width: 50px; | ||
height: 50px; | ||
`; | ||
|
||
const TitleWrapper = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
`; | ||
|
||
const Title = styled(Span).attrs({ | ||
$size: '22px', | ||
$weight: 'extrabold', | ||
})` | ||
color: #ffffff; | ||
`; | ||
|
||
const Description = styled(Span).attrs({ | ||
$size: 's', | ||
$weight: 'regular', | ||
$color: 'rgba(255, 255, 255, 0.5)', | ||
})``; | ||
|
||
export const ContentCard = ({ title, description, image_url }) => { | ||
return ( | ||
<ContentCardWrapper> | ||
<Icon src={image_url} alt={title} /> | ||
<TitleWrapper> | ||
<Title>{title}</Title> | ||
<Description>{description}</Description> | ||
</TitleWrapper> | ||
</ContentCardWrapper> | ||
); | ||
}; | ||
|
||
ContentCard.propTypes = { | ||
title: PropTypes.string.isRequired, | ||
description: PropTypes.string.isRequired, | ||
image_url: PropTypes.string.isRequired, | ||
}; |
Oops, something went wrong.