ToDoPage.js 1.7 KB
Newer Older
Choi Ga Young's avatar
Choi Ga Young committed
1
// import { Link } from "react-router-dom";
2
3
import Menu from "../components/Menu/Menu.js";
import HomeBtn from "../components/Buttons/HomeBtn.js";
Choi Ga Young's avatar
Choi Ga Young committed
4
5
import styles from "../components/Form/form.module.scss";
import TodoModal from "../components/Modal/TodoModal.js";
Choi Ga Young's avatar
Choi Ga Young committed
6
import TodoPostModal from "../components/Modal/TodoPostModal.js";
7

8
9
const ToDoPage = () => {
    return (
10
11
12
        <>
            <Menu />
            <HomeBtn />
Choi Ga Young's avatar
Choi Ga Young committed
13
            <h1 className="text-center">To-do</h1>
14
            <div>
Choi Ga Young's avatar
Choi Ga Young committed
15
16
17
18
19
20
21
22
                캘린더 자리
            </div>
            <div className="d-flex justify-content-between mt-3">
                <div className="d-flex flex-row">
                    <input className={`form-check-input rounded-0  shadow-none mt-1 ${styles.checkBox}`} type="checkbox" />
                    <p className={`form-check-label fs-5 ms-3 ${styles.title}`}>과제03 제출하기</p>
                </div>
                <div>
Choi Ga Young's avatar
Choi Ga Young committed
23
                    <i class="bi bi-arrow-right pe-2 fs-5" data-bs-toggle="modal" data-bs-target="#postmodal"><TodoPostModal /></i>
Choi Ga Young's avatar
Choi Ga Young committed
24
25
                    <i className="bi bi-pencil-square pe-2 fs-5" data-bs-toggle="modal" data-bs-target="#staticBackdrop"><TodoModal /></i>
                    <i className="bi bi-trash fs-5"></i>
26
27
                </div>
            </div>
Choi Ga Young's avatar
Choi Ga Young committed
28
29
30
31
32
            <button type="button" className={`btn position-absolute bottom-0 start-0 justify-content-end d-flex justify-content-end w-100 bg-white ${styles.editBtn}`} style={{ boxShadow: "none" }}
                data-bs-toggle="modal" data-bs-target="#staticBackdrop">
                <i className={`bi bi-plus-circle ${styles.icon}`}></i>
                <TodoModal />
            </button>
33

34
        </>
35
36
37
38
    )
}

export default ToDoPage