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

function EgovFooter() {
    if(window.location.pathname.includes("/standardCode/viewer")){
        return null;
    }else{
        return (
            <div className="footer">
                <div className="inner">
                    <h1>
                        <Link to="">
                            국가건설 기준센터
                            {/*<img className="w" src="/assets/images/logo_footer_w.png" alt="" />
                            <img className="m" src="/assets/images/logo_footer_m.png" alt="" />*/}
                        </Link>
                    </h1>
                    <div className="info">
                        <p>
                            대표문의메일 : kcsc@kict.re.kr  <span className="m_hide">|</span><br className="m_show" />  대표전화 : 0000-0000 (000-0000-0000)<br />
                            호환성확인 : 000-0000-0000  |  교육문의 : 0000-0000-0000
                        </p>
                        <p className="copy">Copyright © 2021 Ministry Of The Interior And Safety. All Rights Reserved.</p>
                    </div>
                    <div className="right_col">
                        <Link to="">
                            <img className="w" src="/assets/images/banner_w_01.png" alt="" />
                            <img className="m" src="/assets/images/banner_m_01.png" alt="" />
                        </Link>
                        <Link to="">
                            <img className="w" src="/assets/images/banner_w_02.png" alt="" />
                            <img className="m" src="/assets/images/banner_m_02.png" alt="" />
                        </Link>
                    </div>
                </div>
            </div>
        );
    }
}

export default EgovFooter;