Skip to content

Commit 8b823eb

Browse files
committed
docs: ✏️ update to docs
1 parent 3071544 commit 8b823eb

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

documentation/blog/tutorials/2026-04-30-websockets-trpc-pattern.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ title: "What if WebSockets felt like tRPC?"
44
authors: [maciej]
55
tags: [SDK, Sockets, WebSockets, SSE, Firebase, TypeScript]
66
date: 2026-04-30
7-
image: ./img/websockets-trpc-pattern.png
87
---
98

109
import { BlogPostImage } from "@site/src/components";
-1.8 MB
Binary file not shown.

packages/hyper-flow/src/frontend/pages/workspace/documentation/documentation.tsx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,17 @@ const steps = [
4444
<span className="text-zinc-500">$</span> <span className="text-yellow-400">npx</span>{" "}
4545
<span className="text-zinc-300">hyper-fetch generate</span>
4646
<br />
47-
<span className="text-zinc-600"> ↳ schema detected: openapi@3.1</span>
47+
<span className="text-zinc-600"> ↳ schema detected: openapi@3.1</span>
4848
<br />
49-
<span className="text-zinc-600"> ↳ endpoints: 47 found</span>
49+
<span className="text-zinc-600"> ↳ endpoints: 47 found</span>
5050
<br />
51-
<span className="text-green-400"> ✓ SDK generated in 1.2s</span>
51+
<span className="text-green-400"> ✓ SDK generated in 1.2s</span>
5252
</div>
5353
),
5454
gradient: "from-yellow-500/20 to-orange-500/20",
5555
accentColor: "text-yellow-400",
5656
borderColor: "border-yellow-500/20",
57+
beamColor: "#eab308",
5758
},
5859
{
5960
step: "02",
@@ -85,6 +86,7 @@ const steps = [
8586
gradient: "from-blue-500/20 to-cyan-500/20",
8687
accentColor: "text-blue-400",
8788
borderColor: "border-blue-500/20",
89+
beamColor: "#3b82f6",
8890
},
8991
{
9092
step: "03",
@@ -114,6 +116,7 @@ const steps = [
114116
gradient: "from-emerald-500/20 to-green-500/20",
115117
accentColor: "text-emerald-400",
116118
borderColor: "border-emerald-500/20",
119+
beamColor: "#10b981",
117120
},
118121
];
119122

@@ -170,7 +173,12 @@ export const WorkspaceDocumentation = () => {
170173
<div className="relative w-full overflow-y-auto overflow-x-hidden">
171174
<div className="max-w-4xl mx-auto px-6 py-12 space-y-24">
172175
{/* Hero Section */}
173-
<motion.section className="relative text-center space-y-6" initial="initial" animate="animate" variants={stagger}>
176+
<motion.section
177+
className="relative text-center space-y-6"
178+
initial="initial"
179+
animate="animate"
180+
variants={stagger}
181+
>
174182
<motion.div variants={fadeUp} transition={{ duration: 0.5 }}>
175183
<Badge variant="secondary" className="mb-4 text-yellow-400 border-yellow-500/30">
176184
<Sparkles className="size-3" />
@@ -265,7 +273,7 @@ export const WorkspaceDocumentation = () => {
265273
<BorderBeam
266274
size={120}
267275
duration={8 + index * 2}
268-
colorFrom={step.accentColor === "text-yellow-400" ? "#eab308" : step.accentColor === "text-blue-400" ? "#3b82f6" : "#10b981"}
276+
colorFrom={step.beamColor}
269277
colorTo="transparent"
270278
delay={index * 2}
271279
/>

0 commit comments

Comments
 (0)