feat: a red thread through the homepage, in words and as a line

The rail and the "next, you are wondering" links are gone (owner: flat, and
the question stood twice in a row). The page now reads from top to bottom:

Every chapter opens with one sentence, and the sentences follow each other
as the way of a project: you need someone who builds it, first we find out
what you need, sometimes it is less work by hand, sometimes a meeting, then
it always runs the same way, in the end something runs, a few questions
remain, and it starts with an email.

One line runs down the whole page and draws itself as the visitor scrolls.
Under each sentence it crosses the page, stands a figure on the line
(diamond, hexagon, screen, circle, square, triangle) and continues down the
other side; a glowing dot travels at its head and comes to rest in front of
the last sentence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-05 10:35:55 +02:00
co-authored by Claude Opus 5.5
parent 90120b60db
commit 3e0c9a1605
20 changed files with 539 additions and 508 deletions
+6 -17
View File
@@ -4,17 +4,16 @@ import { BitSeam } from "@/src/components/bits/BitSeam";
import { BitWipe } from "@/src/components/bits/BitWipe";
import { DecodeText } from "@/src/components/bits/DecodeText";
import { Reveal } from "@/src/components/Reveal";
import { ChapterThread, NextChapter } from "@/src/components/story/Chapter";
import { ChapterIntro } from "@/src/components/story/ChapterIntro";
import type { Figure } from "@/src/components/story/threadPath";
interface BlockProps {
/** Two-digit section index, shown with its binary form. */
index: string;
label: string;
title: React.ReactNode;
/** Makes the section a chapter of the story, reachable under this id. */
chapter?: { id: string };
/** The chapter this one hands over to at its end. */
next?: { id: string; label: string; question: string };
/** Makes the section a chapter of the story: its sentence and the figure the thread forms. */
chapter?: { line: string; figure: Figure; flip: boolean };
id?: string;
/** `dark` turns the section into a dark stage. */
tone?: "light" | "dark";
@@ -30,7 +29,6 @@ export const Block: React.FC<BlockProps> = ({
label,
title,
chapter,
next,
id,
tone = "light",
children,
@@ -38,8 +36,7 @@ export const Block: React.FC<BlockProps> = ({
const dark = tone === "dark";
return (
<section
id={chapter?.id ?? id}
data-chapter={chapter?.id}
id={id}
className={`relative scroll-mt-24 border-t ${
dark
? "overflow-clip border-slate-800 bg-slate-900"
@@ -60,7 +57,7 @@ export const Block: React.FC<BlockProps> = ({
<div className="relative mx-auto w-full max-w-[1400px] px-5 py-14 md:px-12 md:py-36">
{chapter && (
<div className="-mt-14 md:-mt-36">
<ChapterThread dark={dark} />
<ChapterIntro {...chapter} dark={dark} />
</div>
)}
<Reveal>
@@ -92,14 +89,6 @@ export const Block: React.FC<BlockProps> = ({
</h2>
</BitWipe>
<div className="mt-10 md:mt-24">{children}</div>
{next && (
<NextChapter
label={next.label}
id={next.id}
question={next.question}
dark={dark}
/>
)}
</div>
</section>
);