-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 0.7.0: 로딩 기능 추가, 회원가입 절차 수정 (#78)
* Feat: 모바일 병동 입장 UI 개발 (DUT-528) (#71) * Fix: 랜딩페이지 이미지, height 수정 * Feat: 신청근무 UI 리펙토링, 개발 * Feat: 웹 신청근무 수락/거절 기능 개발 * Refactor: 이벤트 최적화, 최신 기능 이벤트 반영 * Release 0.4.0: 신청근무 수락, 거절 추가 / 이벤트 최적화 * Feat: 웹 성능 최적화 (#73) * Feat: Code splitting, dynamic import (React.lazy) * Feat: Font Opt * Feat: png to webp * Release 0.5.0: 웹 성능 최적화 * Feat: 간호사 연동 관리 기능 개발 (#75) * Feat: 랜딩 수정 * Feat: 로딩 기능 추가, 회원가입 절차 수정 등 (#DUT-648 / #77) * Release 0.7.0: 로딩 기능 추가, 회원가입 절차 수정
- Loading branch information
1 parent
dedbfed
commit 01451cf
Showing
29 changed files
with
640 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import useLoading from '@hooks/ui/useLoading'; | ||
import Lottie from 'react-lottie'; | ||
import loadingLottie from './assets/animation/loading.json'; | ||
|
||
const Loading = () => { | ||
const { loading } = useLoading(); | ||
|
||
return ( | ||
loading && ( | ||
<div className="fixed z-[1005] flex h-screen w-screen items-center justify-center bg-[#0000006e] backdrop-blur-[1px]"> | ||
<Lottie | ||
options={{ | ||
autoplay: true, | ||
loop: true, | ||
animationData: loadingLottie, | ||
rendererSettings: { | ||
preserveAspectRatio: 'xMidYMid slice', | ||
}, | ||
}} | ||
height={400} | ||
width={400} | ||
/> | ||
</div> | ||
) | ||
); | ||
}; | ||
|
||
export default Loading; |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import type { SVGProps } from 'react'; | ||
const SvgCameraIcon = (props: SVGProps<SVGSVGElement>) => ( | ||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 19 19" {...props}> | ||
<path | ||
stroke={props.stroke || '#93939d'} | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth={1.5} | ||
d="M3.889 5.444h.778A1.556 1.556 0 0 0 6.222 3.89.778.778 0 0 1 7 3.11h4.667a.778.778 0 0 1 .777.778A1.556 1.556 0 0 0 14 5.444h.778A1.555 1.555 0 0 1 16.333 7v7a1.555 1.555 0 0 1-1.555 1.556H3.888A1.556 1.556 0 0 1 2.334 14V7A1.556 1.556 0 0 1 3.89 5.444Z" | ||
/> | ||
<path | ||
stroke={props.stroke || '#93939d'} | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth={1.5} | ||
d="M7 10.111a2.333 2.333 0 1 0 4.667 0 2.333 2.333 0 0 0-4.667 0Z" | ||
/> | ||
</svg> | ||
); | ||
export default SvgCameraIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import type { SVGProps } from 'react'; | ||
const SvgRandomIcon = (props: SVGProps<SVGSVGElement>) => ( | ||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 15 15" {...props}> | ||
<path | ||
stroke="#93939D" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth={1.5} | ||
d="M13.556 6.556A6.3 6.3 0 0 0 1.5 5m-.389-3.11V5h3.111M1.111 8.111a6.3 6.3 0 0 0 12.056 1.556m.389 3.111V9.667h-3.111" | ||
/> | ||
</svg> | ||
); | ||
export default SvgRandomIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.