StudyPlanCard.js 2.28 KB
Newer Older
Choi Ga Young's avatar
Choi Ga Young committed
1
import styles from "../Form/form.module.scss";
Choi Ga Young's avatar
Choi Ga Young committed
2
3
import { Link } from "react-router-dom";

Choi Ga Young's avatar
Choi Ga Young committed
4
const StudyPlanCard= () => {
Choi Ga Young's avatar
Choi Ga Young committed
5
6
7
8
9
10
  return (
    <>
      <div className="d-flex justify-content-center mt-3">
        <div className="card" style={{ width: "20rem" }}>
          <div className="card-body">
            <div className="d-flex justify-content-between">
Choi Ga Young's avatar
Choi Ga Young committed
11
12
              <h5 className="card-title col-10">운영체제</h5>
              <div className="col-2">
Choi Ga Young's avatar
Choi Ga Young committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
                <i className="bi bi-pencil-square pe-2"></i>
                <i className="bi bi-trash"></i>
              </div>
            </div>
            <p className="card-subtitle mb-2 text-muted">&nbsp;김민호 - 과학기술2관 310</p>
            <div className="d-flex justify-content-between">
              <p className="card-text mb-1">- ch02 내용정리하기</p>
              <input className={`form-check-input shadow-none ${styles.checkBox}`} type="checkbox" />
            </div>
            <div className="d-flex justify-content-between">
              <p className="card-text mb-1">- ch03 내용정리하기</p>
              <input className={`form-check-input shadow-none ${styles.checkBox}`} type="checkbox" />
            </div>
          </div>
        </div>
      </div>
Choi Ga Young's avatar
Choi Ga Young committed
29
      {/*계획 없을 때 보여질 카드*/}
Choi Ga Young's avatar
Choi Ga Young committed
30
31
32
      <div className="d-flex justify-content-center mt-3">
        <div className="card" style={{ width: "20rem" }}>
          <div className="card-body">
Choi Ga Young's avatar
Choi Ga Young committed
33
34
35
            <div className="d-flex ">
              <h5 className="card-title col-10 text-nowrap" style={{overflow:"hidden", textOverflow:"ellipsis"}}>네트워크 프로그래밍  실습</h5>
              <div className="col-2">
Choi Ga Young's avatar
Choi Ga Young committed
36
37
38
39
40
41
42
43
44
45
46
47
48
49
                <i className="bi bi-pencil-square pe-2"></i>
                <i className="bi bi-trash"></i>
              </div>
            </div>
            <p className="card-subtitle mb-2 text-muted">&nbsp;임치헌 - 과학기술2관 323</p>
            <Link className="text-decoration-none link-dark" to="/studyplan/edit">
              <div className="d-flex">
                <i class="bi bi-plus"></i>
                <p className="card-text mb-1">새로운 계획 추가하기</p>
              </div>
            </Link>
          </div>
        </div>
      </div>
Choi Ga Young's avatar
Choi Ga Young committed
50
     
Choi Ga Young's avatar
Choi Ga Young committed
51
52
53
54
    </>
  )
}

Choi Ga Young's avatar
Choi Ga Young committed
55
export default StudyPlanCard;