Skip to content

Conversation

@juha399
Copy link
Collaborator

@juha399 juha399 commented Feb 4, 2025

#️⃣ Issue Number



📝 요약(Summary)



🛠️ PR 유형

어떤 변경 사항이 있나요?

  • 새로운 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 코드에 영향을 주지 않는 변경사항(오타 수정, 탭 사이즈 변경, 변수명 변경)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제


📸스크린샷 (선택)



💬 공유사항



📚 코드 이해에 필요한(혹은 본인이 이해하는데 사용한) 레퍼런스 목록



@juha399 juha399 self-assigned this Feb 4, 2025
@vercel
Copy link

vercel bot commented Feb 4, 2025

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

Name Status Preview Comments Updated (UTC)
fandom-k ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 5:33am

Comment on lines +12 to +20
server: {
proxy: {
'/api': {
target: 'https://fandom-k-api.vercel.app',
changeOrigin: true,
secure: false,
},
},
},
Copy link
Owner

Choose a reason for hiding this comment

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

프록시 서버를 설정하신 이유를 알고 싶습니다!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

서버 오류시 프록시 사용을 권장한다고 하더라구요 굳이 필요 없나용

Copy link
Owner

Choose a reason for hiding this comment

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

필요없을 거 같긴 해요!

Comment on lines +83 to +84
<div className="w-full min-h-screen bg-[#02000E] flex flex-col items-center ">
<Header />
Copy link
Owner

Choose a reason for hiding this comment

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

이거는 이전에 썼던 bg-midnightBlack 잘 쓰셨어요!

Comment on lines +29 to +30
className="absolute overflow-hidden bg-white rounded-full
bg-transparent"
Copy link
Owner

Choose a reason for hiding this comment

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

줄바꿈을 왜 주셨는지 알 수 있을까요??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

중간에 하다가 올린거라 그래요 ㅋㅋ

Comment on lines +21 to +26
if (typeof window !== 'undefined') {
if (window.innerWidth < 640) return 6;
if (window.innerWidth < 768) return 8;
return 16;
}
return 16;
Copy link
Owner

Choose a reason for hiding this comment

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

결국 return 16을 할 거면

if (tyeof window !== 'undefined') 는 무의미한 거 같아요!

또 저희 반응형 크기는

https://github.com/yoonc01/Fandom-K/blob/main/tailwind.config.js#L25

이거에요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

확인했습니다.

Comment on lines +37 to +46
useEffect(() => {
const storedFavorites = localStorage.getItem(storageKey);
if (storedFavorites) {
setFavoriteIdols(storedFavorites.split(','));
}
}, []);

useEffect(() => {
localStorage.setItem(storageKey, favoriteIdols.join(','));
}, [favoriteIdols]);
Copy link
Owner

Choose a reason for hiding this comment

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

로컬스토리지 다루는 부분을 utils에 따로 설정할 수 있을 거 같아요!

또 로컬스토리지 다루는 부분에 대해서 재현님과 상의해서 매개변수로 storageKey를 받도록 해서 함수를 합칠 수도 있을 거 같아요!

Copy link
Collaborator Author

@juha399 juha399 Feb 4, 2025

Choose a reason for hiding this comment

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

어려워요 ㅋㅋ낼 팀미팅시간에 설명 한번만 부탁드려도 될까유//

@juha399 juha399 closed this Feb 4, 2025
@juha399 juha399 deleted the fix/#28/Favorite-idol-ui branch February 9, 2025 03:55
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.

3 participants