-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/#50 category #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ§μ λ μΌλ¬΄μ§κ² κ°μ²΄ μ λ§λλ¬λ° 짱 !!!!!!!!!!
export default function CategoryContents() { | ||
type gridValueProps = { | ||
id: number; | ||
columnStart: number; | ||
columnEnd: number; | ||
rowStart: number; | ||
rowEnd: number; | ||
}; | ||
const gridValue: gridValueProps[] = [ | ||
{ | ||
id: 1, | ||
columnStart: 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typeμ΄λ const export default function μμλ€κ° μ μ΄μ€λ λ κ±° κ°μμ©
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μννν«!! κ·Έμ κΉλ¬΅μλΉ κ°μν΄μ€ ν€ν€
id: 2, | ||
columnStart: 1, | ||
columnEnd: 2, | ||
rowStart: 6, | ||
rowEnd: 9, | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μΌλ¬΄μ§κ² μ€¬λ€ ~~ 짱짱!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
νΏν€γ γ !!
grid-gap: 0.8rem; | ||
`, | ||
|
||
CategoryItem: styled.article<{ columnStart: number; columnEnd: number; rowStart: number; rowEnd: number }>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π
@@ -22,6 +22,8 @@ export const St = { | |||
Content: styled.p` | |||
margin-top: 0.4rem; | |||
|
|||
white-space: pre-wrap; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λΏλ― γ γ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ΅μ€π₯π₯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그리λ μ₯μΈ μ€μ§μ~!~!! κ³ μν΄μ
μ κ±Έ μ΄λ»κ² νλ μΆμλλ°, μ±κ³΅νλ€λ.. λλ¨ν΄μΈλπ€π€
export { default as CategoryBanner } from "./categoryBanner.png"; | ||
export { ReactComponent as MoodPiickle1 } from "./MoodPiickle1.svg"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λ°μ μ΄ κ±° λ΄κ° μΌλ 건λγ
γ
default
λ ReactComponent
μ μ°¨μ΄κ° λκΉ?!? κΆκΈν©λλΉ!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NYeonK
λμγ
ꡬλ?γ
γ
γ
svg λ μ»΄ν¬λνΈμ²λΌ μ¬μ©νκΈ° μν΄μ ReactComponent λ‘ export μμΌμ£Όκ³ ,
image (png) λ src κ°μ string μΌλ‘ λ°μμμ img
νκ·Έμ src
μμ±μ λ£μ΄μ£Όκ±°λ γ΄ κ·Έλμ κ·Έλ₯ default λ‘ export μμΌμ€
β κ·Έλμ λ§μ΄μ§, μμΌλ‘ svg νμΌμ asset/image
κ° μλλΌ asset/icon
νμΌμ λ£μ΄μ£ΌμΈμ !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
γ
γ
γ
γ
γ
γ
γ
γ
γ
γ
γ
γ
γ
γ
μκ·Έλ°κ±°μ¬μ¨??
λλ μ κ±° icon/index.tsx
μ μλκ±° κ³ λλ‘ λ³΅λΆν΄μμ§γ
γ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λΉ~~~~~~~~~~~~
grid-template-columns: repeat(2, 1fr); | ||
grid-template-rows: repeat(14, 1fr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ€μ μ΄κ² 그리λꡬλ!!
repeatμμ 2, 1fr
μ΄κ² μ΄λ€ μλ―ΈμΈμ§ κΆκΈν©λλ€!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repeat νλ©΄ 컨ν μ΄λλ₯Ό <repeat(λͺμΉΈμΌλ‘ λλκ»μ§, μΉΈλ€μ λΉμ¨)> μ΄λ κ² μ€μ ν μ μμ΄μ§!!! κ°κ° νμ΄λ μ΄μ μ¬λ¬κ°μ λ¨μλ‘ λλ μ£Όκ³ κ·Έ μμ μμ΄ν λ€μ΄ μΌλ§νΌ μ°¨μ§νλμ§ κ³μ°ν΄μ λνλ΄μ£Όλ©΄ λλλΌκΆ!!
grid-row-end: ${({ rowEnd }) => rowEnd}; | ||
background-color: white; | ||
border-radius: 1.6rem; | ||
border: 0.1rem solid #e0e0e0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#e0e0e0
μ΄ λΆλΆ themeμ gray200μΌλ‘ μλλ°, themeμμ κ°μ Έμ€λ 건 μ΄λ¨κΉ‘?-?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
background-color λ theme.colors.white
λ‘ κ³ μ³μ£ΌμΈμ-
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ν€ν€.. border μ μκΉλ theme μ¨μΌλμ§.. κΉλλ°
background-colorλ λ°κΏλμκ»μ€ κ°μν΄μ€~~~~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
πππ₯πππππ·πΈπ·πΈπ·πΈ
CategoryItem: styled.article<{ columnStart: number; columnEnd: number; rowStart: number; rowEnd: number }>` | ||
grid-column-start: ${({ columnStart }) => columnStart}; | ||
grid-column-end: ${({ columnEnd }) => columnEnd}; | ||
grid-row-start: ${({ rowStart }) => rowStart}; | ||
grid-row-end: ${({ rowEnd }) => rowEnd}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μΉ μ κΈ°ν΄ λλ°
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ€μμ~~~~
export const categoryList: categoryListProps[] = [ | ||
{ | ||
id: 0, | ||
title: "μκ°ν ", | ||
content: "컀νκ³Όμ μΆμ΅μ 곡μ νμΈμ", | ||
}, | ||
{ | ||
id: 0, | ||
title: "μκ°ν ", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λλ―Έ κ°μ²΄μ΄κ³ , ν루λ§μ μμ λ μ¬νμ΄μ§λ§, idκ°μ λͺ¨λ λ€λ₯΄κ² μ μΈνλ κ² μ’λ€κ³ μκ°λλλ€~>~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μμ΄λκ°μ μλ°κΏ¨λ΄....!? μμΌλ‘ λ κΌΌκ³ νκ² μ²΄ν¬ ν κ»μ€!!! κ°μκ°μ
CategoryItem2: styled.article` | ||
grid-column-start: 1; | ||
grid-column-end: 2; | ||
grid-row-start: 6; | ||
grid-row-end: 9; | ||
background-color: white; | ||
border-radius: 1.6rem; | ||
border: 0.1rem solid #e0e0e0; | ||
`, | ||
CategoryItem3: styled.article` | ||
grid-column-start: 1; | ||
grid-column-end: 2; | ||
grid-row-start: 9; | ||
grid-row-end: 12; | ||
background-color: white; | ||
border-radius: 1.6rem; | ||
border: 0.1rem solid #e0e0e0; | ||
`, | ||
CategoryItem4: styled.article` | ||
grid-column-start: 1; | ||
grid-column-end: 2; | ||
grid-row-start: 12; | ||
grid-row-end: 15; | ||
background-color: white; | ||
border-radius: 1.6rem; | ||
border: 0.1rem solid #e0e0e0; | ||
`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
γ γ γ γ γ γ γ γ γ γ γ γ γ μ μμΌ μ‘ λΌ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
γ γ γ γ γ γ γ γ γ γ μλ¨ μΉλ€μΌ°λ€
π λ΄μ©
π λ΄κ° μκ² λ λΆλΆ
π μ§λ¬Έν λΆλΆ
πΈ μ€ν¬λ¦°μ·