mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 07:26:45 +00:00
Code🤣
This commit is contained in:
23
components/Footer.js
Normal file
23
components/Footer.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import BLOG from '@/blog.config'
|
||||
import React from 'react'
|
||||
import SocialButton from '@/components/SocialButton'
|
||||
|
||||
const Footer = ({ fullWidth = true }) => {
|
||||
const d = new Date()
|
||||
const y = d.getFullYear()
|
||||
const from = +BLOG.since
|
||||
return (
|
||||
<div
|
||||
className='py-4 flex-shrink-0 m-auto w-full text-gray-500 dark:text-gray-400 bottom-0'
|
||||
>
|
||||
<SocialButton/>
|
||||
<div className='text-sm'>
|
||||
<span className='fa fa-shield leading-6'><a href='https://beian.miit.gov.cn/' className='ml-1'>闽ICP备20010331号</a></span>
|
||||
<br/>
|
||||
<span className='fa fa-copyright leading-6'> {from === y || !from ? y : `${from} - ${y}`} {BLOG.author} </span>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Footer
|
||||
Reference in New Issue
Block a user