Skip to content

Commit cbab8fa

Browse files
💄 style: align agent avatars and playground footnote gap
1 parent 2ebb406 commit cbab8fa

1 file changed

Lines changed: 8 additions & 22 deletions

File tree

‎docs/home/home.tsx‎

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
import {
2-
ClaudeCode,
3-
Codex,
4-
Cursor,
5-
GithubCopilot,
6-
Windsurf,
7-
} from "@lobehub/icons";
81
import { Flexbox, Text } from "@lobehub/ui";
92
import {
103
AgentSkillCard,
@@ -24,14 +17,6 @@ const SITE_URL = "https://streamdown.lobehub.com";
2417
const REPO = "https://github.com/lobehub/streamdown";
2518
const NPM = "https://www.npmjs.com/package/@lobehub/streamdown";
2619

27-
const AGENTS = [
28-
{ avatar: ClaudeCode.Avatar, title: "Claude Code" },
29-
{ avatar: Codex.Avatar, title: "Codex" },
30-
{ avatar: Cursor.Avatar, title: "Cursor" },
31-
{ avatar: GithubCopilot.Avatar, title: "GitHub Copilot" },
32-
{ avatar: Windsurf.Avatar, title: "Windsurf" },
33-
];
34-
3520
// Standard landing hero (building-landing-home) with the original hero stream below it, then the
3621
// original Vite site's sections (f3ba7b3:site/src/App.tsx): Features → Playground → footer.
3722
export default function Home({ description }: { description: string }) {
@@ -55,7 +40,6 @@ export default function Home({ description }: { description: string }) {
5540
]}
5641
aside={
5742
<AgentSkillCard
58-
agents={AGENTS}
5943
agent={{
6044
code: `Read ${SITE_URL}/skills.md and follow it to render streaming LLM markdown with @lobehub/streamdown.`,
6145
description:
@@ -100,12 +84,14 @@ export default function Home({ description }: { description: string }) {
10084
"Tune the stream and watch the profiler respond in real time."
10185
}
10286
>
103-
<Playground />
104-
<Text as={"p"} fontSize={13} type={"secondary"}>
105-
Reveal commits sit deliberately below the display refresh —
106-
per-character stagger rides CSS <code>animation-delay</code>, not a
107-
re-render every frame.
108-
</Text>
87+
<Flexbox gap={24} width={"100%"}>
88+
<Playground />
89+
<Text as={"p"} fontSize={13} type={"secondary"}>
90+
Reveal commits sit deliberately below the display refresh —
91+
per-character stagger rides CSS <code>animation-delay</code>, not
92+
a re-render every frame.
93+
</Text>
94+
</Flexbox>
10995
</LandingSection>
11096
</div>
11197

0 commit comments

Comments
 (0)