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: 커피챗 업로드 뷰 데스크탑, 모바일 레이아웃 구현 #1599

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

seojisoosoo
Copy link
Member

@seojisoosoo seojisoosoo commented Oct 21, 2024

🤫 쉿, 나한테만 말해줘요. 이슈넘버

  • close #

🧐 어떤 것을 변경했어요~?

  • 업로드 페이지의 레이아웃을 구현했어요.

🤔 그렇다면, 어떻게 구현했어요~?

  • layout 폴더 안에 컴포넌트를 구현했고, main, aside, submitButton 각 컴포넌트를 children으로 받아서 구현했어요.

❤️‍🔥 당신이 생각하는 PR포인트, 내겐 매력포인트.

  • 이제 업로드 쪽 로직 구현할 예정입니다! 로직 구현하면서 임시로 넣어둔 defaultForm은 지울게요!

📸 스크린샷, 없으면 이것 참,, 섭섭한데요?

스크린샷 2024-10-21 오후 10 49 39 스크린샷 2024-10-21 오후 10 49 15

Copy link

height bot commented Oct 21, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@seojisoosoo seojisoosoo self-assigned this Oct 21, 2024
@github-actions github-actions bot requested a review from simeunseo October 21, 2024 13:50
Copy link

✨✨ 스토리북으로 확인하기 ✨✨

@seojisoosoo seojisoosoo changed the title Feat/#1593 layout feat: 커피챗 업로드 뷰 데스크탑, 모바일 레이아웃 구현 Oct 21, 2024
Copy link

🚀 프리뷰 배포 확인하기 🚀

https://cb170e0a.sopt-internal-dev.pages.dev

@simeunseo
Copy link
Member

simeunseo commented Oct 22, 2024

요거 변경된 bp로 수정된 후에 노티한번 주시면 리뷰 남길게요!! 감사합니다 ☺️

@seojisoosoo
Copy link
Member Author

bp 기존 768픽셀로 유지하기로 해서, 리뷰해주시면 될 것 같습니당!!!

Copy link
Member

@simeunseo simeunseo left a comment

Choose a reason for hiding this comment

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

디자인 디테일 살리려고 노력한게 느껴집니다 ㅠㅠ 너무 고생많았어요!!! 🚀🚀🚀🚀🚀

혹시 여기 Select 가려지는거 인지하고 계실까요,,?
image

Comment on lines +10 to +24
export default function DesktopCoffeechatUploadLayout({
main,
aside,
submitButton,
}: DesktopCoffeechatUploadLayoutProps) {
return (
<Layout>
<Main>
<Body>{main}</Body>
<Footer>{submitButton}</Footer>
</Main>
<Aside>{aside}</Aside>
</Layout>
);
}
Copy link
Member

Choose a reason for hiding this comment

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

<Layout>
      <Main>
        <Body>
            <CoffeechatForm />
        </Body>
        <Footer>
          <UploadButton />
        </Footer>
      </Main>
      <Aside>
          <ProgressBox uploadType={uploadType} myInfoInprogress={false} coffeechatInfoInprogress={false} />
      </Aside>
</Layout>

Q:
이런식으로 바로 넣어주는 방법도 있을 것 같은데 main, submitButton, aside를 prop으로 넘겨서 삽입한 이유가 궁금해요!!

Copy link
Member Author

Choose a reason for hiding this comment

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

이것은 취향의 차이일 것 같긴 한데용! 데스크탑이랑 모바일이랑 progress box의 유무로 인해 보여지는 레이아웃이 다르다보니 한 번 분기 처리를 해주었습니다! 또한 1260, 768, 430 bp에 따라 마진값이 다른 스타일을 넘겨주어야했다보니(이건 뒷 pr에 추가했습니닷) 데탑/모바일 레이아웃 컴포넌트를 따로 만들면 좀 더 간결해보일 것 같아서 나누어보았어요!

Copy link
Member

@simeunseo simeunseo Oct 25, 2024

Choose a reason for hiding this comment

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

P1:
이 PR 변경사항에 포함된 내용은 아닌데,

여기 선 gray600인데 gray800으로 잘못 들어간거같아요!

image
  &::before {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 7px;
    transform: translateX(-50%);
    background-color: ${colors.gray800}; 👈
    width: 1px;
    content: '';
  }

Copy link
Member Author

Choose a reason for hiding this comment

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

어머나!!! 정말 감사합니다!!!

@seojisoosoo seojisoosoo merged commit 1a587ba into feat/#1593 Oct 25, 2024
6 checks passed
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.

2 participants