-
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.
- Loading branch information
은지
committed
Mar 7, 2024
1 parent
eee30cb
commit 70b396b
Showing
7 changed files
with
226 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import * as _ from './style'; | ||
import banner from '../../../Assets/PNG/banner.png'; | ||
|
||
export function BannerDetail() { | ||
return ( | ||
<_.Container> | ||
<_.BannerImg src={banner} /> | ||
<_.Wrapper> | ||
<_.TextWrapper> | ||
<_.Text>이동 되는 페이지</_.Text> | ||
<_.TextContent>체험형 현장실습</_.TextContent> | ||
</_.TextWrapper> | ||
<_.TextWrapper> | ||
<_.Text>표시 기간</_.Text> | ||
<_.TextContent> | ||
2024년 2월 24일 ~ 2024년 2월 27일 | ||
</_.TextContent> | ||
</_.TextWrapper> | ||
</_.Wrapper> | ||
</_.Container> | ||
); | ||
} |
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,35 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
`; | ||
|
||
export const Wrapper = styled.div` | ||
width: 1000px; | ||
display: flex; | ||
justify-content: space-between; | ||
`; | ||
|
||
export const BannerImg = styled.img` | ||
width: 1000px; | ||
height: 300px; | ||
`; | ||
|
||
export const TextWrapper = styled.div` | ||
display: flex; | ||
gap: 5px; | ||
`; | ||
|
||
export const Text = styled.p` | ||
font-size: 18px; | ||
font-weight: 600; | ||
color: #444444; | ||
`; | ||
|
||
export const TextContent = styled.p` | ||
font-size: 18px; | ||
font-weight: 600; | ||
color: #000000; | ||
`; |
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,83 @@ | ||
import styled from 'styled-components'; | ||
|
||
interface BtnProps { | ||
bannerStatus?: 'current' | 'notPublished'; | ||
active?: boolean; | ||
} | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 40px; | ||
`; | ||
|
||
export const Wrapper = styled.div` | ||
width: 1000px; | ||
display: flex; | ||
justify-content: space-between; | ||
`; | ||
|
||
export const BannerWrapper = styled.div` | ||
min-width: 1000px; | ||
background: #ffffff; | ||
border: 1px solid #e5e5e5; | ||
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05); | ||
padding: 52px 30px; | ||
overflow: scroll; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
`; | ||
|
||
export const ButtonWrapper = styled.div` | ||
display: flex; | ||
`; | ||
|
||
export const Btn = styled.div<BtnProps>` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 180px; | ||
height: 45px; | ||
font-size: 16px; | ||
font-weight: 500; | ||
background-color: ${(props) => (props.active ? '#E0EBF6' : '#ffffff')}; | ||
border: 1px solid ${(props) => (props.active ? '#0F4C82' : '#333333')}; | ||
&:first-child { | ||
border-radius: 8px 0px 0px 8px; | ||
} | ||
&:last-child { | ||
border-radius: 0px 8px 8px 0px; | ||
} | ||
`; | ||
|
||
export const BannerImg = styled.img` | ||
width: 1000px; | ||
height: 300px; | ||
`; | ||
|
||
export const TextWrapper = styled.div` | ||
display: flex; | ||
gap: 5px; | ||
`; | ||
|
||
export const Title = styled.p` | ||
font-size: 24px; | ||
font-weight: 500; | ||
letter-spacing: 0.48px; | ||
`; | ||
|
||
export const Text = styled.p` | ||
font-size: 18px; | ||
font-weight: 600; | ||
color: #444444; | ||
`; | ||
|
||
export const TextContent = styled.p` | ||
font-size: 18px; | ||
font-weight: 600; | ||
color: #000000; | ||
`; |
This file was deleted.
Oops, something went wrong.
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