dm_new menu

This commit is contained in:
dongsilove
2026-02-18 22:11:12 +09:00
parent f621f4dfa1
commit 7a91fcbd80
74 changed files with 9010 additions and 13 deletions
+65
View File
@@ -0,0 +1,65 @@
// apps/dm/app/(landing)/reuse/_sections/Cases.tsx
"use client";
export default function Cases() {
return (
<section id="cases" className="bg-[#EAF6F6]">
<div className="mx-auto max-w-[1520px] px-6 h-[870px] flex items-center">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12 w-full">
{/* 좌측 : 카피 영역 */}
<div className="flex flex-col justify-center">
<div className="pl-2 lg:pl-10">
<p className="text-[32px] font-extrabold text-slate-900 tracking-[-0.02em]">
빗물+중수도+하수도
</p>
<h2 className="mt-6 leading-[1.1] tracking-[-0.03em]">
<span className="block text-[64px] font-extrabold text-slate-900">
데이터로 보는
</span>
<span className="mt-3 block text-[64px] font-extrabold text-[#004A94]">
물 재이용 현황
</span>
</h2>
<div className="mt-14">
<a
href="#"
className="
inline-flex items-center justify-center gap-3
w-[260px] h-[52px]
bg-[#01ACE5] text-white
rounded-sm
hover:bg-[#0A78C0]
transition-colors
"
>
물 재이용 현황 보러가기
<span className="text-lg">→</span>
</a>
</div>
</div>
</div>
{/* 우측 : 이미지 카드 */}
<div className="flex justify-center lg:justify-end">
<div
className="
relative
w-full max-w-[720px]
"
>
<img
src="/images/landing/section_03.png"
alt="물 재이용 현황 데이터 테이블"
className="w-full h-auto object-cover"
/>
</div>
</div>
</div>
</div>
</section>
);
}
+29
View File
@@ -0,0 +1,29 @@
// app/main/_sections/Hero.tsx
import styles from "../../reuse.module.css";
export default function Hero() {
return (
<section id="main" className={styles.hero}>
<div className={styles.heroBg} aria-hidden />
<div className={styles.heroOverlay} aria-hidden />
<div className="absolute inset-0 z-10 flex items-center justify-center">
<div className="flex flex-col items-center justify-items-center gap-[40px] mx-auto max-w-[1520px] px-6 text-center text-white">
<h1 className="text-5xl font-bold tracking-tight">물 재이용</h1>
<p className="text-xl font-medium leading-6 text-white/85 max-w-[720px] mx-auto">
빗물, 오수, 하수처리수, 폐수처리수, 발전소 온배수를 재이용처리하여<br />
생활, 공업, 농업, 조경, 하천유지 등의 용도로 재이용합니다.
</p>
<p className="text-lg leading-6 text-white/85 max-w-[720px] mx-auto">
전국 하수 재이용률 15.6%(2024년 통계 기준),<br />
물재이용 활성화를 위한 재이용 수요신청, 매칭을 추진하고 있습니다.
</p>
</div>
</div>
<div className="absolute inset-x-0 bottom-[120px] flex flex-col items-center justify-items-center gap-2 mt-10">
<img src="/images/landing/scroll_down.svg" alt="" className="w-[26px] h-[40px]" />
<span className="text-white/80 text-base tracking-[.25em]">scroll down</span>
</div>
</section>
);
}
@@ -0,0 +1,86 @@
// apps/dm/app/(landing)/reuse/_sections/IntroCards.tsx
"use client";
import Link from "next/link";
type IntroCardItem = {
title: string;
desc: string;
image: string;
href: string;
};
const INTRO_CARDS: IntroCardItem[] = [
{
title: "물 재이용 법",
desc: "물의 재이용 촉진 및 지원에 관한 법률을 시행하고, 일부 법률은 개정되었습니다.",
image: "/images/landing/card_01.jpg",
href: "/reuse/intro/law",
},
{
title: "친환경 수자원 빗물",
desc: "가뭄을 극복하고 홍수를 예방하기 위해 비가 내릴 때 빗물을 모아두었다가 사용합니다.",
image: "/images/landing/card_02.jpg",
href: "/reuse/intro/rain",
},
{
title: "알뜰하게 재이용되는 중수",
desc: "한번 사용한 물을 중수도 시설을 통해 재생하여 개별적 또는 지역적으로 재이용할 수 있습니다.",
image: "/images/landing/card_03.jpg",
href: "/reuse/intro/greywater",
},
{
title: "하수처리수 재이용",
desc: "사용하고 버려진 공공하수처리장으로 모여진 물을 용도에 맞는 처리 후 재이용 할 수 있습니다.",
image: "/images/landing/card_04.jpg",
href: "/reuse/intro/treated",
},
];
export default function IntroCards() {
return (
<section id="intro" className="bg-white">
<div className="mx-auto max-w-[1520px] px-6 py-[90px] h-[870px]">
<div className="text-center">
<div className="inline-block">
<h2 className="text-[40px] font-extrabold tracking-tight text-slate-900 leading-none">물 재이용 소개</h2>
<div className="h-2 bg-gradient-to-r from-sky-300 to-green-300"></div>
</div>
<p className="mt-5 text-xl text-gray-500">
지속 가능한 미래를 위한 약속, 깨끗한 물의 새로운 순환을 시작합니다.
</p>
</div>
<section className="mx-auto max-w-8xl px-4 py-12">
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-4">
{INTRO_CARDS.map((card, idx) => (
<Link
key={idx}
href={card.href}
aria-label={`${card.title} 상세로 이동`}
className="group relative h-[280px] md:h-[320px] lg:h-[500px] overflow-hidden rounded-2xl cursor-pointer focus:outline-none focus:ring-2 focus:ring-sky-400/60"
>
{/* 배경 이미지 (이미 그라디언트 포함) */}
<img
src={card.image}
alt={card.title}
className="absolute inset-0 h-full w-full object-cover transition-transform duration-500 hover:scale-105"
/>
{/* 텍스트 영역 */}
<div className="absolute bottom-0 z-10 p-6 text-white">
<h3 className="text-lg font-semibold tracking-tight">
{card.title}
</h3>
<p className="mt-2 text-sm leading-relaxed text-white/90 line-clamp-3">
{card.desc}
</p>
</div>
</Link>
))}
</div>
</section>
</div>
</section>
);
}
@@ -0,0 +1,22 @@
// apps/dm/app/(landing)/reuse/_sections/ProcessFlow.tsx
import CaseTabsCarousel from "@/components/CaseTabsCarousel";
export default function ProcessFlow() {
return (
<section id="processflow" className="bg-white">
<div className="mx-auto max-w-[1520px] px-6 py-[50px] h-[870px]">
<div className="text-center">
<div className="inline-block">
<h2 className="text-[40px] font-extrabold tracking-tight text-slate-900 leading-none">물 재이용 사례</h2>
<div className="h-2 bg-gradient-to-r from-sky-300 to-green-300"></div>
</div>
</div>
{/* 탭메뉴 영역 */}
<CaseTabsCarousel />
</div>
</section>
);
}