diff --git a/src/components/MicButton.js b/src/components/MicButton.js new file mode 100644 index 0000000..d1a8f0d --- /dev/null +++ b/src/components/MicButton.js @@ -0,0 +1,24 @@ +import React from "react"; + +const MicButton = ({onClick}) => { + return ( + + ); +}; + +const styles = { + micButton: { + background: "none", + border: "none", + cursor: "pointer", + marginBottom: "20px", + }, + micIcon: { + width: "60px", + height: "60px", + }, +}; + +export default MicButton; \ No newline at end of file diff --git a/src/pages/SignupPage.js b/src/pages/SignupPage.js index bfd40f1..2991c51 100644 --- a/src/pages/SignupPage.js +++ b/src/pages/SignupPage.js @@ -4,6 +4,7 @@ import Button from "../components/Button"; import Logo from "../components/Logo"; const SignupPage = () => { + const navigate = useNavigate(); return(
@@ -14,7 +15,7 @@ const SignupPage = () => { -
); }; diff --git a/src/pages/VoiceTrainingPage.js b/src/pages/VoiceTrainingPage.js new file mode 100644 index 0000000..517892c --- /dev/null +++ b/src/pages/VoiceTrainingPage.js @@ -0,0 +1,80 @@ +import React from "react"; +import { useNavigate } from "react-router-dom"; +import MicButton from "../components/MicButton"; +import Logo from "../components/Logo"; + +const VoiceTrainingPage = () => { + const navigate = useNavigate(); + + return ( +
+ +

목소리를 학습하겠습니다.

+

(아래의 마이크 버튼을 누르고 텍스트를 읽어주세요.)

+ +
+ Memo +

+ 안촉촉한 초코칩 나라에 살던 안촉촉한 초코칩이 초초초초초초콬초코촠칩.. 아직 미정이에유.. 텍스트 분석하기 좋은 글들을 넣어봅시다. +

+
+ + + + +
+ ); +}; + +const styles = { + container: { + display: "flex", + flexDirection: "column", + alignItems: "center", + justifyContent : "center", + minHeight : "100vh", + backgroundColor : "#F8EAD2", + }, + title: { + fontSize: "20px", + fontWeight: "bold", + }, + subtitle: { + fontSize: "14px", + color: "#555", + marginBottom: "20px", + }, + memoContainer: { + position: "relative", + width: "250px", + height: "200px", + marginBottom: "20px", + }, + memoImage: { + width : "100%", + height : "100%", + objectFit : "cover", + }, + memoText: { + position: "absolute", + top: "20px", + left: "20px", + right: "20px", + fontSize: "14px", + textAlign : "center", + lineHeight : "1.5", + fontWeight : "bold", + }, + nextButton: { + backgroundColor : "#DABEC9", + border: "none", + padding: "10px 20px", + borderRadius: "8px", + fontSize: "16px", + cursor: "pointer", + }, +}; + +export default VoiceTrainingPage; \ No newline at end of file