diff --git a/apps/dm/.env.local b/apps/dm/.env.local index df18c9228..592656b61 100644 --- a/apps/dm/.env.local +++ b/apps/dm/.env.local @@ -19,7 +19,7 @@ NEXT_PUBLIC_NGII_URL = https://map.ngii.go.kr NEXT_PUBLIC_NGII_PARAM = 04trYP9_xwLAfALjwZ-B8g&service=WMTS&request=GetTile&version=1.0.0&format=image/png&layer=korean_map&style=korean&tilematrixset=korean&tilematrix={z}&tilecol={x}&tilerow={y} NEXT_PUBLIC_GATEWAY_URL=http://con.mind-one.co.kr:11083 # 개발 서버 API # NEXT_PUBLIC_GATEWAY_URL=http://localhost:8883 # 개발 서버 API - +CONTENTS_INTRO = 31 NEXT_PUBLIC_FINDADRESS_URL=https://business.juso.go.kr/addrlink/addrLinkApi.do NEXT_PRIVATE_WR_ADDRESS_KEY = devU01TX0FVVEgyMDI1MDgyNTEwMzkwNDExNjEwNTM= diff --git a/apps/dm/.env.mindone b/apps/dm/.env.mindone index 22fb6274c..73e8a388a 100644 --- a/apps/dm/.env.mindone +++ b/apps/dm/.env.mindone @@ -20,7 +20,7 @@ NEXT_PUBLIC_SEWERAGE_API_URL=http://con.mind-one.co.kr:11083/sewerage-service NEXT_PUBLIC_GATEWAY_URL=http://con.mind-one.co.kr:11083 # 개발 서버 API # NEXT_PUBLIC_SEWERAGE_API_URL=http://192.168.1.128:8883/sewerage-service/api # 최용성 #NEXT_PUBLIC_SEWERAGE_API_URL=http://192.168.1.66:8883/sewerage-service/api # 박이정 - +CONTENTS_INTRO = 31 NEXT_PUBLIC_FINDADRESS_URL=https://business.juso.go.kr/addrlink/addrLinkApi.do NEXT_PRIVATE_WR_ADDRESS_KEY = devU01TX0FVVEgyMDI1MDgyNTEwMzkwNDExNjEwNTM= diff --git a/apps/dm/.env.production b/apps/dm/.env.production index 587001101..9ce7b404a 100644 --- a/apps/dm/.env.production +++ b/apps/dm/.env.production @@ -18,7 +18,7 @@ NEXT_PUBLIC_SEWERAGE_API_URL = http://apigateway.iipbs-was.svc.cluster.local:800 NEXT_PUBLIC_NGII_URL = http://172.29.143.87/poiact NEXT_PUBLIC_NGII_PARAM = BDE2BEF39DAFEC293AB6730150F222AC&service=WMTS&request=GetTile&version=1.0.0&format=image/png&layer=korean_map&style=korean&tilematrixset=korean&tilematrix={z}&tilecol={y}&tilerow={x} NEXT_PUBLIC_GATEWAY_URL = http://apigateway.iipbs-was.svc.cluster.local:8000 - +CONTENTS_INTRO = 31 NEXT_PUBLIC_FINDADRESS_URL=https://business.juso.go.kr/addrlink/addrLinkApi.do NEXT_PRIVATE_WR_ADDRESS_KEY = U01TXOFVVEgyMDI1MDgyODE0MTAxNzExNjEyMjA= diff --git a/apps/dm/app/(with-layout)/intro/_components/LawIntroSection copy.tsx b/apps/dm/app/(with-layout)/intro/_components/LawIntroSection copy.tsx deleted file mode 100644 index e366c38ad..000000000 --- a/apps/dm/app/(with-layout)/intro/_components/LawIntroSection copy.tsx +++ /dev/null @@ -1,123 +0,0 @@ -"use client"; - -import React from "react"; -import Image, { type StaticImageData } from "next/image"; - -import lawPlan from "@/public/images/landing/intro/law_timeline.png"; -import planPerformance from "@/public/images/landing/intro/performance_left.png"; -import domesticChange from "@/public/images/landing/intro/domestic_textbox.png"; -import policyHistory from "@/public/images/landing/intro/policy_timeline.png"; -import lawRelation from "@/public/images/landing/intro/rel_note.png"; -import domesticLinkage from "@/public/images/landing/intro/linkage.png"; - -function SectionTitle({ children }: { children: React.ReactNode }) { - return ( -
- -

{children}

-
- ); -} - -function Hr({ className = "" }: { className?: string }) { - return
; -} - -function ImgCard({ src, alt }: { src: StaticImageData; alt: string }) { - return ( -
- {alt} -
- ); -} - -function SectionShell({ - id, - title, - children, - className = "", -}: { - id: string; - title: string; - children: React.ReactNode; - className?: string; -}) { - return ( -
- {title} -
{children}
-
- ); -} - -export default function LawIntroSection() { - const title = "물재이용법"; - - return ( -
-
-

- {title} - -

-
- -
- - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - - -
- - - - -
-
- ); -} \ No newline at end of file diff --git a/apps/dm/app/(with-layout)/intro/introSection.tsx b/apps/dm/app/(with-layout)/intro/introSection.tsx new file mode 100644 index 000000000..4422905e2 --- /dev/null +++ b/apps/dm/app/(with-layout)/intro/introSection.tsx @@ -0,0 +1,233 @@ +export const dynamic = "force-dynamic"; +import { ContentsPage } from "@/components/ui/contents"; + +export default function IntroSection() { + // const contentsHtml = ` + //
+ //
+ //

+ // 물재이용법 + // + //

+ //
+ + //
+ //
+ //
+ // + //

법률 제·개정 및 기본계획 수립

+ //
+ //
+ // 법률 제·개정 및 기본계획 수립 + //
+ //
+ + //
+ + //
+ //
+ // + //

제2차 계획 대비 실적 현황

+ //
+ //
+ // 제2차 계획 대비 실적 현황 + //
+ //
+ + //
+ + //
+ //
+ // + //

우리나라의 수자원 현황 및 물이용 여건

+ //
+ //
+ // 우리나라의 수자원 현황 및 물이용 여건 + //
+ //
+ + //
+ + //
+ //
+ // + //

물 재이용 정책 변화 추이

+ //
+ //
+ // 물 재이용 정책 변화 추이 + //
+ //
+ + //
+ + //
+ //
+ // + //

타법령과의 관계 검토

+ //
+ //
+ // 타법령과의 관계 검토 + //
+ //
+ + //
+ + //
+ //
+ // + //

주요 국가계획의 정책방향과 연계한 물 재이용 정책 필요

+ //
+ //
+ // 주요 국가계획의 정책방향과 연계한 물 재이용 정책 필요 + //
+ //
+ //
+ //
+ + //
+ //
+ //

+ // 빗물이용시설 + // + //

+ //
+ + //
+ //
+ //
+ // + //

빗물 재이용 소개

+ //
+ //
+ // 빗물 재이용 소개 + //
+ //
+ + //
+ + //
+ //
+ // + //

빗물이용시설 설치 관리 법적 의무 대상

+ //
+ //
+ // 빗물이용시설 설치 관리 법적 의무 대상 + //
+ //
+ + //
+ + //
+ //
+ // + //

빗물이용시설 설계 방안

+ //
+ //
+ // 빗물이용시설 설계 방안 + //
+ //
+ + //
+ + //
+ //
+ // + //

빗물이용시설 시설기준 및 관리기준

+ //
+ //
+ // 빗물이용시설 시설기준 및 관리기준 + //
+ //
+ //
+ //
+ + //
+ //
+ //

+ // 중수도 + // + //

+ //
+ + //
+ //
+ //
+ // + //

중수 재이용 소개

+ //
+ //
+ // 중수 재이용 소개 + //
+ //
+ + //
+ + //
+ //
+ // + //

중수도 설치 의무 대상

+ //
+ //
+ // 중수도 설치 의무 대상 + //
+ //
+ + //
+ + //
+ //
+ // + //

중수도 시설기준 및 관리기준

+ //
+ //
+ // 중수도 시설기준 및 관리기준 + //
+ //
+ //
+ //
+ + //
+ //
+ //

+ // 하수처리수 재이용 + // + //

+ //
+ + //
+ //
+ //
+ // + //

하수처리수 소개

+ //
+ //
+ // 하수처리수 + //
+ //
+ + //
+ + //
+ //
+ // + //

하수처리수 재이용시설 의무 대상

+ //
+ //
+ // 하수처리수 재이용시설 의무 대상 + //
+ //
+ //
+ //
+ // `; + + const contsSn = Number(process.env.CONTENTS_INTRO ?? 31); + const menuCd = "24"; + + return ; + // return ( + //
+ // ); +} diff --git a/apps/dm/app/(with-layout)/intro/page.tsx b/apps/dm/app/(with-layout)/intro/page.tsx index 7b643e55d..f6a50c16b 100644 --- a/apps/dm/app/(with-layout)/intro/page.tsx +++ b/apps/dm/app/(with-layout)/intro/page.tsx @@ -1,10 +1,7 @@ // DM 물 재이용 소개 페이지 import BusinessSubNav, { type BusinessSubNavMenu } from "@/components/BusinessSubNav"; import SubPageHeader from "@/components/SubPageHeader"; -import LawIntroSection from "./_components/LawIntroSection"; -import RainIntroSection from "./_components/RainIntroSection"; -import ReuseWaterIntroSection from "./_components/ReuseWaterIntroSection"; -import TreatedIntroSection from "./_components/TreatedIntroSection"; +import IntroSection from "./introSection"; const menus: BusinessSubNavMenu[] = [ { @@ -76,10 +73,7 @@ export default function IntroPage() { {/* 본문 */}
- - - - +
); diff --git a/apps/dm/components/ui/contents/contentsPageClient.tsx b/apps/dm/components/ui/contents/contentsPageClient.tsx index cf26b0343..6628178ef 100644 --- a/apps/dm/components/ui/contents/contentsPageClient.tsx +++ b/apps/dm/components/ui/contents/contentsPageClient.tsx @@ -8,7 +8,7 @@ type ContentsPageClientProps = { function ContentsPageClient({ initialContent }: ContentsPageClientProps) { return ( -
+