Skip to content

Commit e336d98

Browse files
committed
Link out to templates
1 parent 40ff972 commit e336d98

File tree

5 files changed

+35
-25
lines changed

5 files changed

+35
-25
lines changed
126 KB
Loading
66.9 KB
Loading
126 KB
Loading

apps/website/app/[lang]/(home)/page.tsx

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import { OneTwoSection } from "./components/one-two-section";
1111
import { Templates } from "./components/templates";
1212
import { TextGridSection } from "./components/text-grid-section";
1313
import { Usage } from "./components/usage";
14+
import AiElements from "./images/ai-elements.png";
15+
import NextjsChatbotTemplate from "./images/nextjs-chatbot-template.png";
16+
import VibeCodingPlatform from "./images/vibe-coding-platform.png";
1417

1518
const title = "Streamdown";
1619
const description =
@@ -23,22 +26,24 @@ export const metadata: Metadata = {
2326

2427
const templates = [
2528
{
26-
title: "Template 1",
27-
description: "Description of template 1",
28-
link: "https://example.com/template-1",
29-
image: "https://placehold.co/600x400.png",
29+
title: "Next.js Chatbot Template",
30+
description:
31+
"A free, open-source template that helps you dive right into building powerful chatbot applications.",
32+
link: "https://github.com/vercel/ai-chatbot",
33+
image: NextjsChatbotTemplate,
3034
},
3135
{
32-
title: "Template 2",
33-
description: "Description of template 2",
34-
link: "https://example.com/template-2",
35-
image: "https://placehold.co/600x400.png",
36+
title: "AI Elements",
37+
description:
38+
"A collection of UI elements for building AI-powered applications.",
39+
link: "https://elements.ai-sdk.dev/",
40+
image: AiElements,
3641
},
3742
{
38-
title: "Template 3",
39-
description: "Description of template 3",
40-
link: "https://example.com/template-3",
41-
image: "https://placehold.co/600x400.png",
43+
title: "Vibe Coding Platform",
44+
description: "An end to end text-to-app coding platform.",
45+
link: "https://oss-vibe-coding-platform.vercel.app/",
46+
image: VibeCodingPlatform,
4247
},
4348
];
4449

@@ -50,9 +55,8 @@ const features = [
5055
title: "Typography & GFM",
5156
description: (
5257
<>
53-
Built-in{" "}
54-
<Link href="/[lang]/docs/typography">Tailwind typography</Link> for
55-
headings, lists, and code blocks.{" "}
58+
Built-in <Link href="/[lang]/docs/typography">Tailwind typography</Link>{" "}
59+
for headings, lists, and code blocks.{" "}
5660
<Link href="/[lang]/docs/gfm">GitHub Flavored Markdown</Link> adds
5761
tables, task lists, strikethrough, and autolinks.
5862
</>
@@ -89,8 +93,9 @@ const features = [
8993
description: (
9094
<>
9195
<Link href="/[lang]/docs/plugins/math">LaTeX math</Link> through KaTeX,
92-
interactive <Link href="/[lang]/docs/plugins/mermaid">Mermaid diagrams</Link>{" "}
93-
with fullscreen viewing, and{" "}
96+
interactive{" "}
97+
<Link href="/[lang]/docs/plugins/mermaid">Mermaid diagrams</Link> with
98+
fullscreen viewing, and{" "}
9499
<Link href="/[lang]/docs/plugins/cjk">CJK support</Link> for correct
95100
ideographic punctuation.
96101
</>
@@ -117,8 +122,9 @@ const features = [
117122
<Link href="/[lang]/docs/components">custom components</Link>, apply
118123
your own <Link href="/[lang]/docs/styling">styles</Link>, and fine-tune
119124
behavior through{" "}
120-
<Link href="/[lang]/docs/configuration">configuration</Link>. Tree-shakeable{" "}
121-
<Link href="/[lang]/docs/plugins">plugins</Link> keep your bundle lean.
125+
<Link href="/[lang]/docs/configuration">configuration</Link>.
126+
Tree-shakeable <Link href="/[lang]/docs/plugins">plugins</Link> keep
127+
your bundle lean.
122128
</>
123129
),
124130
},

apps/website/geistdocs.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ export const nav = [
2020
href: "/docs",
2121
},
2222
{
23-
label: "Playground",
24-
href: "/playground",
23+
label: "Features",
24+
href: "/docs/animation",
25+
},
26+
{
27+
label: "Plugins",
28+
href: "/docs/plugins",
2529
},
2630
{
27-
label: "AI Elements",
28-
href: "https://ai-sdk.dev/elements",
31+
label: "Playground",
32+
href: "/playground",
2933
},
3034
];
3135

@@ -39,7 +43,7 @@ export const suggestions = [
3943
export const title = "Streamdown Documentation";
4044

4145
export const prompt =
42-
"You are a helpful assistant specializing in answering questions about Streamdown, a drop-in replacement for react-markdown, designed for AI-powered streaming.";
46+
"You are a helpful assistant specializing in answering questions about Streamdown - a markdown renderer designed for streaming content from AI models that is highly interactive, customizable, and easy to use.";
4347

4448
export const translations = {
4549
en: {
@@ -49,4 +53,4 @@ export const translations = {
4953

5054
export const basePath: string | undefined = undefined;
5155

52-
export const siteId: string | undefined = "streamdown"
56+
export const siteId: string | undefined = "streamdown";

0 commit comments

Comments
 (0)