-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'FE/bugfix/#20-FrontPagesALl' into 'dev'
Fe/bugfix/#20 front pages a ll See merge request s09-webmobile1-sub2/S09P12C201!195
- Loading branch information
Showing
30 changed files
with
157 additions
and
99 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
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
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
37 changes: 37 additions & 0 deletions
37
frontend/refill/src/components/aidiagnosis/children/AiServerError.tsx
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,37 @@ | ||
import React from "react"; | ||
import "styles/Modal.css"; | ||
import DangerousIcon from '@mui/icons-material/Dangerous'; | ||
import CloseIcon from '@mui/icons-material/Close'; | ||
|
||
|
||
interface ErrorProps { | ||
setIsError: (error: boolean) => void; | ||
} | ||
|
||
const AiServerError: React.FC<ErrorProps> = ({ setIsError }) => { | ||
return ( | ||
<div className="modal-overlay"> | ||
<div className="error-modal"> | ||
<div className="error-modal-top-box flex justify-between items-center p-2"> | ||
<p className="text-6xl ml-10 text-white font-black">Error</p> | ||
<button onClick={() => {setIsError(false)}}><CloseIcon sx={{ fontSize: 60}} color="primary"/></button> | ||
</div> | ||
<div> | ||
<div className="error-modal-middle-box p-10 flex"> | ||
<div className="error-modal-left-box"><DangerousIcon color="primary" sx={{ fontSize: 100 }} /></div> | ||
<div className="error-modal-right-box"> | ||
<p className="text-2xl font-black"> | ||
AI 서버에서 에러가 발생했습니다. RGBA파일이 아닌 RGB파일을 | ||
사용하시거나 머리 사진을 업로드해주세요. | ||
</p> | ||
</div> | ||
</div> | ||
<div className="error-modal-bottom-box flex justify-center"> | ||
<button onClick={() => {setIsError(false)}} className="error-btn text-4xl font-black">OK</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
export default AiServerError; |
35 changes: 35 additions & 0 deletions
35
frontend/refill/src/components/consultReservation/NotSuccess.tsx
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,35 @@ | ||
import React from "react" | ||
import "styles/Modal.css"; | ||
import DangerousIcon from '@mui/icons-material/Dangerous'; | ||
import CloseIcon from '@mui/icons-material/Close'; | ||
|
||
interface ErrorProps { | ||
setIsError: (error: boolean) => void; | ||
} | ||
|
||
const NotSuccess: React.FC<ErrorProps> = ({setIsError}) => { | ||
return ( | ||
<div className="modal-overlay"> | ||
<div className="error-modal"> | ||
<div className="error-modal-top-box flex justify-between items-center p-2"> | ||
<p className="text-6xl ml-10 text-white font-black">Error</p> | ||
<button onClick={() => {setIsError(false)}}><CloseIcon sx={{ fontSize: 60}} color="primary"/></button> | ||
</div> | ||
<div> | ||
<div className="error-modal-middle-box p-10 flex"> | ||
<div className="error-modal-left-box"><DangerousIcon color="primary" sx={{ fontSize: 100 }} /></div> | ||
<div className="error-modal-right-box"> | ||
<p className="text-2xl font-black"> | ||
동일한 예약시간이 있어서 예약이 완료되지 못했습니다. 다른 날짜로 다시 예약해주세요. | ||
</p> | ||
</div> | ||
</div> | ||
<div className="error-modal-bottom-box flex justify-center"> | ||
<button onClick={() => {setIsError(false)}} className="error-btn text-4xl font-black">OK</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
export default NotSuccess |
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
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
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.