Skip to content

Commit c884462

Browse files
Fix telegram example images not displaying
Move telegram.gif and arch.png from src/ to public/images/telegram-bot/ and update img src paths to use absolute paths. Next.js App Router doesn't serve colocated assets via relative paths in <img> tags. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d5b609c commit c884462

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

File renamed without changes.
File renamed without changes.

src/app/docs/kagent/examples/telegram-bot/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ No webhooks. No public endpoints. Just polling from inside the cluster.
2222

2323

2424
<div style={{ display: "flex", alignItems: "center", gap: "16px", flexWrap: "wrap" }}>
25-
<img src="telegram.gif" alt="Telegram Demo" style={{ width: "55%", minWidth: "300px" }} />
25+
<img src="/images/telegram-bot/telegram.gif" alt="Telegram Demo" style={{ width: "55%", minWidth: "300px" }} />
2626
</div>
2727

2828
## Architecture Overview
2929

3030
Here’s what we’re building:
3131

3232
<div style={{ display: "flex", alignItems: "center", gap: "16px", flexWrap: "wrap" }}>
33-
<img src="arch.png" alt="Architecture" style={{ width: "40%", minWidth: "250px" }} />
33+
<img src="/images/telegram-bot/arch.png" alt="Architecture" style={{ width: "40%", minWidth: "250px" }} />
3434
</div>
3535

3636
---

0 commit comments

Comments
 (0)