-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor(#288): Example 페이지 제거, 불필요한 routing 제거 #289
Conversation
- release 시에 불필요한 routing과 example 페이지를 제거하였습니다.
- userauth로 routing이 변경됨에 따라서 이동하는 주소를 수정하였습니다.
- Guest로 서비스를 이용할 수 있도록 문구를 수정하고 이동하도록 처리하였습니다.
✅ Deploy Preview for boarlog ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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로 시작하기 |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기존에 꼭 있었으면 했던 기능이었는데 좋네요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
저희 메인페이지 헤더에 시작하기 버튼이 아무 기능도 없을 것 같다고 생각이 됩니다.
빼도 좋을지 이야기 나눠보는 것도 좋을 것 같습니다.
There was a problem hiding this 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 />} /> |
There was a problem hiding this comment.
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로 시작하기 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 게스트일 때는 메인 페이지에서 강의 시작하기 카드가 보이지 않게 처리하는 건 너무 오래걸릴까요..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아하 완전 막는 방식인가요? 그리 오래 걸리지는 않을 것 같습니다!
작업 개요
작업 사항
고민한 점들(필수 X)
release 이전에 서비스 이용 중에 발생할 수 있는 불편함을 해소하고자 일부 코드를 수정하였습니다.