mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-28 15:10:04 +00:00
部分组件统一;magzine页脚微调
This commit is contained in:
21
components/BeiAnSite.js
Normal file
21
components/BeiAnSite.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import { siteConfig } from '@/lib/config'
|
||||
|
||||
/**
|
||||
* 站点域名备案
|
||||
* @returns
|
||||
*/
|
||||
export default function BeiAnSite() {
|
||||
const beian = siteConfig('BEI_AN')
|
||||
if (!beian) {
|
||||
return null
|
||||
}
|
||||
return (
|
||||
<span>
|
||||
<i className='fas fa-shield-alt' />
|
||||
<a href='https://beian.miit.gov.cn/' className='mx-1'>
|
||||
{siteConfig('BEI_AN')}
|
||||
</a>
|
||||
<br />
|
||||
</span>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user