hexo 页脚

This commit is contained in:
tangly1024
2024-11-23 12:38:08 +08:00
parent c3685be358
commit cfde73fbdd
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import { siteConfig } from '@/lib/config'
export default function PoweredBy(props) {
return (
<div
className={`gap-x-1 flex flex-wrap text-sm font-serif ${props.className}`}>
className={`gap-x-1 flex flex-wrap text-sm font-serif ${props.className || ''}`}>
<span>Powered by</span>
<a
href='https://github.com/tangly1024/NotionNext'

View File

@@ -35,7 +35,7 @@ const Footer = ({ title }) => {
<h1 className='text-xs pt-4 text-light-400 dark:text-gray-400'>
{title} {siteConfig('BIO') && <>|</>} {siteConfig('BIO')}
</h1>
<PoweredBy />
<PoweredBy className='justify-center' />
</span>
<br />
</footer>