feat: add GitHub Sponsors button and i18n READMEs (#43)

- Add GitHub Sponsors iframe button to chat panel header
- Update README with badges and language switcher
- Add Chinese README (README_CN.md)
- Add Japanese README (README_JA.md)
- Reorganize examples section in README
This commit is contained in:
Dayuan Jiang
2025-12-02 22:53:31 +09:00
committed by GitHub
parent bca80c0856
commit 53754e627a
4 changed files with 426 additions and 29 deletions

View File

@@ -234,14 +234,13 @@ Please retry with an adjusted search pattern or use display_diagram if retries a
</Link>
</div>
<div className="flex items-center gap-2">
<ButtonWithTooltip
tooltipContent="Hide chat panel (Ctrl+B)"
variant="ghost"
size="icon"
onClick={onToggleVisibility}
>
<PanelRightClose className="h-5 w-5" />
</ButtonWithTooltip>
<iframe
src="https://github.com/sponsors/DayuanJiang/button"
title="Sponsor DayuanJiang"
height="32"
width="114"
style={{ border: 0, borderRadius: 6 }}
/>
<a
href="https://github.com/DayuanJiang/next-ai-draw-io"
target="_blank"
@@ -250,6 +249,14 @@ Please retry with an adjusted search pattern or use display_diagram if retries a
>
<FaGithub className="w-6 h-6" />
</a>
<ButtonWithTooltip
tooltipContent="Hide chat panel (Ctrl+B)"
variant="ghost"
size="icon"
onClick={onToggleVisibility}
>
<PanelRightClose className="h-5 w-5" />
</ButtonWithTooltip>
</div>
</CardHeader>
<CardContent className="flex-grow overflow-hidden px-2">