Skip to content

canofmato week1#5

Merged
bk-git-hub merged 4 commits intocanofmatofrom
canofmato-week1
Mar 16, 2026
Merged

canofmato week1#5
bk-git-hub merged 4 commits intocanofmatofrom
canofmato-week1

Conversation

@canofmato
Copy link
Copy Markdown

✅ 제출 정보

  • Week: Week <01>

✅ 체크리스트 (필수)

  • PR의 base branchmain이 아니라 내 GitHub 핸들 브랜치(<handle>)다
  • compare branch가 <handle>-week-xx 형식이다
  • 변경 사항이 이번 주 과제 범위에 해당한다
  • (필요 시) 실행 방법을 적었다
  • (가능하면) 결과 스크린샷/데모 링크를 첨부했다

🧩 구현 내용 요약

  • Week 1 Figma 레이아웃 구현
  • 컴포넌트 분리
  • JSX + Curly Braces 적용
스크린샷 2026-03-16 오후 10 30 31

❓ 궁금한 점

Copy link
Copy Markdown
Collaborator

@bk-git-hub bk-git-hub left a comment

Choose a reason for hiding this comment

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

벌써 제출해주시다니 엄청 빠르시군요~! 워낙 잘하시는 만큼 리뷰 드릴 부분이 많진 않은 것 같습니다.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

지금 보이는 바로는 App.css가 따로 사용되는 곳이 없는 것 같습니다! 불필요한 css파일은 지우셔도 될 것 같아요

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Tailwind CSS는 현재 공식 문서 기준으로 v4 사용을 기본으로 안내하고 있습니다. 저희 과제에서는 3버전을 쓰셔도 무방하긴 한데 4버전이 초기 설정 및 커스텀 테마 선언 같은게 더 단순해져서 한번 알아보시면 좋을 것 같아요!

조금 v4를 홍보를 하자면 v4부턴 tailwind.config.js를 다루지 않습니다. 또한 css파일에서 임포트 하는 방법도
@import "tailwindcss"; 한줄로 끝나게 됩니다

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

전에 프로젝트에서 4버전을 사용했었을 때 오류가 많았어서 3을 계속 쓰던 습관이 남아있었던 것 같네요. 이번엔 그럼 v4를 사용해보도록 하겠습니다..!! 👍🏻

@@ -0,0 +1,31 @@
const cardStyle = {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Tailwind를 사용하시면서 inline style도 함께 쓰신 이유가 있는지 궁금합니다!

Copy link
Copy Markdown
Author

@canofmato canofmato Mar 16, 2026

Choose a reason for hiding this comment

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

JSX + Curly Braces를 의식하다보니 스타일들을 다 inline으로 했던 것 같네요..ㅎ 리팩토링할땐 tailwind로 다시 바꿀 예정입니다!


export default function TodoList() {
return (
<div className="flex flex-col items-start gap-[16px] self-stretch">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

리스트를 매핑하는 내용은 다음 주차에 다룰 예정이긴 하지만, 현재 TodoList컴포넌트를

대신
    로 감싸고 TodoCard는
    대신
  • 로 작성해서 조금 더 시맨틱한 구조로 표현해볼 수 있을 것 같아요.

@bk-git-hub bk-git-hub merged commit 39ef4cd into canofmato Mar 16, 2026
1 check passed
@bk-git-hub bk-git-hub deleted the canofmato-week1 branch March 16, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants