コンポーネント研究 / ヒーロー
SaaSヒーロー
バッジと2つのCTAで、プロダクトの第一印象をつくるヒーロー。
スクロールアニメーションモダンダークテーマグラデーションサンセリフ中央配置全幅レスポンシブSaaSスタートアップAI
ライブプレビュー
表示幅: 1440px。画面に合わせて縮小しています。原寸での操作や長いセクションの確認には、プレビューを開いてください。
'use client';
const COLORS = {
light: {
background: '#FAFAFA',
heading: '#111111',
subheading: '#555555',
buttonBg: '#111111',
buttonText: '#FFFFFF',
buttonSecondaryBg: 'transparent',
buttonSecondaryText: '#111111',
buttonSecondaryBorder: '#DDDDDD',
badge: '#F0EDFF',
badgeText: '#6C4BEF',
},
dark: {
background: '#0A0A0A',
heading: '#FFFFFF',
subheading: '#A0A0A0',
buttonBg: '#FFFFFF',
buttonText: '#000000',
buttonSecondaryBg: 'transparent',
buttonSecondaryText: '#FFFFFF',
buttonSecondaryBorder: '#333333',
badge: '#1A1535',
badgeText: '#A78BFA',
},
} as const;
interface SampleHero1Props {
mode?: 'light' | 'dark';
badge?: string;
title?: string;
subtitle?: string;
primaryCta?: string;
secondaryCta?: string;
}
export default function SampleHero1({
mode = 'dark',
badge = 'Design Quest v1.0 출시',
title = '웹사이트를 분석하고\n디자인 시스템을 추출하세요',
subtitle = 'URL을 입력하면 자동으로 디자인 토큰, 컴포넌트, 코드를 생성합니다.\nReact, Vue, HTML 코드를 즉시 다운로드하세요.',
primaryCta = '무료로 시작하기',
secondaryCta = '데모 보기',
}: SampleHero1Props) {
const colors = COLORS[mode];
return (
<section
className="flex flex-col items-center justify-center min-h-[80vh] px-6 py-24 text-center"
style={{ backgroundColor: colors.background }}
>
{badge && (
<div
className="inline-flex items-center rounded-full px-4 py-1.5 text-sm font-medium mb-8"
style={{
backgroundColor: colors.badge,
color: colors.badgeText,
}}
>
{badge}
</div>
)}
<h1
className="text-5xl md:text-7xl font-bold leading-tight max-w-4xl whitespace-pre-line"
style={{ color: colors.heading }}
>
{title}
</h1>
<p
className="mt-6 text-lg md:text-xl max-w-2xl whitespace-pre-line leading-relaxed"
style={{ color: colors.subheading }}
>
{subtitle}
</p>
<div className="flex flex-col sm:flex-row gap-4 mt-10">
<button
className="px-8 py-3.5 rounded-lg text-base font-semibold transition-opacity hover:opacity-90"
style={{
backgroundColor: colors.buttonBg,
color: colors.buttonText,
}}
>
{primaryCta}
</button>
<button
className="px-8 py-3.5 rounded-lg text-base font-semibold border transition-opacity hover:opacity-80"
style={{
backgroundColor: colors.buttonSecondaryBg,
color: colors.buttonSecondaryText,
borderColor: colors.buttonSecondaryBorder,
}}
>
{secondaryCta}
</button>
</div>
</section>
);
}