c803efe059
- ProposalDeck: outer div h-screen overflow-hidden, content wrapper h-full - Rimosso il div interno ridondante min-h-screen - useEffect blocca body overflow mentre la deck è aperta - Tutti i 20 componenti slide: min-h-screen → h-full Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
51 lines
2.0 KiB
TypeScript
51 lines
2.0 KiB
TypeScript
import type { ConsultantProfile } from "@/lib/proposal/profile";
|
|
import { CheckCircle2 } from "lucide-react";
|
|
|
|
type Props = { consultant: ConsultantProfile };
|
|
|
|
export function StrategistSection({ consultant }: Props) {
|
|
return (
|
|
<div className="h-full flex items-center px-16 py-24">
|
|
<div className="grid grid-cols-3 gap-12 w-full">
|
|
{/* Foto */}
|
|
<div className="flex flex-col items-center justify-center">
|
|
<div className="w-48 h-64 rounded-xl border-2 border-primary bg-muted flex items-center justify-center overflow-hidden">
|
|
{consultant.photoUrl ? (
|
|
<img src={consultant.photoUrl} alt={consultant.name} className="w-full h-full object-cover" />
|
|
) : (
|
|
<span className="text-muted-foreground text-sm">{consultant.name[0]}</span>
|
|
)}
|
|
</div>
|
|
</div>
|
|
|
|
{/* Bio */}
|
|
<div className="col-span-2 space-y-6">
|
|
<div>
|
|
<p className="text-xs font-mono tracking-widest text-muted-foreground uppercase">
|
|
Strategist · Brand & Business
|
|
</p>
|
|
<h2 className="text-4xl font-light text-foreground mt-2">{consultant.name}</h2>
|
|
</div>
|
|
|
|
<p className="text-base font-medium text-foreground leading-relaxed">{consultant.bio}</p>
|
|
|
|
<ul className="space-y-2">
|
|
{consultant.credentials.map((c, i) => (
|
|
<li key={i} className="flex items-start gap-2 text-sm text-muted-foreground">
|
|
<CheckCircle2 size={14} className="text-primary mt-0.5 shrink-0" />
|
|
<span dangerouslySetInnerHTML={{ __html: c }} />
|
|
</li>
|
|
))}
|
|
</ul>
|
|
|
|
<div className="p-4 bg-muted rounded-lg text-sm text-foreground leading-relaxed border-l-2 border-primary">
|
|
{consultant.contact.website && (
|
|
<span className="font-mono text-xs text-muted-foreground">{consultant.contact.website}</span>
|
|
)}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|