81 lines
2.2 KiB
TypeScript
81 lines
2.2 KiB
TypeScript
// apps/dm/app/(landing)/reuse/intro/treated/page.tsx
|
|
"use client";
|
|
|
|
import Image, { type StaticImageData } from "next/image";
|
|
import SubPageHeader from "../../_components/SubPageHeader";
|
|
import treatedwaterIntro from "@/public/images/landing/intro/treatedwater_intro.png";
|
|
import treatedwaterMandatory from "@/public/images/landing/intro/treatedwater_mandatory.png";
|
|
|
|
function SectionTitle({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="flex items-center gap-3">
|
|
<span className="h-5 w-[3px] bg-sky-500" />
|
|
<h3 className="text-[24px] font-bold text-neutral-900">{children}</h3>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
type HrProps = {
|
|
className?: string;
|
|
};
|
|
|
|
function Hr({ className = "" }: HrProps) {
|
|
return <div className={`h-[2px] w-full bg-black/10 ${className}`} />;
|
|
}
|
|
|
|
type ImgCardProps = {
|
|
src: StaticImageData;
|
|
alt: string;
|
|
};
|
|
|
|
function ImgCard({ src, alt }: ImgCardProps) {
|
|
return (
|
|
<div className="w-full overflow-x-auto">
|
|
<Image
|
|
src={src}
|
|
alt={alt}
|
|
className="block mx-auto max-w-none"
|
|
style={{ width: "auto", height: "auto" }}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default function TreatedWaterPage() {
|
|
return (
|
|
<div className="bg-white">
|
|
<SubPageHeader
|
|
title="하수처리수"
|
|
crumbs={[
|
|
{ label: "Home", href: "/reuse" },
|
|
{ label: "물 재이용 소개", href: "/reuse/intro/law" },
|
|
{ label: "하수처리수" },
|
|
]}
|
|
hideFooterLine
|
|
hideGuideText
|
|
wrapClassName="!pb-0"
|
|
/>
|
|
|
|
<Hr className="my-7" />
|
|
|
|
{/* 1) 하수처리수 */}
|
|
<section className="mt-6">
|
|
<SectionTitle>하수처리수</SectionTitle>
|
|
<div className="mt-8">
|
|
<ImgCard src={treatedwaterIntro} alt="하수처리수 설명" />
|
|
</div>
|
|
</section>
|
|
|
|
<Hr className="my-11" />
|
|
|
|
{/* 2) 하수처리수 재이용시설 의무 대상 */}
|
|
<section className="pb-[200px]">
|
|
<SectionTitle>하수처리수 재이용시설 의무 대상</SectionTitle>
|
|
<div className="mt-8">
|
|
<ImgCard src={treatedwaterMandatory} alt="하수처리수 재이용시설 의무 대상 설명" />
|
|
</div>
|
|
</section>
|
|
</div>
|
|
);
|
|
}
|