diff --git a/frontend/src/pages/ask.tsx b/frontend/src/pages/ask.tsx index 4104f4b..452bf21 100644 --- a/frontend/src/pages/ask.tsx +++ b/frontend/src/pages/ask.tsx @@ -1,11 +1,14 @@ import React, { useState } from "react"; import { Helmet } from "react-helmet-async"; import { ContentHeader } from "../components/content-header"; +import { Fab } from "@material-ui/core"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import { faPlus } from "@fortawesome/free-solid-svg-icons"; import styled from "styled-components"; import icon_delete from "../styles/img/icon_delete.svg"; interface IProps { - showDescription?: boolean; + showComeBackDescription?: boolean; activePageIndex: number; } @@ -14,8 +17,8 @@ export const Ask: React.FC = () => { const onCurrentPageChange = (pageIndex: number) => { setCurrentPage(pageIndex); }; - const [showDescription, setShowDescription] = useState(true); - const onClickRemove = () => setShowDescription(false); + const [showComeBackDescription, setShowComeBackDescription] = useState(true); + const onClickRemove = () => setShowComeBackDescription(false); const [titleText, setTitleText] = useState(""); const onTitleInputChange = (e: React.ChangeEvent) => { if (e.target.value.length > 30) { @@ -71,13 +74,20 @@ export const Ask: React.FC = () => { {choice} ))} + + + 선택지 추가하기 + 작성한 글에 어울리는 태그를 붙혀주세요. - {showDescription ? ( + {showComeBackDescription ? ( 바로 작성하지 않아도 좋아요. 언제든지 돌아올 수 있어요 :)