Skip to content

Refactor(#288): Example 페이지 제거, 불필요한 routing 제거 #289

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

Conversation

LellowMellow
Copy link
Collaborator

@LellowMellow LellowMellow commented Dec 13, 2023

작업 개요

작업 사항

  • 불필요한 routing 제거
  • example 페이지 제거
  • userauth 페이지 logo 클릭 시 navigate 링크 수정
  • userauth 우측 header 문구 수정, 클릭 시 이동 처리

고민한 점들(필수 X)

release 이전에 서비스 이용 중에 발생할 수 있는 불편함을 해소하고자 일부 코드를 수정하였습니다.

- release 시에 불필요한 routing과 example 페이지를 제거하였습니다.
- userauth로 routing이 변경됨에 따라서 이동하는 주소를 수정하였습니다.
- Guest로 서비스를 이용할 수 있도록 문구를 수정하고 이동하도록
  처리하였습니다.
@LellowMellow LellowMellow added 🛠️ Refactor 리팩토링 작업 FE 프론트엔드 작업 labels Dec 13, 2023
@LellowMellow LellowMellow added this to the 6주차 milestone Dec 13, 2023
@LellowMellow LellowMellow self-assigned this Dec 13, 2023
Copy link

netlify bot commented Dec 13, 2023

Deploy Preview for boarlog ready!

Name Link
🔨 Latest commit a31b17f
🔍 Latest deploy log https://app.netlify.com/sites/boarlog/deploys/65796ddbb770800008aed560
😎 Deploy Preview https://deploy-preview-289--boarlog.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@LellowMellow LellowMellow changed the title Refactor(#288 ): Example 페이지 제거, 불필요한 routing 제거 Refactor(#288): Example 페이지 제거, 불필요한 routing 제거 Dec 13, 2023
Comment on lines +5 to +14
const navigate = useNavigate();
const showToast = useToast();
const handleButtonClicked = () => {
showToast({ message: "Guest로 시작합니다.", type: "default" });
navigate("/");
};

return (
<button type="button" className="medium-16">
Boarlog 체험하기
<button type="button" className="medium-16" onClick={handleButtonClicked}>
Guest로 시작하기
Copy link
Collaborator

Choose a reason for hiding this comment

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

좋습니다!

@@ -5,7 +5,7 @@ const HeaderLogo = ({ type, lectureTitle }: { type: "login" | "normal" | "lectur
const navigate = useNavigate();

const handleLogoClicked = () => {
if (type === "login") navigate("/login");
if (type === "login") navigate("/userauth");
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

@Byeonjin Byeonjin left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!
저희 메인페이지 헤더에 시작하기 버튼이 아무 기능도 없을 것 같다고 생각이 됩니다.
빼도 좋을지 이야기 나눠보는 것도 좋을 것 같습니다.

@LellowMellow LellowMellow merged commit 3d50893 into boostcampwm2023:dev Dec 13, 2023
Copy link
Collaborator

@Jw705 Jw705 left a comment

Choose a reason for hiding this comment

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

고생 많으셨습니다. 😊

@@ -25,12 +23,10 @@ const App = () => {
<Route path="/userauth" element={<UserAuth />} />
<Route path="/start" element={<Start />} />
<Route path="/mypage" element={<MyPage />} />
<Route path="/test" element={<Test />} />
Copy link
Collaborator

Choose a reason for hiding this comment

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

test 페이지는 나중에 미디어 서버가 종료되었을 때(크레딧 소진 등..)를 위해서 발표 후에 살려봐도 좋을 것 같습니다!

<button type="button" className="medium-16">
Boarlog 체험하기
<button type="button" className="medium-16" onClick={handleButtonClicked}>
Guest로 시작하기
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.

아하 완전 막는 방식인가요? 그리 오래 걸리지는 않을 것 같습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE 프론트엔드 작업 🛠️ Refactor 리팩토링 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor: Example 페이지 제거, 불필요한 routing 제거
3 participants