fix discussions/2020

This commit is contained in:
tangly1024.com
2024-03-05 16:41:54 +08:00
parent 46ec45eb8d
commit 5b606213cb

View File

@@ -45,8 +45,10 @@ export function InfoCard(props) {
<Link href='/about'><GlobeAlt className={'w-6 h-6'} /></Link>
</div>
<div className='bg-indigo-400 p-2 rounded-full w-10 items-center flex justify-center transition-colors duration-200 dark:bg-yellow-500 dark:hover:bg-black hover:bg-white'>
<Link href={siteConfig('HEO_INFO_CARD_URL', null, CONFIG)}><i className='fab fa-github text-xl' />
{siteConfig('HEO_INFO_CARD_URL', null, CONFIG) && <Link href={siteConfig('HEO_INFO_CARD_URL', null, CONFIG)}>
<i className='fab fa-github text-xl' />
</Link>
}
</div>
</div>
<MoreButton />