HomePage.js 2.73 KB
Newer Older
Ha YeaJin's avatar
pages    
Ha YeaJin committed
1
2
import React, { useState, useEffect } from 'react';
import Menu from '../Components/Menu';
Lee Jin Ju's avatar
Lee Jin Ju committed
3
import Calendar from '../Components/Calendar';
Lee Jin Ju's avatar
Lee Jin Ju committed
4
5
import styled from 'styled-components';

Lee Jin Ju's avatar
Lee Jin Ju committed
6
7
8
9
10
11
const Drop = styled.div`
    & button {
        border solid 1px;
    }
`

Ha YeaJin's avatar
pages    
Ha YeaJin committed
12
function Home() {
Lee Jin Ju's avatar
Lee Jin Ju committed
13
14
    const [click, setState] = useState();

Ha YeaJin's avatar
pages    
Ha YeaJin committed
15
16
17
    return (
        <div>
            <Menu />
Lee Jin Ju's avatar
Lee Jin Ju committed
18
            <div className="container mt-3">
Lee Jin Ju's avatar
Lee Jin Ju committed
19
20
21
22
23
24
25
26
27
28

                <h2>대관 현황</h2>
                <p>
                    <strong>대관 가능 시간</strong>
                    <ul>
                        <li>평일: 9 - 22/ 예약가능 시간 이후 폐쇄</li>
                        <li>주말: 이용 불가</li>
                    </ul>
                </p>

Lee Jin Ju's avatar
Lee Jin Ju committed
29
30
31
32
33
34
35
36
37
38
39
40
                <Drop className="row dropdown mt-1 mb-2">
                    <button className="btn btn-lg dropdown-toggle mx-auto col-5" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        기간을 선택해주십시오.
                    </button>
                    <div className="dropdown-menu col-5" aria-labelledby="dropdownMenuButton">
                        <a className="dropdown-item" href="#">10 / 5 ~ 10 / 9</a>
                        <a className="dropdown-item" href="#">10 / 12 ~ 10 / 16</a>
                        <a className="dropdown-item" href="#">10 / 19 ~ 10 / 23</a>
                    </div>
                </Drop>

                <ul className="nav nav-tabs nav-justified mt-4" id="myTab" role="tablist">
Lee Jin Ju's avatar
Lee Jin Ju committed
41
                    <li className="nav-item">
Lee Jin Ju's avatar
Lee Jin Ju committed
42
                        <a className="nav-link active" id="7-tab" data-toggle="tab" href="#7" role="tab"> 7-223 </a>
Lee Jin Ju's avatar
Lee Jin Ju committed
43
44
                    </li>
                    <li className="nav-item">
Lee Jin Ju's avatar
Lee Jin Ju committed
45
                        <a className="nav-link" id="9-tab" data-toggle="tab" href="#9" role="tab"> 9-116 </a>
Lee Jin Ju's avatar
Lee Jin Ju committed
46
47
                    </li>
                    <li className="nav-item">
Lee Jin Ju's avatar
Lee Jin Ju committed
48
                        <a className="nav-link" id="25-tab" data-toggle="tab" href="#25" role="tab"> 25-307 </a>
Lee Jin Ju's avatar
Lee Jin Ju committed
49
50
51
52
                    </li>
                </ul>

                <div className="tab-content" id="myTabContent">
Lee Jin Ju's avatar
Lee Jin Ju committed
53
54
55
56
57
58
59
60
61
62
63
64
65
                    <div className="tab-pane fade show active" id="7" role="tabpanel">
                        
                    {/* <Calendar />
                    <div className="container mt-1 mb-2"></div> */}

                    </div>

                    <div className="tab-pane fade" id="9" role="tabpanel" aria-labelledby="9-tab">
                    </div>

                    <div className="tab-pane fade" id="25" role="tabpanel" aria-labelledby="25-tab">
                    </div>

Lee Jin Ju's avatar
Lee Jin Ju committed
66
                </div>
Ha YeaJin's avatar
pages    
Ha YeaJin committed
67
68
69
70
71
            </div>
        </div>
    )
}

Lee Jin Ju's avatar
Lee Jin Ju committed
72
export default Home;