Skip to content

Commit 0708e63

Browse files
committed
docs: make the Reference Project links read as links
The four destinations were a single bordered four-column strip, which reads as a tab bar — a control that switches the panel below it — when every cell is a link to GitHub. Replaced with a CardGroup, which is what AGENTS.md prescribes for choosing between destinations, at the two columns it also prescribes.
1 parent 007a468 commit 0708e63

1 file changed

Lines changed: 14 additions & 18 deletions

File tree

docs/examples.mdx

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,20 @@ source, revision notes, checks, and final render are all public.
6666
Using /hyperframes, make a 10-second product intro for https://example.com.
6767
```
6868

69-
<div className="not-prose my-6 grid overflow-hidden rounded-xl border border-zinc-200 bg-white md:grid-cols-4 dark:border-zinc-800 dark:bg-zinc-950">
70-
<a className="border-b border-zinc-200 p-4 text-inherit no-underline md:border-b-0 md:border-r dark:border-zinc-800" href="https://github.com/heygen-com/hyperframes/blob/main/examples/docs-reference-project/BRIEF.md">
71-
<span className="block text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:text-zinc-400">Brief</span>
72-
<strong className="mt-1 block text-sm">What the agent decided</strong>
73-
</a>
74-
<a className="border-b border-zinc-200 p-4 text-inherit no-underline md:border-b-0 md:border-r dark:border-zinc-800" href="https://github.com/heygen-com/hyperframes/tree/main/examples/docs-reference-project">
75-
<span className="block text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:text-zinc-400">Source</span>
76-
<strong className="mt-1 block text-sm">Every editable project file</strong>
77-
</a>
78-
<a className="border-b border-zinc-200 p-4 text-inherit no-underline md:border-b-0 md:border-r dark:border-zinc-800" href="https://github.com/heygen-com/hyperframes/blob/main/examples/docs-reference-project/VERIFICATION.md#2-v1--v2">
79-
<span className="block text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:text-zinc-400">Revision</span>
80-
<strong className="mt-1 block text-sm">What changed after review</strong>
81-
</a>
82-
<a className="p-4 text-inherit no-underline" href="https://github.com/heygen-com/hyperframes/blob/main/examples/docs-reference-project/VERIFICATION.md">
83-
<span className="block text-xs font-semibold uppercase tracking-wide text-zinc-500 dark:text-zinc-400">Checks</span>
84-
<strong className="mt-1 block text-sm">The real verification report</strong>
85-
</a>
86-
</div>
69+
<CardGroup cols={2}>
70+
<Card title="Brief" icon="clipboard-list" href="https://github.com/heygen-com/hyperframes/blob/main/examples/docs-reference-project/BRIEF.md">
71+
What the agent decided before building anything.
72+
</Card>
73+
<Card title="Source" icon="folder-open" href="https://github.com/heygen-com/hyperframes/tree/main/examples/docs-reference-project">
74+
Every editable project file, exactly as it renders.
75+
</Card>
76+
<Card title="Revision" icon="pen-to-square" href="https://github.com/heygen-com/hyperframes/blob/main/examples/docs-reference-project/VERIFICATION.md#2-v1--v2">
77+
What changed between the first and second cut, and why.
78+
</Card>
79+
<Card title="Checks" icon="circle-check" href="https://github.com/heygen-com/hyperframes/blob/main/examples/docs-reference-project/VERIFICATION.md">
80+
The real gate output: lint, check, contrast, and the final render.
81+
</Card>
82+
</CardGroup>
8783

8884
<div style={{ maxWidth: "36rem", margin: "1.5rem auto" }}>
8985
<DocsVideo

0 commit comments

Comments
 (0)