"use client"; import { useReveal } from "@/hooks/use-reveal"; import { useT } from "@/components/locale-provider"; const CHAIN = [ ["01", "Officiella API:er", "GLEIF · Brreg · Companies House", "var(--prov-3)"], ["02", "Auktoriserad webb", "robots.txt. Rate limits.", "var(--prov-1)"], ["03", "Licensierad partnerdata", "Avtalad åtkomst.", "var(--prov-2)"], ["04", "Annars: tomt", "Vi gissar aldrig.", "transparent"], ]; const PIPELINE = ["Källracing", "Extraktion", "Strukturering", "Berikning", "QA"]; export function TechnologySection() { const ref = useReveal(); const t = useT(); return (
{/* graph-paper hairline texture */}
{/* oversized faint section numeral */} 03

{t({ en: "The engine", sv: "Motorn" })}

{t({ en: "Lawfully collected.", sv: "Lagligt insamlat." })}
{t({ en: "Traceable at every step.", sv: "Spårbart varje steg." })}

{/* sourcing chain */}

{t({ en: "The sourcing chain — by priority", sv: "Källkedjan — i prioritet" })}

{CHAIN.map(([n, title, sub, color], i) => (
{/* hairline draw on hover */}
{n}

{title}

{sub}

))}
{/* pipeline */}

{t({ en: "The pipeline", sv: "Pipelinen" })}

{PIPELINE.map((s, i) => (
{String(i + 1).padStart(2, "0")} {s} {i < PIPELINE.length - 1 ? / : null}
))}

{t({ en: "QA runs inside the pipeline. Not on the side.", sv: "QA körs i pipelinen. Inte vid sidan om." })}

); }