-
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.
- Loading branch information
Showing
33 changed files
with
795 additions
and
18 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.
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.
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.
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.
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
const commonFlexCenter = ` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
`; | ||
|
||
export const NobelWrapper = styled.div` | ||
${commonFlexCenter} | ||
width: 100vw; | ||
height: 46rem; | ||
flex-shrink: 0; | ||
cursor: default; | ||
`; | ||
|
||
export const NobelContainer = styled.div` | ||
width: 103rem; | ||
flex-shrink: 0; | ||
`; | ||
|
||
export const NobelTitle = styled.div` | ||
width: 27.8rem; | ||
flex-shrink: 0; | ||
margin-bottom: 2.6rem; | ||
color: ${({ theme }) => theme.colors.text_gray40}; | ||
${({ theme }) => theme.fonts.head_b_24}; | ||
font-size: 2.3rem; | ||
`; | ||
|
||
export const BookList = styled.div` | ||
display: flex; | ||
width: 1030px; | ||
justify-content: space-between; | ||
align-items: center; | ||
`; | ||
|
||
export const BookItem = styled.div``; | ||
|
||
export const BookTitle = styled.p` | ||
margin-top: 2rem; | ||
color: ${({ theme }) => theme.colors.text_gray40}; | ||
${({ theme }) => theme.fonts.title2_b_17}; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import * as S from './Nobel.styled'; | ||
import { IcRightarrowMediumTextgray40 } from '@assets/svgs'; | ||
import { NobelBookList } from '../../constants/nobel'; | ||
|
||
const Nobel = () => { | ||
return ( | ||
<S.NobelWrapper> | ||
<S.NobelContainer> | ||
<S.NobelTitle> | ||
한강 2024 노벨문학상 수상 | ||
<IcRightarrowMediumTextgray40 /> | ||
</S.NobelTitle> | ||
|
||
<S.BookList> | ||
{NobelBookList.map((book) => ( | ||
<S.BookItem key={book.id}> | ||
<book.image /> | ||
<S.BookTitle>{book.title}</S.BookTitle> | ||
</S.BookItem> | ||
))} | ||
</S.BookList> | ||
</S.NobelContainer> | ||
</S.NobelWrapper> | ||
); | ||
}; | ||
|
||
export default Nobel; |
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,65 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
const commonFlexCenter = ` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
`; | ||
|
||
export const RecommendWrapper = styled.div` | ||
${commonFlexCenter} | ||
width: 100vw; | ||
height: 46rem; | ||
flex-shrink: 0; | ||
cursor: default; | ||
`; | ||
|
||
export const RecommendContainer = styled.div` | ||
width: 103rem; | ||
flex-shrink: 0; | ||
`; | ||
|
||
export const RecommendTitle = styled.div` | ||
width: 27.8rem; | ||
flex-shrink: 0; | ||
margin-bottom: 1rem; | ||
color: ${({ theme }) => theme.colors.text_gray40}; | ||
${({ theme }) => theme.fonts.head_b_24}; | ||
font-size: 2.3rem; | ||
`; | ||
|
||
export const BookList = styled.div` | ||
display: flex; | ||
width: 1030px; | ||
justify-content: space-between; | ||
align-items: center; | ||
`; | ||
|
||
export const BookItem = styled.div` | ||
height: 25rem; | ||
`; | ||
|
||
export const BookTitle = styled.p` | ||
width: 17.3rem; | ||
margin-top: 2rem; | ||
color: ${({ theme }) => theme.colors.text_gray40}; | ||
${({ theme }) => theme.fonts.title2_b_17}; | ||
text-align: left; | ||
overflow-wrap: break-word; | ||
`; | ||
|
||
export const RecommendLogin = styled.p` | ||
margin-bottom: 1.9rem; | ||
color: ${({ theme }) => theme.colors.text_gray20}; | ||
${({ theme }) => theme.fonts.body12_sb_13}; | ||
span { | ||
margin-left: 0.8rem; | ||
color: ${({ theme }) => theme.colors.purple50}; | ||
${({ theme }) => theme.fonts.body5_b_13}; | ||
} | ||
`; |
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,31 @@ | ||
import * as S from './Recommend.styled'; | ||
import { IcRightarrowMediumTextgray40 } from '@assets/svgs'; | ||
import { RecommendbookList } from '../../constants/recommend'; | ||
|
||
const Recommend = () => { | ||
return ( | ||
<S.RecommendWrapper> | ||
<S.RecommendContainer> | ||
<S.RecommendTitle> | ||
추천마법사의 선택 | ||
<IcRightarrowMediumTextgray40 /> | ||
</S.RecommendTitle> | ||
<S.RecommendLogin> | ||
지금 로그인하시면 추천마법사가 선택한 책을 보여드려요{' '} | ||
<span>로그인하기</span> | ||
</S.RecommendLogin> | ||
|
||
<S.BookList> | ||
{RecommendbookList.map((book) => ( | ||
<S.BookItem key={book.id}> | ||
<book.image /> | ||
<S.BookTitle>{book.title}</S.BookTitle> | ||
</S.BookItem> | ||
))} | ||
</S.BookList> | ||
</S.RecommendContainer> | ||
</S.RecommendWrapper> | ||
); | ||
}; | ||
|
||
export default Recommend; |
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,36 @@ | ||
import React from 'react'; | ||
import { Img41, Img42, Img43, Img44, Img45 } from '@assets/svgs'; | ||
|
||
export interface Nobel { | ||
id: number; | ||
title: string; | ||
image: React.ComponentType<React.SVGProps<SVGSVGElement>>; | ||
} | ||
|
||
export const NobelBookList: Nobel[] = [ | ||
{ | ||
id: 1, | ||
title: '소년이 온다', | ||
image: Img41, | ||
}, | ||
{ | ||
id: 2, | ||
title: '작별하지 않는다', | ||
image: Img42, | ||
}, | ||
{ | ||
id: 3, | ||
title: '채식주의자', | ||
image: Img43, | ||
}, | ||
{ | ||
id: 4, | ||
title: '흰', | ||
image: Img44, | ||
}, | ||
{ | ||
id: 5, | ||
title: '서랍에 저녁을 넣어 두었다', | ||
image: Img45, | ||
}, | ||
]; |
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,36 @@ | ||
import React from 'react'; | ||
import { Img51, Img52, Img53, Img54, Img55 } from '@assets/svgs'; | ||
|
||
export interface Recommend { | ||
id: number; | ||
title: string; | ||
image: React.ComponentType<React.SVGProps<SVGSVGElement>>; | ||
} | ||
|
||
export const RecommendbookList: Recommend[] = [ | ||
{ | ||
id: 1, | ||
title: '어떤 어른', | ||
image: Img51, | ||
}, | ||
{ | ||
id: 2, | ||
title: '어떤 비밀', | ||
image: Img52, | ||
}, | ||
{ | ||
id: 3, | ||
title: '진짜 하루만에 이해하는 제약바이오 산업', | ||
image: Img53, | ||
}, | ||
{ | ||
id: 4, | ||
title: '흰', | ||
image: Img54, | ||
}, | ||
{ | ||
id: 5, | ||
title: '서랍에 저녁을 넣어 두었다', | ||
image: Img55, | ||
}, | ||
]; |
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