feat(ArticleCopyright): initially implement the "not by AI" function

This commit is contained in:
anime
2025-07-06 02:51:21 +08:00
parent 40b206b39b
commit fc1e644130
20 changed files with 915 additions and 26 deletions

17
components/NotByAI.js Normal file
View 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'
/>
)
}