|
|
@@ -221,23 +221,27 @@ const FooterBar = () => {
|
|
|
return (
|
|
|
<div className='w-full'>
|
|
|
{footer ? (
|
|
|
- <div className='relative'>
|
|
|
- <div
|
|
|
- className='custom-footer'
|
|
|
- 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>
|
|
|
+ <footer className='relative h-auto py-4 px-6 md:px-24 w-full flex items-center justify-center overflow-hidden'>
|
|
|
+ <div className='flex flex-col md:flex-row items-center justify-between w-full max-w-[1110px] gap-4'>
|
|
|
+ <div
|
|
|
+ className='custom-footer na-cb6feafeb3990c78 text-sm !text-semi-color-text-1'
|
|
|
+ dangerouslySetInnerHTML={{ __html: footer }}
|
|
|
+ ></div>
|
|
|
+ <div className='text-sm flex-shrink-0'>
|
|
|
+ <span className='!text-semi-color-text-1'>
|
|
|
+ {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>
|
|
|
- </div>
|
|
|
+ </footer>
|
|
|
) : (
|
|
|
customFooter
|
|
|
)}
|