Selaa lähdekoodia

style: 隐藏首页 CTA 区域和页脚版权信息

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat/alipay-payment
fengsilin 1 kuukausi sitten
vanhempi
commit
9fd8e099aa
2 muutettua tiedostoa jossa 22 lisäystä ja 22 poistoa
  1. +21
    -21
      web/src/components/layout/Footer.jsx
  2. +1
    -1
      web/src/pages/Home/index.jsx

+ 21
- 21
web/src/components/layout/Footer.jsx Näytä tiedosto

@@ -188,27 +188,27 @@ const FooterBar = () => {
</div>
)}

<div className='flex flex-col md:flex-row items-center justify-between w-full max-w-[1110px] gap-6'>
<div className='flex flex-wrap items-center gap-2'>
<Typography.Text className='text-sm !text-semi-color-text-1'>
© {currentYear} {systemName}. {t('版权所有')}
</Typography.Text>
</div>
<div className='text-sm'>
<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 className='flex flex-col md:flex-row items-center justify-between w-full max-w-[1110px] gap-6'>*/}
{/* <div className='flex flex-wrap items-center gap-2'>*/}
{/* <Typography.Text className='text-sm !text-semi-color-text-1'>*/}
{/* © {currentYear} {systemName}. {t('版权所有')}*/}
{/* </Typography.Text>*/}
{/* </div>*/}
{/* <div className='text-sm'>*/}
{/* <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>*/}
</footer>
),
[logo, systemName, t, currentYear, isDemoSiteMode],


+ 1
- 1
web/src/pages/Home/index.jsx Näytä tiedosto

@@ -151,7 +151,7 @@ const Home = () => {
</section>

{/* CTA Section */}
<CTASection />
{/*<CTASection />*/}

{/* Footer */}
<HomePageFooter />


Ladataan…
Peruuta
Tallenna