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

서버 셧다운 페이지 제작 및 서버 셧다운 여부 api 연동 #362

Merged
merged 8 commits into from
Jul 24, 2024

Conversation

rmdnps10
Copy link
Contributor

@rmdnps10 rmdnps10 commented Jul 21, 2024

Checklist


  • 올바른 브랜치에 PR을 보내도록 설정하였나요?
  • PR의 라벨을 올바르게 달았나요?

Description


브랜치 안만들고 커밋하다가 뒤에 번호가 안붙었네요.. (압도적 죄송)
  1. 아래의 서버 셧다운 페이지를 만들고 Router에 추가했습니다.
    페이지 레이아웃은 아래의 페이지에서 헤더를 셰어마인드 공통헤더로 교체한 모습입니다!
스크린샷 2024-07-21 오후 11 57 46
  1. 리액트 쿼리의 useQuery 활용해서 서버 셧다운 여부를 가져와서 셧다운 시 셧다운 페이지로 리다이렉트하는 로직을 useManipulateServerDown 이라는 훅 안에서 구현하고(sharemind-admin 참고했어요!), 이를 AppContainer에서 불러왔습니다.

리뷰 부탁드립니다!


Related Issues


#361

To Reveiwer



@rmdnps10 rmdnps10 added API API 관련 Feature 기능 개발 Priority-1 🔥 priority 1 labels Jul 21, 2024
@rmdnps10 rmdnps10 self-assigned this Jul 21, 2024
Copy link

netlify bot commented Jul 21, 2024

Deploy Preview for candid-semolina-d0db42 ready!

Name Link
🔨 Latest commit 1cafaf1
🔍 Latest deploy log https://app.netlify.com/sites/candid-semolina-d0db42/deploys/669f319af4a7780008add0fe
😎 Deploy Preview https://deploy-preview-362--candid-semolina-d0db42.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.

@rmdnps10 rmdnps10 merged commit 1cafaf1 into dev Jul 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API 관련 Feature 기능 개발 Priority-1 🔥 priority 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant