[chore] landing: 홈 문구 정비 (mobile.mov 제외·ignore)

This commit is contained in:
minaChoi committed 2026-07-24 14:18:52 +09:00
1 parent 51d07bb779
commit 5318ff3263
7 files changed
+9 -50

No files matched your search

+1 -42
View File
@@ -1,5 +1,3 @@
import { useState } from "react";
import { Comparison } from "@/components/sections/comparison";
import { Contact } from "@/components/sections/contact";
import { CoreValues } from "@/components/sections/core-values";
@@ -7,8 +5,6 @@ import { Faq } from "@/components/sections/faq";
import { FinalCTA } from "@/components/sections/final-cta";
import { Footer } from "@/components/sections/footer";
import { Header } from "@/components/sections/header";
import { HeroConsole } from "@/components/sections/hero-console";
import { HeroGlassmorphic } from "@/components/sections/hero-glassmorphic";
import { HeroNeumorphic } from "@/components/sections/hero-neumorphic";
import { HowItWorksDemo } from "@/components/sections/how-it-works-demo";
import { NegotiationConsole } from "@/components/sections/negotiation-console";
@@ -30,23 +26,11 @@ export function meta() {
];
}
type HeroTheme = "neumorphic" | "glassmorphic" | "console";
export default function Home() {
// 히어로 디자인 비교용 — 스위처는 dev 에서만 노출, 배포본은 console(Live Console) 고정
const [heroTheme, setHeroTheme] = useState<HeroTheme>("console");
return (
<div className="min-h-screen bg-white text-ink font-sans antialiased selection:bg-primary/10 selection:text-primary">
<Header />
<div className="relative">
{import.meta.env.DEV && <HeroThemeSwitcher value={heroTheme} onChange={setHeroTheme} />}
{heroTheme === "neumorphic" && <HeroNeumorphic />}
{heroTheme === "glassmorphic" && <HeroGlassmorphic />}
{heroTheme === "console" && <HeroConsole />}
</div>
<HeroNeumorphic />
<NegotiationConsole />
<HowItWorksDemo />
<Reinforcement />
@@ -59,28 +43,3 @@ export default function Home() {
</div>
);
}
const HERO_OPTIONS: { value: HeroTheme; label: string }[] = [
{ value: "neumorphic", label: "Phone Demo" },
{ value: "glassmorphic", label: "Soft Ambient" },
{ value: "console", label: "Live Console" },
];
function HeroThemeSwitcher({ value, onChange }: { value: HeroTheme; onChange: (theme: HeroTheme) => void }) {
return (
<div className="absolute top-24 left-1/2 -translate-x-1/2 z-30 flex items-center gap-1.5 p-1 rounded-full shadow-[0_4px_20px_rgba(0,0,0,0.06)] border border-line-strong bg-white/95 text-ink-soft backdrop-blur-md text-xs font-semibold">
<span className="pl-3.5 pr-1.5 text-[10px] uppercase tracking-wider text-ink-muted font-bold">Hero Design:</span>
{HERO_OPTIONS.map((option) => (
<button
key={option.value}
onClick={() => onChange(option.value)}
className={`px-3.5 py-1.5 rounded-full transition-all cursor-pointer ${
value === option.value ? "bg-primary text-white shadow-sm font-bold" : "hover:text-ink"
}`}
>
{option.label}
</button>
))}
</div>
);
}