移除 API 文档按钮的动画效果和点击事件
Some checks failed
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-02-27 14:02:56 +08:00
parent cebfd3962a
commit 31b7202034

View File

@@ -409,18 +409,6 @@ export default function Home() {
>
<BarChart3 size={22} strokeWidth={2.5} />
</motion.button>
<motion.button
initial={{ opacity: 0, scale: 0 }}
animate={{ opacity: 1, scale: 1 }}
transition={{ delay: 0.5 }}
whileHover={{ scale: 1.1 }}
whileTap={{ scale: 0.9 }}
onClick={() => router.push('/api-docs')}
className="p-3 bg-purple-600 dark:bg-purple-500 text-white backdrop-blur-xl rounded-2xl shadow-xl hover:shadow-2xl hover:bg-purple-700 dark:hover:bg-purple-400 transition-all duration-300 cursor-pointer"
title="API Docs"
>
<Code2 size={22} strokeWidth={2.5} />
</motion.button>
</div>
{/* Hero Section with Logo */}