mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-03 23:16:52 +00:00
feat(ArticleCopyright): initially implement the "not by AI" function
This commit is contained in:
17
components/NotByAI.js
Normal file
17
components/NotByAI.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import { useGlobal } from '@/lib/global'
|
||||
|
||||
/**
|
||||
* 版权声明
|
||||
* @returns
|
||||
*/
|
||||
export default function NotByAI() {
|
||||
const { lang, isDarkMode } = useGlobal()
|
||||
|
||||
return (
|
||||
<img
|
||||
className='transform hover:scale-110 duration-150'
|
||||
src={`/svg/not-by-ai/${lang}/Written-By-Human-Not-By-AI-Badge-${isDarkMode ? 'black' : 'white'}.svg`}
|
||||
alt='not-by-ai'
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user