feat(3d): complete site-wide autonomous and interactive 3d cinematic typography overhaul
This commit is contained in:
@@ -25,13 +25,13 @@ export function FaqSection({
|
||||
return (
|
||||
<section className="py-24 sm:py-32 bg-[#FAF8F5] border-t border-slate-900/[0.08]">
|
||||
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3">
|
||||
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700">
|
||||
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3 preserve-3d">
|
||||
<div className="badge-3d inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700">
|
||||
<HelpCircle className="w-3.5 h-3.5 text-blue-600" />
|
||||
<span>TRANSPARENCY & ASSURANCE</span>
|
||||
</div>
|
||||
{title && (
|
||||
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
|
||||
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight text-3d-chiseled">
|
||||
{resolveLocalised(title, locale)}
|
||||
</h2>
|
||||
)}
|
||||
@@ -49,7 +49,7 @@ export function FaqSection({
|
||||
onClick={() => setOpenIndex(isOpen ? null : idx)}
|
||||
className="w-full p-6 text-left flex items-center justify-between gap-4 font-bold text-slate-900 hover:text-blue-600 transition-colors"
|
||||
>
|
||||
<span className="text-base sm:text-lg font-display">{item.q}</span>
|
||||
<span className="text-base sm:text-lg font-display text-3d-chiseled">{item.q}</span>
|
||||
<ChevronDown
|
||||
className={`w-5 h-5 text-slate-400 shrink-0 transition-transform duration-200 ${
|
||||
isOpen ? 'rotate-180 text-blue-600' : ''
|
||||
|
||||
Reference in New Issue
Block a user