MovieTable.js 1.96 KB
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
7
8
9
import styles from "./movie-table.module.scss";

const MovieTable = () => {
    return (
        <table className={`table text-center ${styles.tableForm}`}>
            <thead className={`table-dark ${styles.dNone}`}>
                <tr>
                    <th>제목</th>
                    <th>감독</th>
10
                    <th>상영일</th>
Kim, Subin's avatar
Kim, Subin committed
11
12
13
14
15
16
17
                    <th>줄거리</th>
                    <th>포스터</th>
                    <th>스틸컷</th>
                    <th>예고편</th>
                </tr>
            </thead>
            <tbody>
Kim, Subin's avatar
Kim, Subin committed
18
19
20
                <tr className={styles.Row} data-bs-toggle="collapse" data-bs-target={"#movie1"}>
                    <td className="d-inline-block d-md-table-cell">블랙위도우</td>
                    <td data-label="- " className={`d-inline-block d-md-table-cell ${styles.data}`}>케이트 쇼트랜드</td>
21
                    <td data-label="/ " className={`d-inline-block d-md-table-cell ${styles.data}`}>2021-07-07</td>
Kim, Subin's avatar
Kim, Subin committed
22
23
24
25
                    <td className="d-none d-md-table-cell">O</td>
                    <td className="d-none d-md-table-cell">O</td>
                    <td className="d-none d-md-table-cell">X</td>
                    <td className="d-none d-md-table-cell">X</td>
Kim, Subin's avatar
Kim, Subin committed
26
                </tr>
Kim, Subin's avatar
Kim, Subin committed
27
                <tr className={styles.Row}>
28
                    <td colSpan="7" className="collapse" id={"movie1"}>
Kim, Subin's avatar
Kim, Subin committed
29
30
31
32
33
34
35
                        <div className={`d-inline-block d-md-none ${styles.word} mb-2`}>
                            줄거리 - O /
                            포스터 - O /
                            스틸컷 - X /
                            예고편 - X
                        </div>
                        <div className="d-flex justify-content-end">
Kim, Subin's avatar
Kim, Subin committed
36
37
                            <button type="button" className="btn btn-danger">삭제</button>
                        </div>
Kim, Subin's avatar
Kim, Subin committed
38
                    </td>
Kim, Subin's avatar
Kim, Subin committed
39
40
41
42
43
44
45
                </tr>
            </tbody>
        </table>
    )
}

export default MovieTable