🔗feat(ui): Enhance About page with interactive project links and improve external link handling

This commit is contained in:
Apple\Apple
2025-06-07 22:55:12 +08:00
parent e0cc13094f
commit 387721e907
2 changed files with 12 additions and 4 deletions

View File

@@ -1406,7 +1406,8 @@
"New API项目仓库地址": "New API project repository address: ",
"© {{currentYear}}": "© {{currentYear}}",
"| 基于": " | Based on ",
"© 2023 JustSong。": "© 2023 JustSong.",
"MIT许可证": "MIT License",
"Apache-2.0协议": "Apache-2.0 License",
"本项目根据": "This project is licensed under the ",
"授权,需在遵守": " and must be used in compliance with the ",
"的前提下使用。": ".",

View File

@@ -71,7 +71,14 @@ const About = () => {
className="!text-semi-color-primary hover:!text-semi-color-primary-hover transition-colors"
>
One API v0.5.4
</a> {t('© 2023 JustSong')}
</a> © 2023 <a
href="https://github.com/songquanpeng"
target="_blank"
rel="noopener noreferrer"
className="!text-semi-color-primary hover:!text-semi-color-primary-hover transition-colors"
>
JustSong
</a>
</p>
<p>
{t('本项目根据')}
@@ -81,7 +88,7 @@ const About = () => {
rel="noopener noreferrer"
className="!text-semi-color-primary hover:!text-semi-color-primary-hover transition-colors"
>
MIT许可证
{t('MIT许可证')}
</a>
{t('授权,需在遵守')}
<a
@@ -90,7 +97,7 @@ const About = () => {
rel="noopener noreferrer"
className="!text-semi-color-primary hover:!text-semi-color-primary-hover transition-colors"
>
Apache-2.0协议
{t('Apache-2.0协议')}
</a>
{t('的前提下使用。')}
</p>