Skip to content
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] 버튼 컴포넌트, GNB, Footer 추가 #253

Merged
merged 10 commits into from
Sep 10, 2023
Merged

Conversation

99-zziy
Copy link
Member

@99-zziy 99-zziy commented Sep 9, 2023

작업 내용

  • 버튼 컴포넌트 개발
  • GNB 컴포넌트 개발
  • Footer 컴포넌트 개발

스크린샷

스크린샷 2023-09-09 오후 10 48 55 요런 느낌 ~

사용 방법

레퍼런스

@vercel
Copy link

vercel bot commented Sep 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
www-depromeet-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2023 0:53am

@github-actions github-actions bot added the style change style or request it label Sep 9, 2023
@99-zziy
Copy link
Member Author

99-zziy commented Sep 9, 2023

윤호님이 설정해주신 storybook, theme merge 하면 다시 수정해서 PR하겠습니다 👀..

@github-actions
Copy link

github-actions bot commented Sep 9, 2023

Bundle Sizes

Compared against d4bc7f9

Route Size (gzipped) Diff
/ 72.18 KB -10.08 KB
/404 71.89 KB -4.91 KB
/_app 114.71 KB -16.21 KB
/about 72.2 KB -12.73 KB
/project 72.2 KB -22.66 KB
/recruit 72.2 KB -13.04 KB
/contact no change removed
/project/[projectTitle] no change removed
/recruit/[position] no change removed
Dynamic import Size (gzipped) Diff
../components/project-detail/OtherProjectSection.tsx -> ../project/ProjectItem/ProjectItem no change removed

@99-zziy 99-zziy added the feature New feature or request label Sep 9, 2023
Copy link
Member

@kimyouknow kimyouknow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

컨벤션 관련된 댓글만 달았어요~ 확인 한 번 해주세요!


export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & PropsWithChildren;

export const Button = ({ children, ...props }: ButtonProps) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

function 컴포넌트로 통일...ㅎㅎㅎㅎㅎㅎㅎㅎ

@@ -0,0 +1 @@
export * from './Button';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이렇게하면 default export아닌가요? 아래처럼해야 named export로 알고 있는뎁

Suggested change
export * from './Button';
export { Button } from './Button';

@@ -27,8 +27,6 @@ const globalCss = css`
box-sizing: border-box;
word-break: keep-all;
word-wrap: break-word;

cursor: none !important;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

불편했는데 굳굳👍

@99-zziy 99-zziy merged commit 5905a6d into develop Sep 10, 2023
7 of 8 checks passed
@99-zziy 99-zziy deleted the feat/common-component branch September 10, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request style change style or request it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants