コンポーネント研究 / ヒーロー
数字で伝えるヒーロー
グラデーションの光と統計の行を組み合わせたヒーロー。
スクロールアニメーションモダングラデーションミニマルサンセリフ中央配置全幅レスポンシブSaaSエンタープライズAI
ライブプレビュー
表示幅: 1440px。画面に合わせて縮小しています。原寸での操作や長いセクションの確認には、プレビューを開いてください。
'use client';
const COLORS = {
light: {
background: '#FFFFFF',
heading: '#111111',
subheading: '#555555',
buttonBg: '#111111',
buttonText: '#FFFFFF',
statNumber: '#111111',
statLabel: '#777777',
statDivider: '#E5E5E5',
orbA: 'rgba(108, 75, 239, 0.15)',
orbB: 'rgba(59, 130, 246, 0.1)',
},
dark: {
background: '#050505',
heading: '#FFFFFF',
subheading: '#999999',
buttonBg: '#FFFFFF',
buttonText: '#000000',
statNumber: '#FFFFFF',
statLabel: '#666666',
statDivider: '#222222',
orbA: 'rgba(108, 75, 239, 0.2)',
orbB: 'rgba(59, 130, 246, 0.15)',
},
} as const;
interface SampleHero3Props {
mode?: 'light' | 'dark';
title?: string;
subtitle?: string;
cta?: string;
stats?: { value: string; label: string }[];
}
export default function SampleHero3({
mode = 'dark',
title = '차세대 디자인 인텔리전스',
subtitle = 'AI가 웹사이트를 분석하고, 디자인 토큰을 추출하며, 프로덕션 코드를 자동 생성합니다.',
cta = '시작하기',
stats = [
{ value: '50K+', label: '활성 사용자' },
{ value: '99.9%', label: '가동률' },
{ value: '200+', label: '기업 고객' },
{ value: '4.8', label: '사용자 평점' },
],
}: SampleHero3Props) {
const colors = COLORS[mode];
return (
<section
className="relative min-h-[90vh] flex flex-col items-center justify-center px-6 py-24 overflow-hidden"
style={{ backgroundColor: colors.background }}
>
<div
className="absolute top-1/4 left-1/4 w-96 h-96 rounded-full blur-3xl"
style={{ backgroundColor: colors.orbA }}
/>
<div
className="absolute bottom-1/4 right-1/4 w-80 h-80 rounded-full blur-3xl"
style={{ backgroundColor: colors.orbB }}
/>
<div className="relative z-10 text-center max-w-4xl">
<h1
className="text-5xl md:text-7xl font-bold leading-tight"
style={{ color: colors.heading }}
>
{title}
</h1>
<p
className="mt-6 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed"
style={{ color: colors.subheading }}
>
{subtitle}
</p>
<button
className="mt-10 px-10 py-4 rounded-full text-base font-semibold transition-opacity hover:opacity-90"
style={{
backgroundColor: colors.buttonBg,
color: colors.buttonText,
boxShadow: `0 0 40px ${colors.orbA}`,
}}
>
{cta}
</button>
</div>
<div className="relative z-10 mt-20 w-full max-w-4xl">
<div className="grid grid-cols-2 md:grid-cols-4 gap-8">
{stats.map((stat, i) => (
<div
key={i}
className="text-center"
style={{
borderRight: i < stats.length - 1 ? `1px solid ${colors.statDivider}` : 'none',
}}
>
<div className="text-3xl md:text-4xl font-bold" style={{ color: colors.statNumber }}>
{stat.value}
</div>
<div className="mt-1 text-sm" style={{ color: colors.statLabel }}>
{stat.label}
</div>
</div>
))}
</div>
</div>
</section>
);
}