From ce24227e21f073e6e30c0798e6b19039ae7558a4 Mon Sep 17 00:00:00 2001 From: Alper Gundogdu Date: Mon, 11 May 2026 15:06:45 +0100 Subject: [PATCH 1/3] chore(faq): remove AI-models item Closes #58 --- components/site/Faq.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/site/Faq.tsx b/components/site/Faq.tsx index e2e95a7..98e294d 100644 --- a/components/site/Faq.tsx +++ b/components/site/Faq.tsx @@ -43,11 +43,6 @@ export function Faq() { q="Can publishers pay on behalf of users?" a="Yes. Account abstraction lets a publisher fund a payment channel for their audience, so users pull content with no wallet and no subscription — same free-to-download experience as a public mirror, except the publisher pays peers per megabyte instead of one cloud's egress bill. Default flow is client-pays; publisher-pays is the flag you flip when you want to ship widely without per-user payment friction." /> - From 5ecdb5fc60ceb6fa51cf8415801722591d91ea11 Mon Sep 17 00:00:00 2001 From: Alper Gundogdu Date: Mon, 11 May 2026 15:07:31 +0100 Subject: [PATCH 2/3] chore(cta): swap "run a node" for "read the docs" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hero and Close CTAs read "read the docs →" pointing at links.docs (docs.decdn.org/overview/introduction). The orphaned `runNode` entry in lib/links.ts is removed; it was identical to `docs` and the two call sites were its only references. Closes #59 --- components/site/Close.tsx | 4 ++-- components/site/Hero.tsx | 4 ++-- lib/links.ts | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/site/Close.tsx b/components/site/Close.tsx index 7bb5286..1484ccf 100644 --- a/components/site/Close.tsx +++ b/components/site/Close.tsx @@ -66,9 +66,9 @@ export function Close() { - run a node + read the docs → diff --git a/components/site/Hero.tsx b/components/site/Hero.tsx index 29aaee6..a5f4230 100644 --- a/components/site/Hero.tsx +++ b/components/site/Hero.tsx @@ -63,9 +63,9 @@ export function Hero() { - run a node + read the docs → diff --git a/lib/links.ts b/lib/links.ts index ea7eb7d..e893db7 100644 --- a/lib/links.ts +++ b/lib/links.ts @@ -4,7 +4,6 @@ export const links = { x: "https://x.com/deCDNorg", litepaper: "/decdn_litepaper.pdf", docs: "https://docs.decdn.org/overview/introduction", - runNode: "https://docs.decdn.org/overview/introduction", contact: "mailto:info@decdn.org", } as const; From 649838c06eb28c0f394de30e8246a1c450a53b3c Mon Sep 17 00:00:00 2001 From: Alper Gundogdu Date: Mon, 11 May 2026 15:07:59 +0100 Subject: [PATCH 3/3] refactor(types): inline wordmark height; drop --wordmark-h augmentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The --wordmark-h custom property was consumed only inside the same JSX subtree that declared it — no CSS-side dependency — so a local `const` in Close.tsx is enough. Removing the entry from types/css.d.ts narrows the global CSSProperties augmentation back to --reveal-delay, which is the only token that genuinely bridges JSX and globals.css. Closes #54 --- components/site/Close.tsx | 7 ++++--- types/css.d.ts | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/site/Close.tsx b/components/site/Close.tsx index 1484ccf..19c8b29 100644 --- a/components/site/Close.tsx +++ b/components/site/Close.tsx @@ -3,6 +3,8 @@ import { Frame } from "@/components/ui/Frame"; import { SectionHeader } from "@/components/ui/SectionHeader"; import { FleetStatus } from "@/components/site/FleetStatus"; +const wordmarkH = "clamp(4.75rem, 14vw, 11.5rem)"; + export function Close() { return ( @@ -27,10 +29,9 @@ export function Close() { height={110} className="block" style={{ - "--wordmark-h": "clamp(4.75rem, 14vw, 11.5rem)", - height: "var(--wordmark-h)", + height: wordmarkH, width: "auto", - marginLeft: "calc(var(--wordmark-h) * -0.18)", + marginLeft: `calc(${wordmarkH} * -0.18)`, }} /> diff --git a/types/css.d.ts b/types/css.d.ts index 6833af2..5411124 100644 --- a/types/css.d.ts +++ b/types/css.d.ts @@ -3,6 +3,5 @@ import "react"; declare module "react" { interface CSSProperties { "--reveal-delay"?: `${number}ms`; - "--wordmark-h"?: string; } }