Files
0pt/components/sections/footer-section.tsx
T
adminandClaude Opus 4.8 f3b796a241 feat: transform all landing sections to 0pt (data-native, no photos)
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>
2026-06-24 17:50:28 +02:00

52 lines
2.6 KiB
TypeScript

"use client";
import Link from "next/link";
import { useReveal } from "@/hooks/use-reveal";
const COLUMNS: { head: string; links: { label: string; href: string }[] }[] = [
{ head: "Produkt", links: [{ label: "Katalog", href: "/#katalog" }, { label: "Beställ", href: "/bestall" }, { label: "Priser", href: "/#priser" }, { label: "API", href: "/bestall" }] },
{ head: "Källor", links: [{ label: "Sourcing-karta", href: "/#tackning" }, { label: "Färskhet", href: "/#tackning" }, { label: "Licenser", href: "/#motorn" }] },
{ head: "Bolag", links: [{ label: "Om SIAX", href: "https://siax.io" }, { label: "Kontakt", href: "mailto:hej@siax.io" }] },
{ head: "Juridik", links: [{ label: "DPA", href: "/#" }, { label: "Villkor", href: "/#" }, { label: "Integritet", href: "/#" }] },
];
export function FooterSection() {
const ref = useReveal<HTMLElement>();
return (
<footer ref={ref} className="dark bg-[#0a0a0a] text-[#fafafa]">
<div className="mx-auto max-w-[80rem] px-6 py-20">
<div className="grid grid-cols-2 gap-10 md:grid-cols-5">
<div className="reveal-left col-span-2">
<div className="flex items-center gap-2">
<span className="text-2xl font-semibold tracking-[-0.02em]">0pt</span>
<span className="inline-block h-1 w-1" style={{ backgroundColor: "var(--accent-red)" }} />
<span className="font-mono text-[10px] uppercase tracking-[0.18em] text-[#a3a3a3]">your data</span>
</div>
<p className="mt-4 max-w-xs text-sm text-[#a3a3a3]">
Datatjänster på beställning. Härkomst per fält, GDPR-native.
</p>
</div>
{COLUMNS.map((c, i) => (
<div key={c.head} className={`reveal delay-${i + 1}`}>
<h4 className="font-mono text-[11px] uppercase tracking-[0.12em] text-[#a3a3a3]">{c.head}</h4>
<ul className="mt-4 space-y-2.5">
{c.links.map((l) => (
<li key={l.label}>
<Link href={l.href} className="text-sm text-[#fafafa] transition-colors hover:text-[var(--accent-red)]">
{l.label}
</Link>
</li>
))}
</ul>
</div>
))}
</div>
<div className="mt-16 flex flex-col items-center justify-between gap-3 border-t border-[#262626] pt-6 md:flex-row">
<p className="font-mono text-[11px] uppercase tracking-[0.08em] text-[#a3a3a3]">© 2026 SIAX Technology AB</p>
<p className="font-mono text-[11px] uppercase tracking-[0.08em] text-[#a3a3a3]">0pt.app</p>
</div>
</div>
</footer>
);
}