import React, { useState, useEffect, useCallback } from 'react'; import { Link, useLocation } from 'react-router-dom'; import Row from 'react-bootstrap/Row'; import Col from 'react-bootstrap/Col'; import Button from 'react-bootstrap/Button'; import * as EgovNet from 'api/egovFetch'; import URL from 'constants/url'; function EgovMain(props) { console.group("EgovMain"); console.log("[Start] EgovMain ------------------------------"); console.log("EgovMain [props] : ", props); const location = useLocation(); console.log("EgovMain [location] : ", location); // eslint-disable-next-line no-unused-vars const [noticeBoard, setNoticeBoard] = useState(); // eslint-disable-next-line no-unused-vars const [gallaryBoard, setGallaryBoard] = useState(); const [noticeListTag, setNoticeListTag] = useState(); const [gallaryListTag, setGallaryListTag] = useState(); const retrieveList = useCallback(() => { console.groupCollapsed("EgovMain.retrieveList()"); const retrieveListURL = '/cmm/main/mainPageAPI.do'; const requestOptions = { method: "POST", headers: { 'Content-type': 'application/json' }, body: JSON.stringify() } EgovNet.requestFetch(retrieveListURL, requestOptions, (resp) => { setNoticeBoard(resp.result.notiList); setGallaryBoard(resp.result.galList); let mutNotiListTag = []; mutNotiListTag.push(
*/}
국가건설기준센터가 제공하는
*/}
{/* 주요 사업을 소개합니다.
국가건설기준센터 실행환경의
*/}
{/* 서비스 그룹에서 제공하는
*/}
{/* 대표서비스입니다.
국가건설기준센터 경량환경
*/}
{/* 홈페이지의 다양한 서비스를
*/}
{/* 신청 하실 수 있습니다.
국가건설기준센터 경량환경
*/}
{/* 홈페이지의 전체적인 일정
*/}
{/* 현황을 조회하실 수 있습니다.