Skip to content

Commit

Permalink
Feat: 모바일 병동 입장 UI 개발 (DUT-528) (#71)
Browse files Browse the repository at this point in the history
* Fix: 랜딩페이지 이미지, height 수정

* Feat: 신청근무 UI 리펙토링, 개발

* Feat: 웹 신청근무 수락/거절 기능 개발

* Refactor: 이벤트 최적화, 최신 기능 이벤트 반영
  • Loading branch information
sjsjsj1246 authored Nov 2, 2023
1 parent 2931f4e commit 5e9519b
Show file tree
Hide file tree
Showing 31 changed files with 1,450 additions and 673 deletions.
Binary file modified public/img/landing_mobile_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
import useAuth from '@hooks/auth/useAuth';
import { Router } from '@pages/Router';
import { useEffect } from 'react';

function App() {
useAuth(true);
const setScreenHeight = () => {
const vh = window.innerHeight * 0.01;
document.documentElement.style.setProperty('--vh', `${vh}px`);
};
useEffect(() => {
setScreenHeight();
window.addEventListener('resize', setScreenHeight);
return () => window.removeEventListener('resize', setScreenHeight);
}, []);

return <Router />;
}

Expand Down
Loading

0 comments on commit 5e9519b

Please sign in to comment.