From 882e63d89d18d3db03e72ea8e8ec6189f9f421fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Wed, 18 Oct 2023 15:44:11 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B0=EC=A4=80=EC=BD=94=EB=93=9C=EB=B7=B0?= =?UTF-8?q?=EC=96=B4=EC=97=90=EC=84=9C=20footer=20=EC=82=AD=EC=A0=9C.=20?= =?UTF-8?q?=EB=B7=B0=EC=96=B4=20div=20=EB=86=92=EC=9D=B4=20=EC=A1=B0?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/EgovFooter.jsx | 58 ++++++++++--------- .../src/css/page.css | 2 +- .../src/pages/standardCode/viewer.js | 4 +- .../src/routes/index.jsx | 2 +- 4 files changed, 34 insertions(+), 32 deletions(-) diff --git a/egovframe-template-simple-react-contribution/src/components/EgovFooter.jsx b/egovframe-template-simple-react-contribution/src/components/EgovFooter.jsx index a0567c2..41b471f 100644 --- a/egovframe-template-simple-react-contribution/src/components/EgovFooter.jsx +++ b/egovframe-template-simple-react-contribution/src/components/EgovFooter.jsx @@ -2,35 +2,39 @@ import React from 'react'; import { Link } from 'react-router-dom'; function EgovFooter() { - return ( -
-
-

- - - - -

-
-

- 대표문의메일 : egovframeexample@gmail.com |
대표전화 : 0000-0000 (000-0000-0000)
- 호환성확인 : 000-0000-0000 | 교육문의 : 0000-0000-0000 -

-

Copyright © 2021 Ministry Of The Interior And Safety. All Rights Reserved.

-
-
- - - - - - - - + if(window.location.pathname==="/standardCode/viewer"){ + return null; + }else{ + return ( +
+
+

+ + + + +

+
+

+ 대표문의메일 : egovframeexample@gmail.com |
대표전화 : 0000-0000 (000-0000-0000)
+ 호환성확인 : 000-0000-0000 | 교육문의 : 0000-0000-0000 +

+

Copyright © 2021 Ministry Of The Interior And Safety. All Rights Reserved.

+
+
+ + + + + + + + +
-
- ); + ); + } } export default EgovFooter; \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/css/page.css b/egovframe-template-simple-react-contribution/src/css/page.css index f06b3be..c7e5a16 100644 --- a/egovframe-template-simple-react-contribution/src/css/page.css +++ b/egovframe-template-simple-react-contribution/src/css/page.css @@ -306,4 +306,4 @@ .calendar_info ul li a {color: #222; font-size: 16px; font-weight: 300;} .calendar_info ul li span {position: absolute; right: 15px; top: 15px; color: #808080; font-size: 16px; font-weight: 300;} - .viewerDiv{max-height: 650px; overflow-y: auto;} \ No newline at end of file + .viewerDiv{height: calc(100vh - 180px); overflow-y: auto;} \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js b/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js index 5d09c90..de5271c 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js @@ -20,8 +20,6 @@ function CodeViewer(props) { console.log("viewer [location] : ", location); console.log("viewer [docCode] : ", docCode); - - const updateDocCode = useCallback((docCode, docName)=>{ setDocCode(docCode); setDocName(docName); @@ -121,7 +119,7 @@ function CodeViewer(props) { console.log("------------------------------viewer [End]"); console.groupEnd("viewer"); return ( - + diff --git a/egovframe-template-simple-react-contribution/src/routes/index.jsx b/egovframe-template-simple-react-contribution/src/routes/index.jsx index 43dcd9b..e2662c9 100644 --- a/egovframe-template-simple-react-contribution/src/routes/index.jsx +++ b/egovframe-template-simple-react-contribution/src/routes/index.jsx @@ -225,7 +225,7 @@ const SecondRoutes = () => { {/* 사이트관리자 암호 바꾸기 기능 추가 2023.04.15(토) 김일국 */} } /> - {/*기준코드*/} + {/*기준코드 뷰어*/} } />