feat(redesign): 홈 라이트 재구성 + 2축 복원 + 히어로 제품 목업

다크 캔버스/HeroField/스크림 폐기. surface↔surface-alt 교차 7섹션.
히어로 비대칭 2단(좌 텍스트 / 우 MockWindow=DashboardMock).
누락됐던 "2축 소개"(외주/완성SW) 섹션 복원. CTA 평면 navy(radial 제거).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A2N6SziVSPfavx1j5rAs52
This commit is contained in:
2026-06-30 14:44:15 +09:00
parent 7c6238508b
commit 897e37f14e

View File

@@ -2,23 +2,28 @@ import Link from 'next/link';
import { createAdminClient } from '@/lib/supabase/admin'; import { createAdminClient } from '@/lib/supabase/admin';
import { getListedProducts, type ProductRow } from '@/lib/supabase/product-files'; import { getListedProducts, type ProductRow } from '@/lib/supabase/product-files';
import HeroField from './components/deepfield/HeroField';
import ShowcaseGrid from './components/deepfield/ShowcaseGrid'; import ShowcaseGrid from './components/deepfield/ShowcaseGrid';
import ScrollReveal from './components/deepfield/ScrollReveal'; import ScrollReveal from './components/deepfield/ScrollReveal';
import CountUp from './components/deepfield/CountUp'; import CountUp from './components/deepfield/CountUp';
import MockWindow from './components/mock/MockWindow';
import { DashboardMock } from './components/mock/screens';
import { SHOWCASE_SLOTS } from '@/lib/showcase'; import { SHOWCASE_SLOTS } from '@/lib/showcase';
// 쟁승메이드 메인 — Deep Field 다크 캔버스 (서버 컴포넌트) // 쟁승메이드 메인 — 라이트 고craft (서버 컴포넌트).
// PublicShell이 TopNav(h-16, 다크 인지)·푸터(navy)·main 배경(라이트)을 제공한다. // PublicShell이 단일 라이트 TopNav(h-16navy 푸터·main(라이트 --jsm-bg, pt-16)을 제공한다.
// 이 페이지는 자기 풀-블리드 다크 배경을 소유하여 main의 라이트 배경을 덮는다. // 섹션은 surface(#fff) ↔ surface-alt(#f1f5f9) 교차로 구분하고, 히어로의 제품 목업이 유일한 강조면.
// 히어로를 -mt-16 + pt-16으로 끌어올려 pt-16로 인한 상단 16px 라이트 띠를 제거한다.
// 소프트웨어 진열 섹션이 DB 조회를 포함하므로 항상 최신 목록을 보여준다.
export const dynamic = 'force-dynamic'; export const dynamic = 'force-dynamic';
const KOR_TIGHT = { letterSpacing: '-0.02em' } as const; const KOR_TIGHT = { letterSpacing: '-0.02em' } as const;
const KOR_BODY = { letterSpacing: '-0.01em' } as const; const KOR_BODY = { letterSpacing: '-0.01em' } as const;
const TRUST = [
{ v: '15+', t: '직접 운영 중인 실서비스' },
{ v: '24/7', t: '무중단 운영' },
{ v: '원스톱', t: '기획 → 배포 단독 진행' },
];
const PROCESS = [ const PROCESS = [
{ n: '01', t: '무료 상담', d: '요구사항을 함께 정리하고 실현 가능성을 점검합니다.' }, { n: '01', t: '무료 상담', d: '요구사항을 함께 정리하고 실현 가능성을 점검합니다.' },
{ n: '02', t: '견적·범위 확정', d: '영업일 2일 내 범위와 견적을 정리해 회신드립니다.' }, { n: '02', t: '견적·범위 확정', d: '영업일 2일 내 범위와 견적을 정리해 회신드립니다.' },
@@ -63,6 +68,17 @@ function ArrowRight() {
); );
} }
function Eyebrow({ children }: { children: React.ReactNode }) {
return (
<p
className="mb-3 font-mono text-[11px] uppercase tracking-[0.22em]"
style={{ color: 'var(--jsm-accent)' }}
>
{children}
</p>
);
}
async function loadFeaturedProducts(): Promise<ProductRow[]> { async function loadFeaturedProducts(): Promise<ProductRow[]> {
try { try {
const all = await getListedProducts(createAdminClient()); const all = await getListedProducts(createAdminClient());
@@ -78,62 +94,47 @@ export default async function Home() {
const hasProducts = featuredProducts.length > 0; const hasProducts = featuredProducts.length > 0;
return ( return (
// 풀-블리드 다크 캔버스 — main의 라이트 배경을 덮는다. <>
<div style={{ background: 'var(--jsm-dark-bg)', color: 'var(--jsm-dark-ink)' }}>
{/* ─────────────────── 1. HERO ─────────────────── */} {/* ─────────────────── 1. HERO ─────────────────── */}
{/* -mt-16 pt-16: 고정 헤더 아래로 끌어올려 상단 라이트 띠 제거 + 풀 뷰포트 확보 */} <section style={{ background: 'var(--jsm-surface)' }}>
<section className="relative -mt-16 flex min-h-[100svh] items-center overflow-hidden"> <div className="mx-auto grid max-w-6xl items-center gap-12 px-6 pt-20 pb-16 lg:grid-cols-2 lg:gap-16 lg:px-8 lg:pt-28 lg:pb-24">
<HeroField className="absolute inset-0" /> {/* 좌 — 텍스트 */}
{/* 콘텐츠 가독성용 스크림 — 좌측 앵커 다크(텍스트 컬럼 받침) + 상하 비네트. <div>
텍스트는 좌측 정렬(max-w-4xl)이므로 좌→우 어둠 그라데이션으로 글자 뒤를 항상 어둡게 깔고,
우측은 파티클 필드가 비치게 둔다. 모바일(좁은 폭)에선 좌측 스크림이 거의 전체를 덮어 가독성 확보. */}
<div
aria-hidden
className="pointer-events-none absolute inset-0"
style={{
background: [
'linear-gradient(to right, rgba(7,13,26,0.94) 0%, rgba(7,13,26,0.80) 34%, rgba(7,13,26,0.34) 64%, rgba(7,13,26,0) 100%)',
'linear-gradient(to bottom, rgba(7,13,26,0.50) 0%, rgba(7,13,26,0) 26%, rgba(7,13,26,0) 64%, rgba(7,13,26,0.82) 100%)',
].join(','),
}}
/>
<div className="relative z-10 mx-auto w-full max-w-6xl px-6 pt-28 pb-24 lg:px-8 lg:pt-32">
<div className="max-w-4xl">
<span <span
className="mb-7 inline-flex items-center gap-2 font-mono text-[11px] uppercase tracking-[0.22em]" className="inline-flex items-center gap-2 font-mono text-[11px] uppercase tracking-[0.22em]"
style={{ color: 'var(--jsm-accent-bright)' }} style={{ color: 'var(--jsm-accent)' }}
> >
<span <span
className="inline-block h-1 w-1 rounded-full" className="inline-block h-1 w-1 rounded-full"
style={{ background: 'var(--jsm-accent-bright)' }} style={{ background: 'var(--jsm-accent)' }}
/> />
· outsourcing · software
</span> </span>
<h1 <h1
className="font-bold break-keep" className="mt-6 font-extrabold break-keep"
style={{ style={{
color: 'var(--jsm-dark-ink)', color: 'var(--jsm-ink)',
fontSize: 'clamp(2.6rem, 8vw, 5.75rem)', fontSize: 'clamp(2.4rem, 7vw, 4rem)',
lineHeight: 1.04, lineHeight: 1.08,
letterSpacing: '-0.04em', letterSpacing: '-0.035em',
}} }}
> >
<br /> <br />
<span style={{ color: 'var(--jsm-accent-bright)' }}>.</span> <span style={{ color: 'var(--jsm-accent)' }}>.</span>
</h1> </h1>
<p <p
className="mt-8 max-w-2xl break-keep text-lg leading-relaxed lg:text-xl" className="mt-7 max-w-xl break-keep text-lg leading-relaxed"
style={{ color: 'var(--jsm-dark-soft)', ...KOR_BODY }} style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}
> >
24 . , 24 . ,
. .
</p> </p>
<div className="mt-11 flex flex-col gap-3 sm:flex-row"> <div className="mt-9 flex flex-col gap-3 sm:flex-row">
<Link <Link
href="/outsourcing#contact" href="/outsourcing#contact"
className="inline-flex items-center justify-center gap-2 rounded-lg px-6 py-3.5 font-semibold text-white transition-transform duration-200 hover:translate-y-[-1px]" className="inline-flex items-center justify-center gap-2 rounded-lg px-6 py-3.5 font-semibold text-white transition-colors duration-200 hover:bg-[var(--jsm-accent-hover)]"
style={{ background: 'var(--jsm-accent)', ...KOR_BODY }} style={{ background: 'var(--jsm-accent)', ...KOR_BODY }}
> >
@@ -141,10 +142,10 @@ export default async function Home() {
</Link> </Link>
<Link <Link
href="/products" href="/products"
className="inline-flex items-center justify-center gap-2 rounded-lg border px-6 py-3.5 font-semibold transition-colors duration-200 hover:bg-[var(--jsm-dark-surface)]" className="inline-flex items-center justify-center gap-2 rounded-lg border px-6 py-3.5 font-semibold transition-colors duration-200 hover:bg-[var(--jsm-surface-alt)]"
style={{ style={{
color: 'var(--jsm-dark-ink)', color: 'var(--jsm-ink)',
borderColor: 'var(--jsm-dark-line)', borderColor: 'var(--jsm-line)',
...KOR_BODY, ...KOR_BODY,
}} }}
> >
@@ -152,54 +153,134 @@ export default async function Home() {
</Link> </Link>
</div> </div>
</div> </div>
{/* 우 — 제품 목업 (유일한 강조면) */}
<div className="lg:pl-4">
<MockWindow title="stock-report.app">
<DashboardMock />
</MockWindow>
</div>
</div> </div>
{/* 스크롤 큐 — 가는 세로선 + 점 미세 바운스 (motion-safe 가드는 CSS) */} {/* 신뢰 스트립 */}
<div className="mx-auto max-w-6xl px-6 pb-16 lg:px-8 lg:pb-20">
<div <div
aria-hidden className="grid grid-cols-1 gap-px overflow-hidden rounded-2xl border sm:grid-cols-3"
className="absolute bottom-7 left-1/2 z-10 flex -translate-x-1/2 flex-col items-center gap-2" style={{ borderColor: 'var(--jsm-line)', background: 'var(--jsm-line)' }}
>
{TRUST.map((s) => (
<div
key={s.v}
className="flex items-baseline gap-3 px-6 py-5"
style={{ background: 'var(--jsm-surface)' }}
> >
<span <span
className="block h-9 w-px" className="text-2xl font-bold"
style={{ style={{ color: 'var(--jsm-accent)', letterSpacing: '-0.03em' }}
background: >
'linear-gradient(to bottom, transparent, var(--jsm-dark-line))', {s.v}
}} </span>
/> <span className="break-keep text-sm" style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}>
<span {s.t}
className="df-scroll-dot block h-1.5 w-1.5 rounded-full" </span>
style={{ background: 'var(--jsm-accent-bright)' }} </div>
/> ))}
</div>
</div> </div>
</section> </section>
{/* ─────────────────── 2. SHOWCASE ─────────────────── */} {/* ─────────────────── 2. 2축 소개 ─────────────────── */}
<section className="border-t" style={{ borderColor: 'var(--jsm-dark-line)' }}> <section style={{ background: 'var(--jsm-surface-alt)' }}>
<div className="mx-auto max-w-6xl px-6 py-24 lg:px-8 lg:py-32"> <div className="mx-auto max-w-6xl px-6 py-20 lg:px-8 lg:py-28">
<ScrollReveal> <ScrollReveal>
<p <Eyebrow>what we do</Eyebrow>
className="mb-3 font-mono text-[11px] uppercase tracking-[0.22em]"
style={{ color: 'var(--jsm-accent-bright)' }}
>
showcase
</p>
<h2 <h2
className="max-w-2xl break-keep text-3xl font-bold lg:text-[2.75rem] lg:leading-[1.12]" className="max-w-2xl break-keep text-3xl font-bold lg:text-[2.6rem] lg:leading-[1.12]"
style={{ color: 'var(--jsm-dark-ink)', letterSpacing: '-0.03em' }} style={{ color: 'var(--jsm-ink)', letterSpacing: '-0.03em' }}
>
</h2>
</ScrollReveal>
<div className="mt-12 grid gap-6 md:grid-cols-2">
{[
{
n: '01',
k: 'outsourcing',
t: '맞춤 외주 개발',
d: '웹 서비스·업무 자동화·API·봇·AI 연동까지. 기획부터 납품과 30일 하자보수까지 단독으로 책임집니다.',
href: '/outsourcing',
cta: '의뢰 시작',
},
{
n: '02',
k: 'software',
t: '완성 소프트웨어 구매',
d: '직접 운영하며 검증한 도구를 계좌이체로 가져가세요. 입금 확인 즉시 마이페이지에서 다운로드합니다.',
href: '/products',
cta: '제품 보기',
},
].map((a, i) => (
<ScrollReveal key={a.k} delay={i * 100}>
<Link
href={a.href}
className="group flex h-full flex-col rounded-2xl border p-8 transition-[transform,box-shadow,border-color] duration-300 hover:-translate-y-1 hover:border-[var(--jsm-accent)] hover:shadow-[0_24px_60px_-32px_rgba(15,23,42,0.4)] lg:p-10"
style={{ background: 'var(--jsm-surface)', borderColor: 'var(--jsm-line)' }}
>
<span
className="font-mono text-[11px] uppercase tracking-[0.18em]"
style={{ color: 'var(--jsm-accent)' }}
>
{a.n} · {a.k}
</span>
<h3
className="mt-4 break-keep text-xl font-bold lg:text-2xl"
style={{ color: 'var(--jsm-ink)', ...KOR_TIGHT }}
>
{a.t}
</h3>
<p
className="mt-3 flex-1 break-keep leading-relaxed"
style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}
>
{a.d}
</p>
<span
className="mt-6 inline-flex items-center gap-1.5 font-semibold transition-transform duration-300 group-hover:translate-x-1"
style={{ color: 'var(--jsm-accent)', ...KOR_BODY }}
>
{a.cta}
<ArrowRight />
</span>
</Link>
</ScrollReveal>
))}
</div>
</div>
</section>
{/* ─────────────────── 3. SHOWCASE ─────────────────── */}
<section style={{ background: 'var(--jsm-surface)' }}>
<div className="mx-auto max-w-6xl px-6 py-20 lg:px-8 lg:py-28">
<ScrollReveal>
<Eyebrow>showcase</Eyebrow>
<h2
className="max-w-2xl break-keep text-3xl font-bold lg:text-[2.6rem] lg:leading-[1.12]"
style={{ color: 'var(--jsm-ink)', letterSpacing: '-0.03em' }}
> >
</h2> </h2>
</ScrollReveal> </ScrollReveal>
<div className="mt-14"> <div className="mt-12">
<ShowcaseGrid slots={SHOWCASE_SLOTS} variant="home" /> <ShowcaseGrid slots={SHOWCASE_SLOTS} variant="home" />
</div> </div>
<div className="mt-10 flex justify-end"> <div className="mt-10 flex justify-end">
<Link <Link
href="/outsourcing#showcase" href="/outsourcing#showcase"
className="inline-flex items-center gap-1.5 text-sm font-semibold transition-colors duration-150 hover:opacity-80" className="inline-flex items-center gap-1.5 text-sm font-semibold transition-colors duration-150 hover:text-[var(--jsm-accent-hover)]"
style={{ color: 'var(--jsm-accent-bright)', ...KOR_BODY }} style={{ color: 'var(--jsm-accent)', ...KOR_BODY }}
> >
<ArrowRight /> <ArrowRight />
@@ -208,135 +289,48 @@ export default async function Home() {
</div> </div>
</section> </section>
{/* ─────────────────── 3. PROCESS ─────────────────── */} {/* ─────────────────── 4. 운영 실증 ─────────────────── */}
<section className="border-t" style={{ borderColor: 'var(--jsm-dark-line)' }}> <section style={{ background: 'var(--jsm-surface-alt)' }}>
<div className="mx-auto max-w-6xl px-6 py-24 lg:px-8 lg:py-32"> <div className="mx-auto max-w-6xl px-6 py-20 lg:px-8 lg:py-28">
<ScrollReveal> <ScrollReveal>
<p <Eyebrow>in production</Eyebrow>
className="mb-3 font-mono text-[11px] uppercase tracking-[0.22em]"
style={{ color: 'var(--jsm-accent-bright)' }}
>
process
</p>
<h2 <h2
className="max-w-2xl break-keep text-3xl font-bold lg:text-[2.75rem] lg:leading-[1.12]" className="max-w-2xl break-keep text-3xl font-bold lg:text-[2.6rem] lg:leading-[1.12]"
style={{ color: 'var(--jsm-dark-ink)', letterSpacing: '-0.03em' }} style={{ color: 'var(--jsm-ink)', letterSpacing: '-0.03em' }}
>
,
</h2>
</ScrollReveal>
<div className="relative mt-14">
{/* 단계 연결선 — draw 라인 (데스크톱 가로 관통) */}
<ScrollReveal
variant="draw"
className="absolute left-0 right-0 top-7 hidden lg:block"
>
<span
className="block h-px w-full"
style={{
background:
'linear-gradient(to right, transparent, var(--jsm-dark-line) 12%, var(--jsm-dark-line) 88%, transparent)',
}}
/>
</ScrollReveal>
<div className="grid gap-px sm:grid-cols-2 lg:grid-cols-4 lg:gap-6 lg:bg-transparent">
{PROCESS.map((s, i) => (
<ScrollReveal key={s.n} delay={i * 100}>
<div
className="relative h-full rounded-2xl border p-7 lg:p-8"
style={{
background: 'var(--jsm-dark-surface)',
borderColor: 'var(--jsm-dark-line)',
}}
>
<span
className="relative z-10 inline-flex h-14 w-14 items-center justify-center rounded-full font-mono text-sm font-bold"
style={{
color: 'var(--jsm-accent-bright)',
background: 'var(--jsm-dark-bg)',
boxShadow: 'inset 0 0 0 1px var(--jsm-dark-line)',
}}
>
{s.n}
</span>
<h3
className="mt-5 break-keep text-lg font-bold"
style={{ color: 'var(--jsm-dark-ink)', ...KOR_TIGHT }}
>
{s.t}
</h3>
<p
className="mt-2 break-keep text-sm leading-relaxed"
style={{ color: 'var(--jsm-dark-soft)', ...KOR_BODY }}
>
{s.d}
</p>
</div>
</ScrollReveal>
))}
</div>
</div>
</div>
</section>
{/* ─────────────────── 4. PROOF ─────────────────── */}
<section className="border-t" style={{ borderColor: 'var(--jsm-dark-line)' }}>
<div className="mx-auto max-w-6xl px-6 py-24 lg:px-8 lg:py-32">
<ScrollReveal>
<p
className="mb-3 font-mono text-[11px] uppercase tracking-[0.22em]"
style={{ color: 'var(--jsm-accent-bright)' }}
>
in production
</p>
<h2
className="max-w-2xl break-keep text-3xl font-bold lg:text-[2.75rem] lg:leading-[1.12]"
style={{ color: 'var(--jsm-dark-ink)', letterSpacing: '-0.03em' }}
> >
</h2> </h2>
<p <p
className="mt-4 max-w-xl break-keep leading-relaxed" className="mt-4 max-w-xl break-keep leading-relaxed"
style={{ color: 'var(--jsm-dark-soft)', ...KOR_BODY }} style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}
> >
. . . .
</p> </p>
</ScrollReveal> </ScrollReveal>
<div className="mt-14 grid gap-6 md:grid-cols-3"> <div className="mt-12 grid gap-6 md:grid-cols-3">
{PROOF.map((p, i) => ( {PROOF.map((p, i) => (
<ScrollReveal key={p.t} delay={i * 100}> <ScrollReveal key={p.t} delay={i * 100}>
<div <div
className="flex h-full flex-col rounded-2xl border p-7" className="flex h-full flex-col rounded-2xl border p-7"
style={{ style={{ background: 'var(--jsm-surface)', borderColor: 'var(--jsm-line)' }}
background: 'var(--jsm-dark-surface)',
borderColor: 'var(--jsm-dark-line)',
}}
> >
<span <span
className="mb-5 inline-flex items-center gap-1.5 self-start rounded-full px-2.5 py-1 text-[11px] font-semibold" className="mb-5 inline-flex items-center gap-1.5 self-start rounded-full px-2.5 py-1 text-[11px] font-semibold"
style={{ style={{ color: 'var(--jsm-accent)', background: 'var(--jsm-accent-soft)' }}
color: 'var(--jsm-accent-bright)',
background: 'rgba(96,165,250,0.12)',
}}
> >
<span <span className="h-1.5 w-1.5 rounded-full" style={{ background: 'var(--jsm-accent)' }} />
className="h-1.5 w-1.5 rounded-full"
style={{ background: 'var(--jsm-accent-bright)' }}
/>
· ·
</span> </span>
<h3 <h3
className="break-keep text-lg font-bold" className="break-keep text-lg font-bold"
style={{ color: 'var(--jsm-dark-ink)', ...KOR_TIGHT }} style={{ color: 'var(--jsm-ink)', ...KOR_TIGHT }}
> >
{p.t} {p.t}
</h3> </h3>
<p <p
className="mt-2.5 flex-1 break-keep text-sm leading-relaxed" className="mt-2.5 flex-1 break-keep text-sm leading-relaxed"
style={{ color: 'var(--jsm-dark-soft)', ...KOR_BODY }} style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}
> >
{p.d} {p.d}
</p> </p>
@@ -345,11 +339,7 @@ export default async function Home() {
<span <span
key={tag} key={tag}
className="rounded px-2.5 py-1 text-xs" className="rounded px-2.5 py-1 text-xs"
style={{ style={{ color: 'var(--jsm-ink-soft)', background: 'var(--jsm-surface-alt)', ...KOR_BODY }}
color: 'var(--jsm-dark-soft)',
background: 'rgba(148,163,184,0.08)',
...KOR_BODY,
}}
> >
{tag} {tag}
</span> </span>
@@ -361,50 +351,32 @@ export default async function Home() {
</div> </div>
{/* 스탯 3종 — 카운트업 */} {/* 스탯 3종 — 카운트업 */}
<ScrollReveal className="mt-14"> <ScrollReveal className="mt-12">
<div <div
className="grid grid-cols-1 gap-px overflow-hidden rounded-2xl border sm:grid-cols-3" className="grid grid-cols-1 gap-px overflow-hidden rounded-2xl border sm:grid-cols-3"
style={{ borderColor: 'var(--jsm-dark-line)', background: 'var(--jsm-dark-line)' }} style={{ borderColor: 'var(--jsm-line)', background: 'var(--jsm-line)' }}
>
<div className="px-8 py-10" style={{ background: 'var(--jsm-dark-bg)' }}>
<p
className="text-4xl font-bold lg:text-5xl"
style={{ color: 'var(--jsm-dark-ink)', letterSpacing: '-0.03em' }}
> >
<div className="px-8 py-10" style={{ background: 'var(--jsm-surface)' }}>
<p className="text-4xl font-bold lg:text-5xl" style={{ color: 'var(--jsm-ink)', letterSpacing: '-0.03em' }}>
<CountUp to={15} suffix="+" /> <CountUp to={15} suffix="+" />
</p> </p>
<p <p className="mt-2 break-keep text-sm" style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}>
className="mt-2 break-keep text-sm"
style={{ color: 'var(--jsm-dark-soft)', ...KOR_BODY }}
>
</p> </p>
</div> </div>
<div className="px-8 py-10" style={{ background: 'var(--jsm-dark-bg)' }}> <div className="px-8 py-10" style={{ background: 'var(--jsm-surface)' }}>
<p <p className="text-4xl font-bold lg:text-5xl" style={{ color: 'var(--jsm-ink)', letterSpacing: '-0.03em' }}>
className="text-4xl font-bold lg:text-5xl"
style={{ color: 'var(--jsm-dark-ink)', letterSpacing: '-0.03em' }}
>
24/7 24/7
</p> </p>
<p <p className="mt-2 break-keep text-sm" style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}>
className="mt-2 break-keep text-sm"
style={{ color: 'var(--jsm-dark-soft)', ...KOR_BODY }}
>
</p> </p>
</div> </div>
<div className="px-8 py-10" style={{ background: 'var(--jsm-dark-bg)' }}> <div className="px-8 py-10" style={{ background: 'var(--jsm-surface)' }}>
<p <p className="text-4xl font-bold lg:text-5xl" style={{ color: 'var(--jsm-ink)', letterSpacing: '-0.03em' }}>
className="text-4xl font-bold lg:text-5xl"
style={{ color: 'var(--jsm-dark-ink)', letterSpacing: '-0.03em' }}
>
</p> </p>
<p <p className="mt-2 break-keep text-sm" style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}>
className="mt-2 break-keep text-sm"
style={{ color: 'var(--jsm-dark-soft)', ...KOR_BODY }}
>
</p> </p>
</div> </div>
@@ -413,32 +385,86 @@ export default async function Home() {
</div> </div>
</section> </section>
{/* ─────────────────── 5. SOFTWARE + CTA ─────────────────── */} {/* ─────────────────── 5. PROCESS ─────────────────── */}
{/* Phase 2: products 테이블 기반 동적 진열. 0개이면 출시 준비 중 폴백. */} <section style={{ background: 'var(--jsm-surface)' }}>
<section className="border-t" style={{ borderColor: 'var(--jsm-dark-line)' }}> <div className="mx-auto max-w-6xl px-6 py-20 lg:px-8 lg:py-28">
<div className="mx-auto max-w-6xl px-6 py-24 lg:px-8 lg:py-32"> <ScrollReveal>
<Eyebrow>process</Eyebrow>
<h2
className="max-w-2xl break-keep text-3xl font-bold lg:text-[2.6rem] lg:leading-[1.12]"
style={{ color: 'var(--jsm-ink)', letterSpacing: '-0.03em' }}
>
,
</h2>
</ScrollReveal>
<div className="relative mt-12">
{/* 단계 연결선 (데스크톱) */}
<span
aria-hidden
className="absolute left-0 right-0 top-7 hidden h-px lg:block"
style={{
background:
'linear-gradient(to right, transparent, var(--jsm-line) 12%, var(--jsm-line) 88%, transparent)',
}}
/>
<div className="grid gap-6 sm:grid-cols-2 lg:grid-cols-4">
{PROCESS.map((s, i) => (
<ScrollReveal key={s.n} delay={i * 100}>
<div
className="relative h-full rounded-2xl border p-7 lg:p-8"
style={{ background: 'var(--jsm-surface)', borderColor: 'var(--jsm-line)' }}
>
<span
className="relative z-10 inline-flex h-14 w-14 items-center justify-center rounded-full font-mono text-sm font-bold"
style={{
color: 'var(--jsm-accent)',
background: 'var(--jsm-surface)',
boxShadow: 'inset 0 0 0 1px var(--jsm-line)',
}}
>
{s.n}
</span>
<h3
className="mt-5 break-keep text-lg font-bold"
style={{ color: 'var(--jsm-ink)', ...KOR_TIGHT }}
>
{s.t}
</h3>
<p
className="mt-2 break-keep text-sm leading-relaxed"
style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}
>
{s.d}
</p>
</div>
</ScrollReveal>
))}
</div>
</div>
</div>
</section>
{/* ─────────────────── 6. 완성 SW + CTA ─────────────────── */}
<section style={{ background: 'var(--jsm-surface-alt)' }}>
<div className="mx-auto max-w-6xl px-6 py-20 lg:px-8 lg:py-28">
{hasProducts ? ( {hasProducts ? (
<> <>
<ScrollReveal> <ScrollReveal>
<div className="flex items-end justify-between"> <div className="flex items-end justify-between">
<div> <div>
<p <Eyebrow>software</Eyebrow>
className="mb-3 font-mono text-[11px] uppercase tracking-[0.22em]"
style={{ color: 'var(--jsm-accent-bright)' }}
>
software
</p>
<h2 <h2
className="break-keep text-3xl font-bold lg:text-[2.75rem] lg:leading-[1.12]" className="break-keep text-3xl font-bold lg:text-[2.6rem] lg:leading-[1.12]"
style={{ color: 'var(--jsm-dark-ink)', letterSpacing: '-0.03em' }} style={{ color: 'var(--jsm-ink)', letterSpacing: '-0.03em' }}
> >
</h2> </h2>
</div> </div>
<Link <Link
href="/products" href="/products"
className="hidden shrink-0 items-center gap-1.5 text-sm font-semibold transition-colors duration-150 hover:opacity-80 sm:inline-flex" className="hidden shrink-0 items-center gap-1.5 text-sm font-semibold transition-colors duration-150 hover:text-[var(--jsm-accent-hover)] sm:inline-flex"
style={{ color: 'var(--jsm-accent-bright)', ...KOR_BODY }} style={{ color: 'var(--jsm-accent)', ...KOR_BODY }}
> >
<ArrowRight /> <ArrowRight />
@@ -446,14 +472,13 @@ export default async function Home() {
</div> </div>
</ScrollReveal> </ScrollReveal>
<div className="mt-14 grid gap-6 md:grid-cols-3"> <div className="mt-12 grid gap-6 md:grid-cols-3">
{featuredProducts.map((p, i) => ( {featuredProducts.map((p, i) => (
<ScrollReveal key={p.id} delay={i * 100}> <ScrollReveal key={p.id} delay={i * 100}>
{/* 라이트 카드가 다크 위에 떠 있는 대비 */}
<Link <Link
href={`/products/${p.id}`} href={`/products/${p.id}`}
className="group flex h-full flex-col rounded-2xl p-7 shadow-[0_24px_60px_-24px_rgba(0,0,0,0.6)] transition-transform duration-300 hover:translate-y-[-2px]" className="group flex h-full flex-col rounded-2xl border p-7 transition-[transform,box-shadow,border-color] duration-300 hover:-translate-y-1 hover:border-[var(--jsm-accent)] hover:shadow-[0_24px_60px_-32px_rgba(15,23,42,0.4)]"
style={{ background: 'var(--jsm-surface)' }} style={{ background: 'var(--jsm-surface)', borderColor: 'var(--jsm-line)' }}
> >
<h3 <h3
className="break-keep text-lg font-bold" className="break-keep text-lg font-bold"
@@ -495,7 +520,7 @@ export default async function Home() {
<Link <Link
href="/products" href="/products"
className="inline-flex items-center gap-1.5 text-sm font-semibold" className="inline-flex items-center gap-1.5 text-sm font-semibold"
style={{ color: 'var(--jsm-accent-bright)', ...KOR_BODY }} style={{ color: 'var(--jsm-accent)', ...KOR_BODY }}
> >
<ArrowRight /> <ArrowRight />
@@ -506,38 +531,26 @@ export default async function Home() {
<ScrollReveal> <ScrollReveal>
<div <div
className="rounded-2xl border px-8 py-14 text-center lg:px-14 lg:py-16" className="rounded-2xl border px-8 py-14 text-center lg:px-14 lg:py-16"
style={{ style={{ background: 'var(--jsm-surface)', borderColor: 'var(--jsm-line)' }}
background: 'var(--jsm-dark-surface)',
borderColor: 'var(--jsm-dark-line)',
}}
> >
<p <Eyebrow>coming soon</Eyebrow>
className="mb-3 font-mono text-[11px] uppercase tracking-[0.22em]"
style={{ color: 'var(--jsm-accent-bright)' }}
>
coming soon
</p>
<h2 <h2
className="break-keep text-2xl font-bold lg:text-3xl" className="break-keep text-2xl font-bold lg:text-3xl"
style={{ color: 'var(--jsm-dark-ink)', ...KOR_TIGHT }} style={{ color: 'var(--jsm-ink)', ...KOR_TIGHT }}
> >
</h2> </h2>
<p <p
className="mx-auto mt-4 max-w-xl break-keep leading-relaxed" className="mx-auto mt-4 max-w-xl break-keep leading-relaxed"
style={{ color: 'var(--jsm-dark-soft)', ...KOR_BODY }} style={{ color: 'var(--jsm-ink-soft)', ...KOR_BODY }}
> >
. .
. .
</p> </p>
<Link <Link
href="/outsourcing#contact" href="/outsourcing#contact"
className="mt-8 inline-flex items-center justify-center gap-2 rounded-lg border px-6 py-3.5 font-semibold transition-colors duration-200 hover:bg-[var(--jsm-dark-surface)]" className="mt-8 inline-flex items-center justify-center gap-2 rounded-lg border px-6 py-3.5 font-semibold transition-colors duration-200 hover:bg-[var(--jsm-surface-alt)]"
style={{ style={{ color: 'var(--jsm-ink)', borderColor: 'var(--jsm-line)', ...KOR_BODY }}
color: 'var(--jsm-dark-ink)',
borderColor: 'var(--jsm-dark-line)',
...KOR_BODY,
}}
> >
<ArrowRight /> <ArrowRight />
@@ -546,22 +559,13 @@ export default async function Home() {
</ScrollReveal> </ScrollReveal>
)} )}
{/* 최종 CTA 밴드 — accent bg */} {/* 최종 CTA 밴드 — 평면 navy (사이트 유일 다크면) */}
<ScrollReveal className="mt-24 lg:mt-32"> <ScrollReveal className="mt-20 lg:mt-28">
<div <div
className="relative overflow-hidden rounded-3xl px-8 py-16 lg:px-16 lg:py-20" className="rounded-3xl px-8 py-16 lg:px-16 lg:py-20"
style={{ background: 'var(--jsm-accent)' }} style={{ background: 'var(--jsm-navy)' }}
> >
{/* 광원 — radial 허용 */} <div className="max-w-3xl">
<div
aria-hidden
className="pointer-events-none absolute inset-0"
style={{
backgroundImage:
'radial-gradient(60% 80% at 85% 0%, rgba(96,165,250,0.45) 0%, transparent 55%)',
}}
/>
<div className="relative max-w-3xl">
<h2 <h2
className="break-keep text-3xl font-bold leading-tight text-white lg:text-[2.5rem]" className="break-keep text-3xl font-bold leading-tight text-white lg:text-[2.5rem]"
style={KOR_TIGHT} style={KOR_TIGHT}
@@ -569,7 +573,7 @@ export default async function Home() {
, ,
</h2> </h2>
<p <p
className="mt-5 max-w-2xl break-keep text-lg leading-relaxed text-white/80" className="mt-5 max-w-2xl break-keep text-lg leading-relaxed text-white/70"
style={KOR_BODY} style={KOR_BODY}
> >
. . . .
@@ -577,7 +581,7 @@ export default async function Home() {
<Link <Link
href="/outsourcing#contact" href="/outsourcing#contact"
className="mt-9 inline-flex items-center justify-center gap-2 rounded-lg bg-white px-7 py-4 font-semibold transition-transform duration-200 hover:translate-y-[-1px]" className="mt-9 inline-flex items-center justify-center gap-2 rounded-lg bg-white px-7 py-4 font-semibold transition-transform duration-200 hover:translate-y-[-1px]"
style={{ color: 'var(--jsm-accent)', ...KOR_BODY }} style={{ color: 'var(--jsm-navy)', ...KOR_BODY }}
> >
<ArrowRight /> <ArrowRight />
@@ -587,6 +591,6 @@ export default async function Home() {
</ScrollReveal> </ScrollReveal>
</div> </div>
</section> </section>
</div> </>
); );
} }