refactor(footer): update footer links and localization text
- Removed the 'chatnio' link from the footer. - Added new links for 'CoAI' and 'GPT-Load' in the footer. - Updated the localization key for '基于New API的项目' to '友情链接' for better clarity. - Adjusted the design of the footer to improve layout and visibility of the developer credit.
This commit is contained in:
@@ -142,14 +142,6 @@ const FooterBar = () => {
|
|||||||
>
|
>
|
||||||
Midjourney-Proxy
|
Midjourney-Proxy
|
||||||
</a>
|
</a>
|
||||||
<a
|
|
||||||
href='https://github.com/Deeptrain-Community/chatnio'
|
|
||||||
target='_blank'
|
|
||||||
rel='noopener noreferrer'
|
|
||||||
className='!text-semi-color-text-1'
|
|
||||||
>
|
|
||||||
chatnio
|
|
||||||
</a>
|
|
||||||
<a
|
<a
|
||||||
href='https://github.com/Calcium-Ion/neko-api-key-tool'
|
href='https://github.com/Calcium-Ion/neko-api-key-tool'
|
||||||
target='_blank'
|
target='_blank'
|
||||||
@@ -163,7 +155,7 @@ const FooterBar = () => {
|
|||||||
|
|
||||||
<div className='text-left'>
|
<div className='text-left'>
|
||||||
<p className='!text-semi-color-text-0 font-semibold mb-5'>
|
<p className='!text-semi-color-text-0 font-semibold mb-5'>
|
||||||
{t('基于New API的项目')}
|
{t('友情链接')}
|
||||||
</p>
|
</p>
|
||||||
<div className='flex flex-col gap-4'>
|
<div className='flex flex-col gap-4'>
|
||||||
<a
|
<a
|
||||||
@@ -174,7 +166,22 @@ const FooterBar = () => {
|
|||||||
>
|
>
|
||||||
new-api-horizon
|
new-api-horizon
|
||||||
</a>
|
</a>
|
||||||
{/* <a href="https://github.com/VoAPI/VoAPI" target="_blank" rel="noopener noreferrer" className="!text-semi-color-text-1">VoAPI</a> */}
|
<a
|
||||||
|
href='https://github.com/coaidev/coai'
|
||||||
|
target='_blank'
|
||||||
|
rel='noopener noreferrer'
|
||||||
|
className='!text-semi-color-text-1'
|
||||||
|
>
|
||||||
|
CoAI
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
href='https://www.gpt-load.com/'
|
||||||
|
target='_blank'
|
||||||
|
rel='noopener noreferrer'
|
||||||
|
className='!text-semi-color-text-1'
|
||||||
|
>
|
||||||
|
GPT-Load
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -200,15 +207,6 @@ const FooterBar = () => {
|
|||||||
>
|
>
|
||||||
New API
|
New API
|
||||||
</a>
|
</a>
|
||||||
<span className='!text-semi-color-text-1'> & </span>
|
|
||||||
<a
|
|
||||||
href='https://github.com/songquanpeng/one-api'
|
|
||||||
target='_blank'
|
|
||||||
rel='noopener noreferrer'
|
|
||||||
className='!text-semi-color-primary font-medium'
|
|
||||||
>
|
|
||||||
One API
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
@@ -223,10 +221,23 @@ const FooterBar = () => {
|
|||||||
return (
|
return (
|
||||||
<div className='w-full'>
|
<div className='w-full'>
|
||||||
{footer ? (
|
{footer ? (
|
||||||
<div
|
<div className='relative'>
|
||||||
className='custom-footer'
|
<div
|
||||||
dangerouslySetInnerHTML={{ __html: footer }}
|
className='custom-footer'
|
||||||
></div>
|
dangerouslySetInnerHTML={{ __html: footer }}
|
||||||
|
></div>
|
||||||
|
<div className='absolute bottom-2 right-4 text-xs !text-semi-color-text-2 opacity-70'>
|
||||||
|
<span>{t('设计与开发由')} </span>
|
||||||
|
<a
|
||||||
|
href='https://github.com/QuantumNous/new-api'
|
||||||
|
target='_blank'
|
||||||
|
rel='noopener noreferrer'
|
||||||
|
className='!text-semi-color-primary font-medium'
|
||||||
|
>
|
||||||
|
New API
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
) : (
|
) : (
|
||||||
customFooter
|
customFooter
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -759,7 +759,6 @@
|
|||||||
"获取当前设置失败": "Failed to get current settings",
|
"获取当前设置失败": "Failed to get current settings",
|
||||||
"设置已更新": "Settings updated",
|
"设置已更新": "Settings updated",
|
||||||
"更新设置失败": "Update settings failed",
|
"更新设置失败": "Update settings failed",
|
||||||
"确认解绑": "Confirm unbinding",
|
|
||||||
"您确定要解绑WxPusher吗?": "Are you sure you want to unbind WxPusher?",
|
"您确定要解绑WxPusher吗?": "Are you sure you want to unbind WxPusher?",
|
||||||
"解绑失败": "Unbinding failed",
|
"解绑失败": "Unbinding failed",
|
||||||
"订阅事件": "Subscribe to events",
|
"订阅事件": "Subscribe to events",
|
||||||
@@ -1478,7 +1477,7 @@
|
|||||||
"相关项目": "Related Projects",
|
"相关项目": "Related Projects",
|
||||||
"基于New API的项目": "Projects Based on New API",
|
"基于New API的项目": "Projects Based on New API",
|
||||||
"版权所有": "All rights reserved",
|
"版权所有": "All rights reserved",
|
||||||
"设计与开发由": "Designed & Developed with love by",
|
"设计与开发由": "Designed & Developed by",
|
||||||
"演示站点": "Demo Site",
|
"演示站点": "Demo Site",
|
||||||
"页面未找到,请检查您的浏览器地址是否正确": "Page not found, please check if your browser address is correct",
|
"页面未找到,请检查您的浏览器地址是否正确": "Page not found, please check if your browser address is correct",
|
||||||
"您无权访问此页面,请联系管理员": "You do not have permission to access this page. Please contact the administrator.",
|
"您无权访问此页面,请联系管理员": "You do not have permission to access this page. Please contact the administrator.",
|
||||||
|
|||||||
Reference in New Issue
Block a user