diff --git a/src/components/CommonStep/CommonStep.jsx b/src/components/CommonStep/CommonStep.jsx
index 8bd4a23..23fc5e8 100644
--- a/src/components/CommonStep/CommonStep.jsx
+++ b/src/components/CommonStep/CommonStep.jsx
@@ -5,7 +5,7 @@ import { Edit, Button } from "../../components";
const cx = classNames.bind(styles);
-const Div = ({ contents, onChangeStepStatus }) => {
+const Div = ({ contents, onChangeStepStatus, onSaveRecipe }) => {
return (
@@ -21,7 +21,7 @@ const Div = ({ contents, onChangeStepStatus }) => {
STEP 3
- 저장하기
+ 저장하기
@@ -31,7 +31,7 @@ const Div = ({ contents, onChangeStepStatus }) => {
-
+
{contents[0].detail}
@@ -143,6 +143,36 @@ const Div = ({ contents, onChangeStepStatus }) => {
+
+
+
+
+
+
+
+
Thank you!
+
+
+ 나만의 레시피가 성공적으로 등록되었습니다!
+
+ 많은 사람들과 레시피를 공유해보세요.
+
+
+
+
+
+
+
+
+
);
};
diff --git a/src/containers/Enrolment/Enrolment.jsx b/src/containers/Enrolment/Enrolment.jsx
index 1826e85..d1bf813 100644
--- a/src/containers/Enrolment/Enrolment.jsx
+++ b/src/containers/Enrolment/Enrolment.jsx
@@ -79,18 +79,26 @@ class Header extends Component {
}
};
- common_form = (contents, onChangeStepStatus) => {
+ onSaveRecipe = event => {
+ let doneView = document.querySelector(".done-container");
+
+ doneView.classList.toggle("close");
+ };
+
+ common_form = (contents, onChangeStepStatus, onSaveRecipe) => {
return [
];
};
render() {
return (
-
+
+
);
}
}
diff --git a/src/containers/Enrolment/Enrolment.scss b/src/containers/Enrolment/Enrolment.scss
index 95138af..7f4dfe0 100644
--- a/src/containers/Enrolment/Enrolment.scss
+++ b/src/containers/Enrolment/Enrolment.scss
@@ -404,4 +404,104 @@
clear: both;
}
+ .done-container {
+ width: 100%;
+ height: 100%;
+ z-index: 2;
+ position: absolute;
+ top: 0;
+ left: 0;
+ background-color: rgba(0,0,0,0.5);
+
+ .done-notification-area {
+ width: 800px;
+ height: 640px;
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%,-50%);
+ border: 1px solid #707070;
+ border-radius: 20px;
+ background: #fff;
+ }
+
+ .done-closeButton {
+ display: block;
+ position: absolute;
+ width: 20px;
+ height: 20px;
+ right: 25px;
+ top: 25px;
+ border: 1px solid #000;
+ cursor: pointer;
+ }
+
+ .done-icon {
+ display: block;
+ width: 200px;
+ height: 200px;
+ margin-top: 62px;
+ margin-left: auto;
+ margin-right: auto;
+ border: 1px solid #707070;
+ border-radius: 100px;
+ background-color: inherit;
+ }
+
+ .done-title {
+ display: block;
+ margin-top: 15px;
+ font-family: NotoSans;
+ font-size: 80px;
+ font-weight: bold;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: 1.36;
+ letter-spacing: normal;
+ text-align: center;
+ color: #707070;
+ }
+
+ .done-content {
+ display: block;
+ font-family: NanumGothicOTF;
+ font-size: 15px;
+ font-weight: normal;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: 1.67;
+ letter-spacing: normal;
+ text-align: center;
+ color: #707070;
+ white-space: pre-line;
+ }
+
+ .button-area {
+ width: 100%;
+ margin-top: 50px;
+ text-align: center;
+
+ button {
+ display: inline-block;
+ width: 245px;
+ height: 80px;
+ border-radius: 20px;
+ font-family: NanumGothicOTF;
+ font-size: 20px;
+ font-weight: bold;
+ font-style: normal;
+ font-stretch: normal;
+ line-height: 1.5;
+ letter-spacing: normal;
+ text-align: center;
+ color: #707070;
+ }
+
+ button:first-child {
+ margin-right: 80px;
+ }
+ }
+
+ }
+
}
\ No newline at end of file