|
| 1 | +// 단순 뷰 섹션 widgets 에선 굳이 나누지 않는게 좋다고 판단했습니다. |
| 2 | +// 상수, 메세지 등 마찬가지 |
| 3 | +const columns = [ |
| 4 | + { |
| 5 | + title: 'Company', |
| 6 | + links: [ |
| 7 | + { label: 'Home', href: '#top' }, |
| 8 | + { label: 'About', href: '#quote' }, |
| 9 | + { label: 'FAQ', href: '#faq' }, |
| 10 | + { label: 'Team', href: '#quote' }, |
| 11 | + ], |
| 12 | + }, |
| 13 | + { |
| 14 | + title: 'Services', |
| 15 | + links: [ |
| 16 | + { label: 'Frontend Interview', href: '#services' }, |
| 17 | + { label: 'Backend Interview', href: '#services' }, |
| 18 | + { label: 'CS / Full Stack', href: '#services' }, |
| 19 | + { label: 'Reports', href: '#services' }, |
| 20 | + ], |
| 21 | + }, |
| 22 | + { |
| 23 | + title: 'Other', |
| 24 | + links: [ |
| 25 | + { label: 'Design System', href: '/design-system' }, |
| 26 | + { label: 'GitHub', href: '#' }, |
| 27 | + { label: 'Privacy', href: '#' }, |
| 28 | + { label: 'Get Started', href: '#cta' }, |
| 29 | + ], |
| 30 | + }, |
| 31 | +] |
| 32 | + |
| 33 | +export function SiteFooter() { |
| 34 | + return ( |
| 35 | + <footer |
| 36 | + id="footer" |
| 37 | + className="relative text-white" |
| 38 | + style={{ background: 'var(--color-sage-800)' }} |
| 39 | + > |
| 40 | + <div className="mx-auto max-w-content px-6 lg:px-12 pt-20 lg:pt-28 pb-12"> |
| 41 | + <div className="flex flex-col lg:flex-row lg:items-end gap-8 lg:gap-12"> |
| 42 | + <h2 |
| 43 | + className="font-heading font-extrabold uppercase text-white leading-[0.95] tracking-tight flex-1" |
| 44 | + style={{ fontSize: 'clamp(40px, 6vw, 88px)' }} |
| 45 | + > |
| 46 | + One smart step |
| 47 | + </h2> |
| 48 | + <a |
| 49 | + href="#cta" |
| 50 | + className="inline-flex self-start lg:self-end items-center gap-2 pl-5 pr-2 py-2.5 rounded-pill bg-[#e6dfd4] text-sage-900 text-button hover:bg-white transition-colors duration-fast" |
| 51 | + > |
| 52 | + Get Started |
| 53 | + <span |
| 54 | + aria-hidden |
| 55 | + className="inline-flex items-center justify-center w-6 h-6 rounded-pill bg-sage-900 text-white text-[11px]" |
| 56 | + > |
| 57 | + → |
| 58 | + </span> |
| 59 | + </a> |
| 60 | + </div> |
| 61 | + |
| 62 | + <div className="mt-12 h-px bg-sage-600/70" /> |
| 63 | + |
| 64 | + <div className="mt-12 grid gap-12 lg:grid-cols-12"> |
| 65 | + <div className="lg:col-span-5"> |
| 66 | + <div className="font-heading font-extrabold uppercase tracking-[0.06em] text-white text-[22px]"> |
| 67 | + Stack Up |
| 68 | + </div> |
| 69 | + <p className="mt-4 text-sage-200 max-w-sm leading-relaxed"> |
| 70 | + IT 직군 멀티모달 AI 면접 시뮬레이터. GitHub 레포와 이력서를 분석해 |
| 71 | + 개인 맞춤 면접과 음성·비언어적 피드백을 제공합니다. |
| 72 | + </p> |
| 73 | + </div> |
| 74 | + |
| 75 | + <nav |
| 76 | + aria-label="Footer" |
| 77 | + className="lg:col-span-7 grid grid-cols-2 sm:grid-cols-3 gap-8" |
| 78 | + > |
| 79 | + {columns.map((col) => ( |
| 80 | + <div key={col.title}> |
| 81 | + <div className="text-caption font-mono uppercase tracking-[0.22em] text-sage-300"> |
| 82 | + {col.title} |
| 83 | + </div> |
| 84 | + <ul className="mt-4 space-y-3"> |
| 85 | + {col.links.map((l) => ( |
| 86 | + <li key={l.label}> |
| 87 | + <a |
| 88 | + href={l.href} |
| 89 | + className="text-white/90 hover:text-white transition-colors duration-fast" |
| 90 | + > |
| 91 | + {l.label} |
| 92 | + </a> |
| 93 | + </li> |
| 94 | + ))} |
| 95 | + </ul> |
| 96 | + </div> |
| 97 | + ))} |
| 98 | + </nav> |
| 99 | + </div> |
| 100 | + |
| 101 | + <div className="mt-16 pt-8 border-t border-sage-600/60 flex flex-col sm:flex-row gap-3 sm:items-center sm:justify-between"> |
| 102 | + <div className="text-caption font-mono text-sage-300"> |
| 103 | + © 2026 StackUp · CNU 종합설계. All rights reserved. |
| 104 | + </div> |
| 105 | + <ul className="flex gap-6 text-caption text-sage-300"> |
| 106 | + <li><a href="#" className="hover:text-white transition-colors duration-fast">Privacy</a></li> |
| 107 | + <li><a href="#" className="hover:text-white transition-colors duration-fast">Terms</a></li> |
| 108 | + </ul> |
| 109 | + </div> |
| 110 | + </div> |
| 111 | + </footer> |
| 112 | + ) |
| 113 | +} |
0 commit comments