🤝 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:
40
README.en.md
40
README.en.md
@@ -191,22 +191,30 @@ If you have any questions, please refer to [Help and Support](https://docs.newap
|
|||||||
|
|
||||||
## 🤝 Trusted Partners
|
## 🤝 Trusted Partners
|
||||||
|
|
||||||
<div align="center" style="margin: 40px 0;">
|
<div align="center">
|
||||||
<h3 style="color: #333; font-weight: 600; margin-bottom: 20px;">Trusted Partners</h3>
|
<table>
|
||||||
<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);">
|
<tr>
|
||||||
<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)'">
|
<td align="center">
|
||||||
<img src="./docs/images/cherry-studio.svg" alt="Cherry Studio" style="height: 60px; max-width: 180px; object-fit: contain;">
|
<img src="./docs/images/cherry-studio.svg" alt="Cherry Studio" height="60">
|
||||||
</div>
|
<br>
|
||||||
<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)'">
|
<strong>Cherry Studio</strong>
|
||||||
<img src="./docs/images/pku.png" alt="Peking University" style="height: 60px; max-width: 180px; object-fit: contain;">
|
</td>
|
||||||
</div>
|
<td align="center">
|
||||||
<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="Peking University" height="60">
|
||||||
<a href="https://www.compshare.cn/?ytag=GPU_yy_gh_newapi" target="_blank" rel="noopener noreferrer">
|
<br>
|
||||||
<img src="./docs/images/ucloud.svg" alt="UCloud" style="height: 60px; max-width: 180px; object-fit: contain;">
|
<strong>Peking University</strong>
|
||||||
</a>
|
</td>
|
||||||
</div>
|
<td align="center">
|
||||||
</div>
|
<a href="https://www.compshare.cn/?ytag=GPU_yy_gh_newapi" target="_blank">
|
||||||
<p style="margin-top: 15px; color: #666; font-size: 14px; font-style: italic;">Thanks to the above partners for their support and trust in the New API project</p>
|
<img src="./docs/images/ucloud.svg" alt="UCloud" height="60">
|
||||||
|
</a>
|
||||||
|
<br>
|
||||||
|
<strong>UCloud</strong>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
*No particular order*
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## 🌟 Star History
|
## 🌟 Star History
|
||||||
|
|||||||
40
README.md
40
README.md
@@ -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;">
|
<div align="center">
|
||||||
<h3 style="color: #333; font-weight: 600; margin-bottom: 20px;">Trusted Partners</h3>
|
<table>
|
||||||
<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);">
|
<tr>
|
||||||
<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)'">
|
<td align="center">
|
||||||
<img src="./docs/images/cherry-studio.svg" alt="Cherry Studio" style="height: 60px; max-width: 180px; object-fit: contain;">
|
<img src="./docs/images/cherry-studio.svg" alt="Cherry Studio" height="60">
|
||||||
</div>
|
<br>
|
||||||
<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)'">
|
<strong>Cherry Studio</strong>
|
||||||
<img src="./docs/images/pku.png" alt="北京大学" style="height: 60px; max-width: 180px; object-fit: contain;">
|
</td>
|
||||||
</div>
|
<td align="center">
|
||||||
<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="北京大学" height="60">
|
||||||
<a href="https://www.compshare.cn/?ytag=GPU_yy_gh_newapi" target="_blank" rel="noopener noreferrer">
|
<br>
|
||||||
<img src="./docs/images/ucloud.svg" alt="UCloud 优刻得" style="height: 60px; max-width: 180px; object-fit: contain;">
|
<strong>北京大学</strong>
|
||||||
</a>
|
</td>
|
||||||
</div>
|
<td align="center">
|
||||||
</div>
|
<a href="https://www.compshare.cn/?ytag=GPU_yy_gh_newapi" target="_blank">
|
||||||
<p style="margin-top: 15px; color: #666; font-size: 14px; font-style: italic;">感谢以上合作伙伴对New API项目的支持与信任</p>
|
<img src="./docs/images/ucloud.svg" alt="UCloud 优刻得" height="60">
|
||||||
|
</a>
|
||||||
|
<br>
|
||||||
|
<strong>UCloud 优刻得</strong>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
*排名不分先后*
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## 🌟 Star History
|
## 🌟 Star History
|
||||||
|
|||||||
Reference in New Issue
Block a user