docs: add project star button to README files

- Included a centered star project button in both English and Chinese README files to encourage user engagement.
This commit is contained in:
lintsinghua 2025-10-27 17:06:17 +08:00
parent c7bdf4dc91
commit 2fad6a2e11
4 changed files with 120 additions and 0 deletions

View File

@ -19,6 +19,12 @@
[![Supabase](https://img.shields.io/badge/Supabase-3ECF8E.svg)](https://supabase.com/)
[![Google Gemini](https://img.shields.io/badge/Google%20Gemini-4285F4.svg)](https://ai.google.dev/)
<div align="center">
<a href="https://github.com/lintsinghua/XCodeReviewer">
<img src="public/star-me-cn.svg" alt="Star this project" />
</a>
</div>
**XCodeReviewer** 是一个由大型语言模型LLM驱动的现代化代码审计平台旨在为开发者提供智能、全面且极具深度的代码质量分析和审查服务。
## 🌟 为什么选择 XCodeReviewer

View File

@ -19,6 +19,12 @@
[![Supabase](https://img.shields.io/badge/Supabase-3ECF8E.svg)](https://supabase.com/)
[![Google Gemini](https://img.shields.io/badge/Google%20Gemini-4285F4.svg)](https://ai.google.dev/)
<div align="center">
<a href="https://github.com/lintsinghua/XCodeReviewer">
<img src="public/star-me.svg" alt="Star this project" />
</a>
</div>
**XCodeReviewer** is a modern code audit platform powered by Large Language Models (LLM), designed to provide developers with intelligent, comprehensive, and in-depth code quality analysis and review services.
## 🌟 Why Choose XCodeReviewer?

54
public/star-me-cn.svg Normal file
View File

@ -0,0 +1,54 @@
<svg width="800" height="100" xmlns="http://www.w3.org/2000/svg">
<!-- 背景渐变 -->
<defs>
<linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style="stop-color:#1a1a1a;stop-opacity:1" />
<stop offset="50%" style="stop-color:#2d1a1f;stop-opacity:1" />
<stop offset="100%" style="stop-color:#1a1a1a;stop-opacity:1" />
</linearGradient>
<!-- 星星闪烁效果 -->
<filter id="glow">
<feGaussianBlur stdDeviation="2" result="coloredBlur"/>
<feMerge>
<feMergeNode in="coloredBlur"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
<!-- 背景 -->
<rect width="800" height="100" rx="12" fill="url(#bgGradient)" />
<!-- 边框 -->
<rect width="800" height="100" rx="12" fill="none" stroke="#dc2626" stroke-width="2" opacity="0.6"/>
<!-- 左侧星星图标 -->
<g transform="translate(50, 50)">
<circle cx="0" cy="0" r="32" fill="#dc2626" opacity="0.15"/>
<path d="M 0,-20 L 4.7,-6.2 L 19.4,-6.2 L 7.8,3.8 L 12.4,17.6 L 0,7.6 L -12.4,17.6 L -7.8,3.8 L -19.4,-6.2 L -4.7,-6.2 Z"
fill="#dc2626" filter="url(#glow)"/>
</g>
<!-- 主文字 -->
<text x="110" y="45" font-family="'PingFang SC', 'Microsoft YaHei', Arial, sans-serif" font-size="32" font-weight="bold" fill="#ffffff">
⭐ 如果喜欢,请给个 Star 吧!
</text>
<!-- 副文字 -->
<text x="110" y="75" font-family="'PingFang SC', 'Microsoft YaHei', Arial, sans-serif" font-size="17" fill="#dc2626" font-weight="600">
您的支持是我们持续改进 XCodeReviewer 的最大动力
</text>
<!-- 右侧装饰星星 -->
<g transform="translate(760, 30)">
<path d="M 0,-8 L 2,-2.5 L 8,-2.5 L 3.2,1.5 L 5.2,7 L 0,3 L -5.2,7 L -3.2,1.5 L -8,-2.5 L -2,-2.5 Z"
fill="#dc2626" opacity="0.6"/>
</g>
<g transform="translate(740, 75)">
<path d="M 0,-6 L 1.5,-2 L 6,-2 L 2.5,1 L 4,5 L 0,2.5 L -4,5 L -2.5,1 L -6,-2 L -1.5,-2 Z"
fill="#dc2626" opacity="0.4"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

54
public/star-me.svg Normal file
View File

@ -0,0 +1,54 @@
<svg width="800" height="100" xmlns="http://www.w3.org/2000/svg">
<!-- 背景渐变 -->
<defs>
<linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style="stop-color:#1a1a1a;stop-opacity:1" />
<stop offset="50%" style="stop-color:#2d1a1f;stop-opacity:1" />
<stop offset="100%" style="stop-color:#1a1a1a;stop-opacity:1" />
</linearGradient>
<!-- 星星闪烁效果 -->
<filter id="glow">
<feGaussianBlur stdDeviation="2" result="coloredBlur"/>
<feMerge>
<feMergeNode in="coloredBlur"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
<!-- 背景 -->
<rect width="800" height="100" rx="12" fill="url(#bgGradient)" />
<!-- 边框 -->
<rect width="800" height="100" rx="12" fill="none" stroke="#dc2626" stroke-width="2" opacity="0.6"/>
<!-- 左侧星星图标 -->
<g transform="translate(50, 50)">
<circle cx="0" cy="0" r="32" fill="#dc2626" opacity="0.15"/>
<path d="M 0,-20 L 4.7,-6.2 L 19.4,-6.2 L 7.8,3.8 L 12.4,17.6 L 0,7.6 L -12.4,17.6 L -7.8,3.8 L -19.4,-6.2 L -4.7,-6.2 Z"
fill="#dc2626" filter="url(#glow)"/>
</g>
<!-- 主文字 -->
<text x="110" y="42" font-family="Arial, sans-serif" font-size="28" font-weight="bold" fill="#ffffff">
⭐ Star this project if you like it!
</text>
<!-- 副文字 -->
<text x="110" y="72" font-family="Arial, sans-serif" font-size="16" fill="#dc2626" font-weight="600">
Your support motivates us to keep improving XCodeReviewer
</text>
<!-- 右侧装饰星星 -->
<g transform="translate(760, 30)">
<path d="M 0,-8 L 2,-2.5 L 8,-2.5 L 3.2,1.5 L 5.2,7 L 0,3 L -5.2,7 L -3.2,1.5 L -8,-2.5 L -2,-2.5 Z"
fill="#dc2626" opacity="0.6"/>
</g>
<g transform="translate(740, 75)">
<path d="M 0,-6 L 1.5,-2 L 6,-2 L 2.5,1 L 4,5 L 0,2.5 L -4,5 L -2.5,1 L -6,-2 L -1.5,-2 Z"
fill="#dc2626" opacity="0.4"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB