16-file refinement (mono system intact): oversized tight headlines + giant faint mono indices as texture, single shared hairline grids over boxes, wider 8px vertical rhythm, restrained hairline-draw hover micro-interactions, red kept to <=1 per screen. Copy cut to terse, confident Swedish across landing + app screens. Logic/props/ids/contracts preserved; tsc clean, next build green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
70 lines
3.7 KiB
TypeScript
70 lines
3.7 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", href: "/#tackning" }, { label: "Färskhet", href: "/#tackning" }, { label: "Licenser", href: "/#motorn" }] },
|
|
{ head: "Bolag", links: [{ label: "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 relative overflow-hidden bg-[#0a0a0a] text-[#fafafa]">
|
|
<div className="mx-auto max-w-[80rem] px-6">
|
|
{/* Columns over a single shared baseline */}
|
|
<div className="grid grid-cols-2 gap-x-10 gap-y-12 border-b border-[#1f1f1f] py-16 md:grid-cols-12">
|
|
<div className="reveal-left col-span-2 md:col-span-5">
|
|
<div className="flex items-center gap-2">
|
|
<span className="font-mono text-[11px] uppercase tracking-[0.18em] text-[#737373]">your data</span>
|
|
<span className="inline-block h-1 w-1 animate-float" style={{ backgroundColor: "var(--accent-red)" }} />
|
|
</div>
|
|
<p className="mt-5 max-w-sm text-[15px] leading-snug text-[#a3a3a3]">
|
|
På beställning. Härkomst per fält.<br />
|
|
Inget gissat.
|
|
</p>
|
|
</div>
|
|
{COLUMNS.map((c, i) => (
|
|
<div key={c.head} className={`reveal delay-${i + 1} md:col-span-2`}>
|
|
<h4 className="border-b border-[#1f1f1f] pb-2.5 font-mono text-[10px] uppercase tracking-[0.2em] text-[#737373]">{c.head}</h4>
|
|
<ul className="mt-4 space-y-3">
|
|
{c.links.map((l) => (
|
|
<li key={l.label}>
|
|
<Link
|
|
href={l.href}
|
|
className="group inline-flex items-center gap-2 text-[15px] tracking-[-0.01em] text-[#fafafa] transition-colors hover:text-[#fafafa]"
|
|
>
|
|
<span className="h-px w-0 bg-[#fafafa] transition-all duration-300 group-hover:w-4" />
|
|
<span className="transition-transform duration-300 group-hover:translate-x-0">{l.label}</span>
|
|
</Link>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
</div>
|
|
))}
|
|
</div>
|
|
|
|
{/* Oversized wordmark as graphic texture */}
|
|
<div className="reveal-fade relative py-12">
|
|
<div className="flex items-end justify-between gap-6">
|
|
<span className="select-none font-semibold leading-[0.8] tracking-[-0.05em] text-[#fafafa] text-[clamp(5rem,22vw,17rem)]">
|
|
0pt
|
|
</span>
|
|
<span className="hidden pb-4 text-right font-mono text-[11px] uppercase leading-relaxed tracking-[0.14em] text-[#525252] md:block">
|
|
Beställ.<br />Betala hälften.<br />Validera.
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div className="flex flex-col items-start justify-between gap-2 border-t border-[#1f1f1f] py-6 md:flex-row md:items-center">
|
|
<p className="font-mono text-[10px] uppercase tracking-[0.12em] text-[#525252]">© 2026 SIAX Technology AB</p>
|
|
<p className="font-mono text-[10px] uppercase tracking-[0.12em] text-[#525252]">0pt.app</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|