移除 API 文档按钮的动画效果和点击事件
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user