🤝 docs(README): refactor trusted partners section for GitHub compatibility

- Replace complex HTML/CSS layout with simple table format
- Remove inline styles and JavaScript that GitHub doesn't support
- Add clickable link for UCloud partner logo
- Remove acknowledgment text to keep section clean and minimal
- Ensure consistent logo sizing (60px height) across all partners
- Maintain responsive layout using GitHub-compatible HTML table

The partners section now displays properly on GitHub while preserving
functionality and professional appearance.
This commit is contained in:
t0ng7u
2025-07-21 18:00:22 +08:00
parent ba40748118
commit 66dd514c56
2 changed files with 48 additions and 32 deletions

View File

@@ -190,22 +190,30 @@ docker run --name new-api -d --restart always -p 3000:3000 -e SQL_DSN="root:1234
## 🤝 我们信任的合作伙伴
<div align="center" style="margin: 40px 0;">
<h3 style="color: #333; font-weight: 600; margin-bottom: 20px;">Trusted Partners</h3>
<div style="display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; padding: 20px; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);">
<div style="display: flex; align-items: center; justify-content: center; padding: 15px; background: white; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease;" onmouseover="this.style.transform='scale(1.05)'" onmouseout="this.style.transform='scale(1)'">
<img src="./docs/images/cherry-studio.svg" alt="Cherry Studio" style="height: 60px; max-width: 180px; object-fit: contain;">
</div>
<div style="display: flex; align-items: center; justify-content: center; padding: 15px; background: white; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease;" onmouseover="this.style.transform='scale(1.05)'" onmouseout="this.style.transform='scale(1)'">
<img src="./docs/images/pku.png" alt="北京大学" style="height: 60px; max-width: 180px; object-fit: contain;">
</div>
<div style="display: flex; align-items: center; justify-content: center; padding: 15px; background: white; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease;" onmouseover="this.style.transform='scale(1.05)'" onmouseout="this.style.transform='scale(1)'">
<a href="https://www.compshare.cn/?ytag=GPU_yy_gh_newapi" target="_blank" rel="noopener noreferrer">
<img src="./docs/images/ucloud.svg" alt="UCloud 优刻得" style="height: 60px; max-width: 180px; object-fit: contain;">
</a>
</div>
</div>
<p style="margin-top: 15px; color: #666; font-size: 14px; font-style: italic;">感谢以上合作伙伴对New API项目的支持与信任</p>
<div align="center">
<table>
<tr>
<td align="center">
<img src="./docs/images/cherry-studio.svg" alt="Cherry Studio" height="60">
<br>
<strong>Cherry Studio</strong>
</td>
<td align="center">
<img src="./docs/images/pku.png" alt="北京大学" height="60">
<br>
<strong>北京大学</strong>
</td>
<td align="center">
<a href="https://www.compshare.cn/?ytag=GPU_yy_gh_newapi" target="_blank">
<img src="./docs/images/ucloud.svg" alt="UCloud 优刻得" height="60">
</a>
<br>
<strong>UCloud 优刻得</strong>
</td>
</tr>
</table>
*排名不分先后*
</div>
## 🌟 Star History