コンポーネント研究 / フッター
ミニマルなフッター
リンクとソーシャルアイコンを中央にまとめたシンプルな構成。
ミニマルサンセリフ中央配置1カラムレスポンシブSaaSスタートアップ
ライブプレビュー
表示幅: 1440px。画面に合わせて縮小しています。原寸での操作や長いセクションの確認には、プレビューを開いてください。
'use client';
const COLORS = {
light: {
background: '#FAFAFA',
brand: '#111111',
link: '#666666',
divider: '#E5E5E5',
copyright: '#AAAAAA',
social: '#999999',
},
dark: {
background: '#050505',
brand: '#FFFFFF',
link: '#888888',
divider: '#1A1A1A',
copyright: '#444444',
social: '#666666',
},
} as const;
interface SampleFooter2Props {
mode?: 'light' | 'dark';
brand?: string;
links?: string[];
socials?: string[];
copyright?: string;
}
export default function SampleFooter2({
mode = 'dark',
brand = 'DesignQuest',
links = ['제품', '기능', '요금', '블로그', '문의'],
socials = ['GitHub', 'X', 'LinkedIn', 'YouTube'],
copyright = '© 2025 DesignQuest. All rights reserved.',
}: SampleFooter2Props) {
const colors = COLORS[mode];
return (
<footer className="px-6 py-16" style={{ backgroundColor: colors.background }}>
<div className="max-w-4xl mx-auto text-center">
<div className="text-2xl font-bold mb-8" style={{ color: colors.brand }}>
{brand}
</div>
<nav className="flex flex-wrap items-center justify-center gap-6 mb-8">
{links.map((link) => (
<a
key={link}
href="#"
className="text-sm transition-colors"
style={{ color: colors.link }}
>
{link}
</a>
))}
</nav>
<div className="flex items-center justify-center gap-5 mb-8">
{socials.map((s) => (
<a key={s} href="#" className="text-sm" style={{ color: colors.social }}>
{s}
</a>
))}
</div>
<div style={{ borderTop: `1px solid ${colors.divider}` }} className="pt-8">
<p className="text-sm" style={{ color: colors.copyright }}>
{copyright}
</p>
</div>
</div>
</footer>
);
}