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/#97] 스토어 상세보기 페이지 퍼블리싱 #111

Merged
merged 21 commits into from
Jan 18, 2025

Conversation

youtheyeon
Copy link
Collaborator

@youtheyeon youtheyeon commented Jan 16, 2025

📌 관련 이슈번호


체크리스트

  • 🎋 base 브랜치를 develop 브랜치로 설정했나요?
  • 🖌️ PR 제목은 형식에 맞게 잘 작성했나요?
  • 🏗️ 빌드는 성공했나요? (yarn build)
  • 🧹 불필요한 코드는 제거했나요? e.g. console.log
  • 🙇‍♂️ 리뷰어를 지정했나요?
  • 🏷️ 라벨은 등록했나요?

✅ Key Changes

이번 PR에서 작업한 내용을 간략히 설명해주세요

  1. 스토어 상세보기 페이지 퍼블리싱
  2. Tab 공통 컴포넌트 store 옵션 스타일 수정 (sticky 설정)
  3. TextButton semiLarge 사이즈 추가
  4. Global Style 오버스크롤 설정 추가

📢 To Reviewers


📸 스크린샷 or 실행영상

2025-01-16.10.04.09.mov

Copy link
Collaborator

@zzz-myam zzz-myam left a comment

Choose a reason for hiding this comment

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

우왓,,, 세세하게 쪼개서 깔끔하게 코딩한 것도 너무 멋지고, 적합한 스타일들을 활용해서 원하는 결과를 정확하게 만들어낸 것도 넘 신기합니다! 새로운 것들을 많이 배워갈 수 있었던 pr입니다 :) 최고예요!!

Copy link
Collaborator

@thisishwarang thisishwarang left a comment

Choose a reason for hiding this comment

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

너무 고생 많으셨습니다!!
디테일이 정말 많네요~~ 굿굿

),
small: createButtonSizeStyles(vars.fonts.body02_sb_14, '4.4rem'),
medium: createButtonSizeStyles(vars.fonts.head06_sb_16, '4.8rem'),
semiLarge: createButtonSizeStyles(vars.fonts.head06_sb_16, '5.5rem'),
Copy link
Collaborator

Choose a reason for hiding this comment

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

지금 실제로 large 사이즈로 쓰이는 컴포넌트가 한개밖에 없어서 지금 빠르게 수정하는게 좋을 것 같아요.
height값이 5.5rem인 이친구를 large로 바꾸고 6rem인 친구를 xLarge로 바꾸면 좋을 것 같습니다!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

좋습니다!!!

storeAddress,
} from './Banner.css';

const Banner = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

추후 api 요청시에는 storeId 값을 prop으로 받아와야 할 것 같아요!


export const bannerContainer = style([
flexGenerator('column', 'center', 'flex-start'),
{ width: '100%', padding: '0 2rem' },
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기 gap: '1.8rem' 이 필요할 것 같은데 확인 한번 부탁드립니다!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

원래 margin으로 주고 있었는데 gap으로 수정했습니다 감사해요!!!

export const storeInfoWrapper = style([
flexGenerator('row', 'space-between', 'flex-start'),
{
marginBottom: '1.6rem',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Banner컴포넌트와 그 아래 Tab 컴포넌트 사이의 1.6rem 만큼 띄우기 위해 marginBottom을 여기 쓰신 것 같은데 컴포넌트 내부에서 컴포넌트와 컴포넌트 사이의 거리를 주는건 어색해 보여요.
StorePage 컴포넌트의 스타일에서 marginBottom을 주거나 혹은 bannerContainer에 주는건 어떨까요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

좋은 의견 감사합니다!

<TextButton size={'semiLarge'} color={'stroke'}>
지도뷰
</TextButton>
<TextButton size={'semiLarge'}>주문하러가기</TextButton>
Copy link
Collaborator

Choose a reason for hiding this comment

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

주문하러 가기
로 띄워쓰기 넣어주세요!

},
]);

export const buttonStyle = style({
Copy link
Collaborator

Choose a reason for hiding this comment

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

안쓰는 스타일은 지워주세요!

Comment on lines +26 to +32
<Image
key={design.cakeId}
src={design.cakeImageUrl}
hasIcon
isActive={design.isLiked}
/>
))}
Copy link
Collaborator

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
Collaborator

@chaeneey chaeneey left a comment

Choose a reason for hiding this comment

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

이 레전드 페이지를 뚝딱 😍
너무 고생 많으셨습니다 -!!

data 페이지에서 미리 받도록 수정하시는 것만 끝나면 바로 합쳐도 될 것 같은데요 ~~? 👍🏻🍀

@thisishwarang thisishwarang merged commit d910ab0 into develop Jan 18, 2025
1 check passed
@thisishwarang thisishwarang deleted the feat/#97/store-page branch January 18, 2025 17:48
Copy link

🍰 Storybook 배포가 완료되었습니다! 🔗 https://677cb5c3ab50c3f524eaae19-eczhdpfcgb.chromatic.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 스토어 상세보기 페이지 퍼블리싱
4 participants