From 86fc1574c54535a4259266fe907412b5d918f73b Mon Sep 17 00:00:00 2001 From: Simon Axelsson Date: Wed, 24 Jun 2026 18:19:09 +0200 Subject: [PATCH] =?UTF-8?q?feat(ui):=20visual=20upgrade=20=E2=80=94=20shar?= =?UTF-8?q?per,=20more=20confident,=20fewer=20words?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- app/bestall/forskott/page.tsx | 201 ++++++++++++------ app/bestall/page.tsx | 96 +++++---- app/order/[id]/page.tsx | 166 ++++++++++----- app/order/[id]/validera/page.tsx | 171 +++++++++------ components/data-artifact.tsx | 48 +++-- components/header.tsx | 60 ++++-- components/sections/collection-section.tsx | 72 +++++-- components/sections/editorial-section.tsx | 29 ++- .../sections/featured-products-section.tsx | 76 ++++--- components/sections/footer-section.tsx | 56 +++-- components/sections/gallery-section.tsx | 53 +++-- components/sections/hero-section.tsx | 67 +++--- components/sections/philosophy-section.tsx | 32 +-- components/sections/pricing-section.tsx | 53 +++-- components/sections/technology-section.tsx | 84 ++++++-- components/sections/testimonials-section.tsx | 52 +++-- 16 files changed, 871 insertions(+), 445 deletions(-) diff --git a/app/bestall/forskott/page.tsx b/app/bestall/forskott/page.tsx index 6c59c4d..01ac1a0 100644 --- a/app/bestall/forskott/page.tsx +++ b/app/bestall/forskott/page.tsx @@ -3,6 +3,7 @@ import Link from "next/link"; import { useEffect, useState } from "react"; import { OrderStepper } from "@/components/order-stepper"; +import { useReveal } from "@/hooks/use-reveal"; import { formatSEK, computeEstimate, type Estimate } from "@/lib/data"; const FALLBACK: Estimate = computeEstimate({ @@ -16,15 +17,16 @@ const FALLBACK: Estimate = computeEstimate({ }); const TRUST = [ - ["Härkomst per fält", "Varje värde bär källa, färskhet och konfidens."], - ["DPA & GDPR-native", "Databehandlaravtal och dokumenterad laglig grund per fält."], - ["Din egen data: du pushar", "Read-only roll du själv skapar, tidsbegränsad, raderad efteråt."], - ["Revisionslogg", "Vad vi rörde, när och varför — fullständigt loggat."], + ["Härkomst per fält", "Källa, färskhet, konfidens."], + ["GDPR-native", "DPA och laglig grund per fält."], + ["Du pushar din data", "Read-only roll. Tidsbegränsad. Raderad efteråt."], + ["Revisionslogg", "Vad. När. Varför."], ]; export default function DepositPage() { const [est, setEst] = useState(FALLBACK); const [recap, setRecap] = useState>({}); + const reveal = useReveal(); useEffect(() => { try { @@ -45,83 +47,158 @@ export default function DepositPage() { return (
-
-

Steg 2 — Förskott

-

Betala 50 %. Resten i depå.

-
-
+
+ {/* header */} +
+
+

+ Steg 2 — Förskott +

+

+ Halva nu. +
+ Halva i depå. +

+
+ + 02 + +
+ +
+
{/* split */} -
-
- Betalningsupplägg +
+
+

+ Betalningsupplägg +

+

+ 50 / 50 +

+
-
-

- Nu — startar jobbet +

+

+ Nu +

+

+ {formatSEK(est.deposit)} +

+

+ Startar jobbet. Idag.

-

{formatSEK(est.deposit)}

-

50 % · debiteras idag

-
-

Vid godkänt

-

{formatSEK(est.remainder)}

-

50 % · frigörs ur depå

+
+

+ Vid godkänt +

+

+ {formatSEK(est.remainder)} +

+

+ Frigörs ur depå. +

-
- Du debiteras aldrig andra halvan förrän du granskat och tryckt Godkänn. -
-
+ +

+ Andra halvan rörs först när du tryckt Godkänn. +

+
{/* trust */} -
-
- Så hanterar vi data & åtkomst -
-
- {TRUST.map(([t, s]) => ( -
- ✓ - - {t} - {s} +
+

+ Data & åtkomst +

+
+ {TRUST.map(([t, s], i) => ( +
+ + {String(i + 1).padStart(2, "0")} -
- ))} -
-
-
- - {/* summary */} -