DataArtifact primitive (table/map/schema/chart/grid); Filosofi, Katalog (#katalog), Motorn (#motorn, dark), Visualiseringsgalleri, Täckning (#tackning), Editorial, Bevis, Priser (#priser), Footer — all on mono tokens + useReveal scroll-reveal, provenance signature, single red. Removed all template photography/scroll-image machinery. next build green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
40 lines
1.7 KiB
TypeScript
40 lines
1.7 KiB
TypeScript
"use client";
|
|
|
|
import { useReveal } from "@/hooks/use-reveal";
|
|
|
|
const NUMBERS = [
|
|
["94%", "snittkonfidens, levererat", true],
|
|
["50/50", "betala vid start & godkänt", false],
|
|
["<4 dgr", "typisk leveranstid", false],
|
|
];
|
|
|
|
export function TestimonialsSection() {
|
|
const ref = useReveal<HTMLElement>();
|
|
return (
|
|
<section ref={ref} className="border-b border-border bg-background">
|
|
<div className="mx-auto max-w-[80rem] px-6 py-24 lg:py-32">
|
|
<p className="reveal font-mono text-[11px] uppercase tracking-[0.14em] text-muted-foreground">05 — Bevis</p>
|
|
<h2 className="reveal delay-1 mt-3 text-[clamp(1.8rem,3.5vw,3rem)] font-medium tracking-[-0.02em]">Mätbart. Inte marknadsföring.</h2>
|
|
|
|
<div className="mt-12 grid grid-cols-1 divide-y divide-border border-y border-border sm:grid-cols-3 sm:divide-x sm:divide-y-0">
|
|
{NUMBERS.map(([n, l, red], i) => (
|
|
<div key={l as string} className={`reveal delay-${i + 1} px-2 py-8`}>
|
|
<p className="text-[clamp(2.5rem,6vw,4.5rem)] font-semibold tracking-[-0.02em]" style={{ color: red ? "var(--accent-red)" : "var(--foreground)" }}>
|
|
{n}
|
|
</p>
|
|
<p className="mt-2 font-mono text-[11px] uppercase tracking-[0.08em] text-muted-foreground">{l}</p>
|
|
</div>
|
|
))}
|
|
</div>
|
|
|
|
<div className="reveal-scale delay-4 mt-10 max-w-2xl border border-border p-8">
|
|
<p className="text-xl leading-relaxed">
|
|
"Vi vågar äntligen lita på listan innan vi ringer. Härkomsten per kontakt avgjorde det."
|
|
</p>
|
|
<p className="mt-4 font-mono text-[11px] uppercase tracking-[0.1em] text-muted-foreground">RevOps · B2B SaaS</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|