コンポーネント研究 / フッター
マルチカラムフッター
リンク、ニュースレター、ソーシャルを整理したフッター。
メールの登録モダンダークテーマミニマルサンセリフ4カラムレスポンシブ全幅SaaSスタートアップ
ライブプレビュー
表示幅: 1440px。画面に合わせて縮小しています。原寸での操作や長いセクションの確認には、プレビューを開いてください。
'use client';
const COLORS = {
light: {
background: '#FFFFFF',
heading: '#111111',
text: '#555555',
link: '#555555',
linkHover: '#111111',
divider: '#E5E5E5',
inputBg: '#F5F5F5',
inputText: '#111111',
buttonBg: '#111111',
buttonText: '#FFFFFF',
copyright: '#AAAAAA',
},
dark: {
background: '#050505',
heading: '#FFFFFF',
text: '#888888',
link: '#888888',
linkHover: '#FFFFFF',
divider: '#1A1A1A',
inputBg: '#111111',
inputText: '#FFFFFF',
buttonBg: '#FFFFFF',
buttonText: '#000000',
copyright: '#444444',
},
} as const;
interface FooterColumn {
title: string;
links: string[];
}
interface SampleFooter1Props {
mode?: 'light' | 'dark';
brand?: string;
description?: string;
columns?: FooterColumn[];
copyright?: string;
socials?: string[];
}
export default function SampleFooter1({
mode = 'dark',
brand = 'DesignQuest',
description = '웹사이트 디자인 시스템을 자동으로 분석하고 코드를 생성하는 개발자 플랫폼',
columns = [
{ title: '제품', links: ['기능', '요금', '데모', '변경 이력'] },
{ title: '리소스', links: ['문서', 'API 레퍼런스', '블로그', '커뮤니티'] },
{ title: '회사', links: ['소개', '채용', '언론', '문의'] },
{ title: '법적 고지', links: ['이용약관', '개인정보 처리방침', '쿠키 정책'] },
],
copyright = '© 2025 DesignQuest. All rights reserved.',
socials = ['GitHub', 'X', 'LinkedIn'],
}: SampleFooter1Props) {
const colors = COLORS[mode];
return (
<footer className="px-6 py-16" style={{ backgroundColor: colors.background }}>
<div className="max-w-6xl mx-auto">
<div className="grid grid-cols-2 md:grid-cols-6 gap-8 mb-12">
<div className="col-span-2">
<div className="text-xl font-bold mb-3" style={{ color: colors.heading }}>
{brand}
</div>
<p className="text-sm leading-relaxed max-w-xs" style={{ color: colors.text }}>
{description}
</p>
<div className="flex items-center gap-3 mt-6">
<input
type="email"
placeholder="이메일 구독"
className="px-4 py-2 rounded-lg text-sm flex-1 max-w-[200px] outline-none"
style={{ backgroundColor: colors.inputBg, color: colors.inputText }}
/>
<button
className="px-4 py-2 rounded-lg text-sm font-medium"
style={{ backgroundColor: colors.buttonBg, color: colors.buttonText }}
>
구독
</button>
</div>
</div>
{columns.map((col) => (
<div key={col.title}>
<h4 className="text-sm font-semibold mb-4" style={{ color: colors.heading }}>
{col.title}
</h4>
<ul className="space-y-2.5">
{col.links.map((link) => (
<li key={link}>
<a
href="#"
className="text-sm transition-colors"
style={{ color: colors.link }}
>
{link}
</a>
</li>
))}
</ul>
</div>
))}
</div>
<div
className="pt-8 flex flex-col sm:flex-row items-center justify-between gap-4"
style={{ borderTop: `1px solid ${colors.divider}` }}
>
<p className="text-sm" style={{ color: colors.copyright }}>
{copyright}
</p>
<div className="flex items-center gap-4">
{socials.map((s) => (
<a key={s} href="#" className="text-sm" style={{ color: colors.link }}>
{s}
</a>
))}
</div>
</div>
</div>
</footer>
);
}