コンポーネント研究 / お客様の声
レビューのカード
アバター、星評価、コメントを3列で並べたお客様の声。
ホバー効果モダンダークテーマミニマルサンセリフ3カラムカードグリッドレスポンシブSaaSスタートアップ
ライブプレビュー
表示幅: 1440px。画面に合わせて縮小しています。原寸での操作や長いセクションの確認には、プレビューを開いてください。
'use client';
const COLORS = {
light: {
background: '#FAFAFA',
heading: '#111111',
subheading: '#555555',
cardBg: '#FFFFFF',
cardBorder: '#E5E5E5',
quote: '#333333',
name: '#111111',
role: '#888888',
star: '#F59E0B',
},
dark: {
background: '#0A0A0A',
heading: '#FFFFFF',
subheading: '#999999',
cardBg: '#111111',
cardBorder: '#222222',
quote: '#CCCCCC',
name: '#FFFFFF',
role: '#666666',
star: '#F59E0B',
},
} as const;
interface Testimonial {
quote: string;
name: string;
role: string;
initial: string;
color: string;
}
interface SampleTestimonial1Props {
mode?: 'light' | 'dark';
title?: string;
subtitle?: string;
testimonials?: Testimonial[];
}
const defaultTestimonials: Testimonial[] = [
{
quote:
'디자인 시스템 구축에 소요되던 시간을 80% 절감했습니다. 자동 추출 기능이 정말 놀랍습니다.',
name: '김서연',
role: '프론트엔드 리드 · 테크스타트',
initial: '서',
color: '#6C4BEF',
},
{
quote:
'URL 하나만 입력하면 컴포넌트 코드가 바로 나오니까 프로토타이핑 속도가 완전히 달라졌어요.',
name: '박준혁',
role: '디자인 엔지니어 · 클라우드AI',
initial: '준',
color: '#3B82F6',
},
{
quote: '팀 전체의 디자인 일관성이 크게 향상되었고, 신규 멤버 온보딩도 훨씬 빨라졌습니다.',
name: '이하은',
role: 'CTO · 데이터플로우',
initial: '하',
color: '#10B981',
},
];
export default function SampleTestimonial1({
mode = 'dark',
title = '고객들의 이야기',
subtitle = '전 세계 개발자들이 경험한 변화를 확인하세요',
testimonials = defaultTestimonials,
}: SampleTestimonial1Props) {
const colors = COLORS[mode];
return (
<section className="px-6 py-24" style={{ backgroundColor: colors.background }}>
<div className="max-w-6xl mx-auto">
<div className="text-center mb-16">
<h2 className="text-4xl md:text-5xl font-bold" style={{ color: colors.heading }}>
{title}
</h2>
<p className="mt-4 text-lg" style={{ color: colors.subheading }}>
{subtitle}
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
{testimonials.map((t, i) => (
<div
key={i}
className="rounded-2xl p-8 flex flex-col"
style={{ backgroundColor: colors.cardBg, border: `1px solid ${colors.cardBorder}` }}
>
<div className="flex gap-0.5 mb-4">
{[...Array(5)].map((_, j) => (
<span key={j} style={{ color: colors.star }}>
★
</span>
))}
</div>
<p className="text-base leading-relaxed flex-1" style={{ color: colors.quote }}>
“{t.quote}”
</p>
<div className="flex items-center gap-3 mt-6">
<div
className="w-10 h-10 rounded-full flex items-center justify-center text-sm font-bold text-white"
style={{ backgroundColor: t.color }}
>
{t.initial}
</div>
<div>
<div className="text-sm font-semibold" style={{ color: colors.name }}>
{t.name}
</div>
<div className="text-xs" style={{ color: colors.role }}>
{t.role}
</div>
</div>
</div>
</div>
))}
</div>
</div>
</section>
);
}