import React from 'react';
import CODE from "../../../constants/code";
import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin';
import {Link} from "react-router-dom";
import URL from "../../../constants/url";
import ParentCodeDiv from "./baseCode/ParentCodeDiv";
import Row from "react-bootstrap/Row";
import Col from "react-bootstrap/Col";
import ChildCodeDiv from "./baseCode/ChildCodeDiv";


function BaseCodeMgt(props) {

    return (
        <div className="container">
            <div className="c_wrap">
                <div className="location">
                    <ul>
                        <li><Link to={URL.MAIN} className="home">Home</Link></li>
                        <li><Link to={URL.ADMIN}>사이트관리</Link></li>
                        <li>기본 코드 관리</li>
                    </ul>
                </div>
                <div className="layout">
                    {/* <!-- Navigation --> */}
                    <EgovLeftNav activeKey={"0"}></EgovLeftNav>
                    <div className="contents NOTICE_LIST" id="contents">
                        {/* <!-- 본문 --> */}

                        <div className="top_tit">
                            <h1 className="tit_1">기본 코드 관리</h1>
                        </div>

                        <Row>
                            <Col xs={"6"}>
                                <ParentCodeDiv/>
                            </Col>
                            <Col xs={"6"}>
                                <ChildCodeDiv/>
                            </Col>
                        </Row>
                    </div>
                </div>
            </div>
        </div>
    );
}

export default BaseCodeMgt;