[feat] landing: 히어로/데모 리뉴얼 — 콘솔형 히어로·price-sparkline 추가, 데모 미디어(mp4/jpg) 세트 추가, ROI 시뮬레이터·negotiation-console·버튼·홈 라우트 수정
This commit is contained in:
1 parent
6ffdb9a389
commit
e9427543c8
20 files changed
+178
-81
No files matched your search
@@ -7,6 +7,7 @@ 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";
|
||||
@@ -29,11 +30,11 @@ export function meta() {
|
||||
];
|
||||
}
|
||||
|
||||
type HeroTheme = "neumorphic" | "glassmorphic";
|
||||
type HeroTheme = "neumorphic" | "glassmorphic" | "console";
|
||||
|
||||
export default function Home() {
|
||||
// 히어로 디자인 비교용 — 스위처는 dev 에서만 노출, 배포본은 neumorphic(Phone Demo) 고정
|
||||
const [heroTheme, setHeroTheme] = useState<HeroTheme>("neumorphic");
|
||||
// 히어로 디자인 비교용 — 스위처는 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">
|
||||
@@ -43,6 +44,7 @@ export default function Home() {
|
||||
{import.meta.env.DEV && <HeroThemeSwitcher value={heroTheme} onChange={setHeroTheme} />}
|
||||
{heroTheme === "neumorphic" && <HeroNeumorphic />}
|
||||
{heroTheme === "glassmorphic" && <HeroGlassmorphic />}
|
||||
{heroTheme === "console" && <HeroConsole />}
|
||||
</div>
|
||||
|
||||
<NegotiationConsole />
|
||||
@@ -61,6 +63,7 @@ export default function Home() {
|
||||
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 }) {
|
||||
|
||||
Reference in new issue
Block a user