From cec6d47e5aee869c7f71b0cf3c8f5300a6a13547 Mon Sep 17 00:00:00 2001 From: "Lim\\jun" Date: Thu, 20 Jun 2024 14:13:46 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8D=BC=EB=B8=94=20=EC=97=85=EB=8E=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/leftmenu/EgovLeftNavInform.jsx | 22 ++++++------ .../src/constants/url.js | 2 +- .../src/pages/about/EgovAboutSite.jsx | 2 +- .../src/pages/about/EgovAboutSitemap.jsx | 35 ------------------- .../src/pages/inform/Email.jsx | 34 ++++++++++++++++-- .../src/pages/inform/Private.jsx | 32 ++++++++++++++++- .../src/pages/inform/Sitemap.jsx | 31 +++++++++++++++- .../src/routes/index.jsx | 2 +- 8 files changed, 105 insertions(+), 55 deletions(-) delete mode 100644 egovframe-template-simple-react-contribution/src/pages/about/EgovAboutSitemap.jsx diff --git a/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavInform.jsx b/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavInform.jsx index b5d52ad..d6a5ae5 100644 --- a/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavInform.jsx +++ b/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavInform.jsx @@ -3,24 +3,22 @@ import React from 'react'; import { NavLink } from 'react-router-dom'; import URL from 'constants/url'; + function EgovLeftNavInform() { - console.groupCollapsed("EgovLeftNavInform"); - console.log("[Start] EgovLeftNavInform ------------------------------"); - console.log("------------------------------EgovLeftNavInform [End]"); - console.groupEnd("EgovLeftNavInform"); + return ( -
+
-

알림마당

-
    -
  • (isActive ? "cur" : "")}>오늘의행사
  • -
  • (isActive ? "cur" : "")}>금주의행사
  • -
  • (isActive ? "cur" : "")}>공지사항
  • -
  • (isActive ? "cur" : "")}>사이트갤러리
  • +

    사이트 안내

    +
      +
    • (isActive ? "cur" : "")}>사이트맵
    • +
    • (isActive ? "cur" : "")}>개인정보처리방침
    • +
    • (isActive ? "cur" : "")}>이메일무단수집거부
); } -export default React.memo(EgovLeftNavInform); \ No newline at end of file +// export default React.memo(EgovLeftNavInform); +export default EgovLeftNavInform; \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/constants/url.js b/egovframe-template-simple-react-contribution/src/constants/url.js index fb6332b..a63c209 100644 --- a/egovframe-template-simple-react-contribution/src/constants/url.js +++ b/egovframe-template-simple-react-contribution/src/constants/url.js @@ -18,7 +18,7 @@ const URL = { ABOUT_PROMOTE : "/about/promote", // 사이트소개/홍보자료 ABOUT_ORGANIZATION : "/about/organization", // 사이트소개/조직소개 ABOUT_LOCATION : "/about/location", // 사이트소개/찾아오시는길 - ABOUT_SITEMAP : "/about/sitemap", // 사이트소개/사이트맵 + ABOUT_SITEMAP : "/inform/sitemap", // 사이트소개/사이트맵 //INTRO // INTRO : "/intro", //정보마당 diff --git a/egovframe-template-simple-react-contribution/src/pages/about/EgovAboutSite.jsx b/egovframe-template-simple-react-contribution/src/pages/about/EgovAboutSite.jsx index 5797faf..d8947c7 100644 --- a/egovframe-template-simple-react-contribution/src/pages/about/EgovAboutSite.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/about/EgovAboutSite.jsx @@ -2,7 +2,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAbout'; -import URL from "../../constants/url"; +import URL from "constants/url"; function EgovAboutSite() { return ( diff --git a/egovframe-template-simple-react-contribution/src/pages/about/EgovAboutSitemap.jsx b/egovframe-template-simple-react-contribution/src/pages/about/EgovAboutSitemap.jsx deleted file mode 100644 index 6f29f4f..0000000 --- a/egovframe-template-simple-react-contribution/src/pages/about/EgovAboutSitemap.jsx +++ /dev/null @@ -1,35 +0,0 @@ -import React, { useState } from 'react'; -import {Link, useLocation, useNavigate} from 'react-router-dom'; -import * as EgovNet from 'api/egovFetch'; -import URL from "../../constants/url"; - -function Sitemap(){ - - - - return ( -
-
- {/* */} -
-
    -
  • Home
  • -
  • 센터 소개
  • -
  • 사이트맵
  • -
-
- {/* */} - -
- -
- {/* */} -

사이트맵

-
-
-
-
- ); -} - -export default Sitemap; \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/pages/inform/Email.jsx b/egovframe-template-simple-react-contribution/src/pages/inform/Email.jsx index b1a5226..84afb76 100644 --- a/egovframe-template-simple-react-contribution/src/pages/inform/Email.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/inform/Email.jsx @@ -1,13 +1,41 @@ import React, { useState } from 'react'; import {Link, useLocation, useNavigate} from 'react-router-dom'; import * as EgovNet from 'api/egovFetch'; +import URL from "constants/url"; + +import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavInform'; function Email(){ - - return ( -
이메일 무단수집 거부
+
+
+ {/* */} +
+
    +
  • Home
  • +
  • 사이트 안내
  • +
  • 이메일 무단수집 거부
  • +
+
+ {/* */} + +
+ {/* */} + + {/* */} + +
+ {/* */} + +

이메일 무단수집 거부

+ + + {/* */} +
+
+
+
); } diff --git a/egovframe-template-simple-react-contribution/src/pages/inform/Private.jsx b/egovframe-template-simple-react-contribution/src/pages/inform/Private.jsx index 8a3ea2e..4acc649 100644 --- a/egovframe-template-simple-react-contribution/src/pages/inform/Private.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/inform/Private.jsx @@ -1,13 +1,43 @@ import React, { useState } from 'react'; import {Link, useLocation, useNavigate} from 'react-router-dom'; import * as EgovNet from 'api/egovFetch'; +import URL from "constants/url"; + +import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavInform'; function Private(){ return ( -
개인정보처리방침
+
+
+ {/* */} +
+
    +
  • Home
  • +
  • 사이트 안내
  • +
  • 개인정보처리방침
  • +
+
+ {/* */} + +
+ {/* */} + + {/* */} + +
+ {/* */} + +

개인정보처리방침

+ + + {/* */} +
+
+
+
); } diff --git a/egovframe-template-simple-react-contribution/src/pages/inform/Sitemap.jsx b/egovframe-template-simple-react-contribution/src/pages/inform/Sitemap.jsx index 349d697..e5e72f7 100644 --- a/egovframe-template-simple-react-contribution/src/pages/inform/Sitemap.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/inform/Sitemap.jsx @@ -1,13 +1,42 @@ import React, { useState } from 'react'; import {Link, useLocation, useNavigate} from 'react-router-dom'; import * as EgovNet from 'api/egovFetch'; +import URL from "constants/url"; + +import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavInform'; function Sitemap(){ return ( -
사이트맵
+
+
+ {/* */} +
+
    +
  • Home
  • +
  • 사이트맵
  • +
+
+ {/* */} + +
+ {/* */} + + {/* */} + +
+ {/* */} + +

사이트맵

+ + + {/* */} +
+
+
+
); } diff --git a/egovframe-template-simple-react-contribution/src/routes/index.jsx b/egovframe-template-simple-react-contribution/src/routes/index.jsx index 6274387..4a86a96 100644 --- a/egovframe-template-simple-react-contribution/src/routes/index.jsx +++ b/egovframe-template-simple-react-contribution/src/routes/index.jsx @@ -24,7 +24,7 @@ import EgovAboutHistory from 'pages/about/EgovAboutHistory'; import EgovAboutPromote from 'pages/about/EgovAboutPromote'; import EgovAboutOrganization from 'pages/about/EgovAboutOrganization'; import EgovAboutLocation from 'pages/about/EgovAboutLocation'; -import EgovAboutSitemap from 'pages/about/EgovAboutSitemap'; +import EgovAboutSitemap from 'pages/inform/Sitemap'; //INTRO // import EgovIntroWork from 'pages/intro/EgovIntroWork';