import React from 'react';
import { Link } from 'react-router-dom';

import URL from 'constants/url';

import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin';

function PopUp(props) {
    

    
	const Location = React.memo(function Location() {
        return (
            <div className="location">
                <ul>
                    <li><Link to={URL.MAIN} className="home">Home</Link></li>
                    <li><Link to={URL.ADMIN}>사이트 관리</Link></li>
                    <li>컨텐츠 관리</li>
                    <li>팝업 관리</li>
                </ul>
            </div>
        )
    });

    return (
        <div className="container">
            <div className="c_wrap">
                {/* <!-- Location --> */}
                <Location />
                {/* <!--// Location --> */}

                <div className="layout">
                    {/* <!-- Navigation --> */}
                    <EgovLeftNav></EgovLeftNav>
                    {/* <!--// Navigation --> */}

                    <div className="contents " id="contents">
                        {/* <!-- 본문 --> */}

                        <div className="top_tit">
                            <h1 className="tit_1">팝업 관리</h1>
                        </div>


                        <div id="scope-popupMng" class="row admin-main-content-wrapper">
                            <div class="row">
                                <div class="btn-group pull-right">
                                <a href="/PopupMng/Create" class="btn btn-info btn-sm">
                                    <span class="glyphicon glyphicon-pencil"></span>팝업 추가 </a>
                                </div>
                            </div>
                            <div class="table-responsive content-box">
                                <table class="table table-condensed table-hover  th-info">
                                <thead>
                                    <tr>
                                    <th>제목</th>
                                    <th>기간</th>
                                    <th>사용여부</th>
                                    <th>삭제</th>
                                    </tr>
                                </thead>
                                <tbody></tbody>
                                </table>
                            </div>
                        </div>
                        {/* <!--// 본문 --> */}
                    </div>
                </div>
            </div>
        </div>
    );
}


export default PopUp;