diff --git a/components/site/Close.tsx b/components/site/Close.tsx index b9e51e1..11e4b38 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)`, }} /> @@ -66,9 +67,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/faq.ts b/lib/faq.ts index 7800776..0f24f2c 100644 --- a/lib/faq.ts +++ b/lib/faq.ts @@ -19,8 +19,4 @@ export const FAQ_ITEMS = [ 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.", }, - { - q: "Does this work well for AI models?", - a: "Yes — AI is where deCDN's primitives compound. Clients pull large weights from several peers in parallel and saturate their own uplink instead of a single origin's. BLAKE3 chunk addressing lets teams grab one quantisation variant or a single layer without downloading the full checkpoint. And when a model drops and every region pulls it at once, the mesh warms around the demand instead of choking at a central bucket.", - }, ] as const; diff --git a/lib/links.ts b/lib/links.ts index 421330e..9c36a16 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", blog: "/blog/", contact: "mailto:info@decdn.org", } as const; 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; } }