fix(自定义备案链接不生效)

This commit is contained in:
LooseLi
2025-03-20 14:03:46 +08:00
parent 86b59b6cfc
commit 379d0dbc04
9 changed files with 10 additions and 9 deletions

View File

@@ -9,6 +9,7 @@ import SocialButton from './SocialButton'
*/
const Footer = () => {
const BEI_AN = siteConfig('BEI_AN')
const BEI_AN_LINK = siteConfig('BEI_AN_LINK')
const BIO = siteConfig('BIO')
return (
<footer className='relative flex-shrink-0 bg-white dark:bg-[#1a191d] justify-center text-center m-auto w-full leading-6 text-gray-600 dark:text-gray-100 text-sm'>
@@ -46,7 +47,7 @@ const Footer = () => {
{BEI_AN && (
<>
<i className='fas fa-shield-alt' />{' '}
<a href='https://beian.miit.gov.cn/' className='mr-2'>
<a href={BEI_AN_LINK} className='mr-2'>
{siteConfig('BEI_AN')}
</a>
</>