116 lines
3.4 KiB
TypeScript
116 lines
3.4 KiB
TypeScript
"use client";
|
|
|
|
import CaseImageSlider from "@/components/CaseImageSlider";
|
|
|
|
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-2xl font-bold text-neutral-900">{children}</h3>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
// 구분선
|
|
function Hr({ className = "" }: { className?: string }) {
|
|
return <div className={`h-[2px] w-full bg-black/10 ${className}`} />;
|
|
}
|
|
|
|
export default function GlobalCaseSection() {
|
|
const title = "해외 재이용 사례";
|
|
return (
|
|
<div className="bg-white">
|
|
{/* 상단 타이틀 */}
|
|
<div className="inline-block">
|
|
<h2 className="relative inline-block px-2 text-[28px] font-extrabold tracking-tight leading-none text-slate-900">
|
|
<span className="relative z-10">{title}</span>
|
|
<span className="absolute left-0 bottom-[-4px] z-0 h-3 w-full bg-gradient-to-r from-sky-300 to-green-300" />
|
|
</h2>
|
|
</div>
|
|
<div className="mt-10 pb-[120px]">
|
|
<section id="example-global-overview" className="scroll-mt-[120px]">
|
|
<SectionTitle>사례 개요</SectionTitle>
|
|
|
|
<CaseImageSlider
|
|
className="mt-8"
|
|
maxWidthClassName="max-w-[760px]"
|
|
slides={[
|
|
{
|
|
src: "/images/landing/business/globalCase/overview_01.png",
|
|
alt: "해외 재이용 사례 개요 1",
|
|
},
|
|
]}
|
|
/>
|
|
</section>
|
|
|
|
<Hr className="my-16" />
|
|
|
|
<section id="example-global-taiwan" className="scroll-mt-[120px]">
|
|
<SectionTitle>대만</SectionTitle>
|
|
|
|
<CaseImageSlider
|
|
className="mt-8"
|
|
maxWidthClassName="max-w-[760px]"
|
|
slides={[
|
|
{
|
|
src: "/images/landing/business/globalCase/taiwan_01.png",
|
|
alt: "대만 사례 1",
|
|
},
|
|
]}
|
|
/>
|
|
</section>
|
|
|
|
<Hr className="my-16" />
|
|
|
|
<section id="example-global-australia" className="scroll-mt-[120px]">
|
|
<SectionTitle>호주</SectionTitle>
|
|
|
|
<CaseImageSlider
|
|
className="mt-8"
|
|
maxWidthClassName="max-w-[760px]"
|
|
slides={[
|
|
{
|
|
src: "/images/landing/business/globalCase/australia_01.png",
|
|
alt: "호주 사례 1",
|
|
},
|
|
]}
|
|
/>
|
|
</section>
|
|
|
|
<Hr className="my-16" />
|
|
|
|
<section id="example-global-singapore" className="scroll-mt-[120px]">
|
|
<SectionTitle>싱가포르</SectionTitle>
|
|
|
|
<CaseImageSlider
|
|
className="mt-8"
|
|
maxWidthClassName="max-w-[760px]"
|
|
slides={[
|
|
{
|
|
src: "/images/landing/business/globalCase/singapore_01.png",
|
|
alt: "싱가포르 사례 1",
|
|
},
|
|
]}
|
|
/>
|
|
</section>
|
|
|
|
<Hr className="my-16" />
|
|
|
|
<section id="example-global-eu" className="scroll-mt-[120px]">
|
|
<SectionTitle>EU</SectionTitle>
|
|
|
|
<CaseImageSlider
|
|
className="mt-8"
|
|
maxWidthClassName="max-w-[760px]"
|
|
slides={[
|
|
{
|
|
src: "/images/landing/business/globalCase/eu_01.png",
|
|
alt: "EU 사례 1",
|
|
},
|
|
]}
|
|
/>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
);
|
|
} |