-
Notifications
You must be signed in to change notification settings - Fork 1
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] 파운데이션, 컴포넌트, 그래픽 페이지 마크업 #182
base: main
Are you sure you want to change the base?
Conversation
|
Size Change: 0 B Total Size: 680 kB ℹ️ View Unchanged
|
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.
const containerStyle = css({ | ||
backgroundColor: "backgroundAlternative", | ||
borderRadius: "sm", | ||
padding: "32px 40px", | ||
}); |
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.
p5;
단순한 스타일이긴 하지만,, 엄청나게 반복될 것이 예상되어 요것도 컴포넌트로 따로 빼면 어떨까 합니다! (내용물 children
으로 받는 형식)
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.
좋아요!! Card 라는 컴포넌트로 분리했습니다 e36f808
- scroll bar 추가 - 사이드바에 border 추가
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.
수고하셨어요! 리뷰 한번만 확인해주세용~
import Link from "next/link"; | ||
|
||
export const metadata: Metadata = { | ||
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.
P3;
한글로 직역해서 '컴포넌트' / '파운데이션'이렇게 적으면 조금 어색해보이기도 하고, 코드 관련된 것은 영어로 검색하는 경우가 많으니
영어로 Component
<- 요렇게 적는게 더 좋을 것 같기도 해요!
<styled.main | ||
height="100vh" | ||
left="180px" | ||
padding="70px 102px 0 101px" | ||
position="relative" |
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.
P2;
position
이 relative
이기 때문에 left
속성이 안먹는 것 같아용!
지금 main
태그 안에 존재하는 레이아웃 스타일이 조금 틀어져서 전반적으로 가운데 정렬이 안맞는 것 같은데,
아래와 같이 스타일 바꿔보면 조금 더 좋아질 것 같아요.
<styled.main | |
height="100vh" | |
left="180px" | |
padding="70px 102px 0 101px" | |
position="relative" | |
<styled.main | |
height="100vh" | |
padding="70px 102px 0 101px" | |
position="relative" | |
width="100%" | |
margin-left="250px" | |
> |
<div className={headerStyle}> | ||
<Link href={routePath.overview}> | ||
<GdscLogo /> | ||
</Link> | ||
<div className={titleTextStyle}>Wow Design System</div> | ||
</div> |
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.
P4;
data
보다는 조금 더 명시적인 파일 이름을 사용하면 좋을 것 같아요!
🎉 변경 사항
🚩 관련 이슈
🙏 여기는 꼭 봐주세요!
와우 디자인 시스템
affix 가 붙게끔 생성했습니다.다른 형식이 좋으시면 말씀주세요~