nav新增动画,修复潜在的性能和bug,优化动画流畅度

This commit is contained in:
2026-01-29 09:48:05 +08:00
parent 0a1bd07492
commit 2377e2dda2
6 changed files with 34 additions and 27 deletions

View File

@@ -30,7 +30,7 @@ export default function HeroButtons() {
>
{/* .component-82 - Start Investing Button */}
<button
className="bg-white flex flex-row gap-2 items-center justify-center flex-shrink-0 h-[60px] relative overflow-hidden hover:bg-[#f3f4f6] transition-colors"
className="bg-white flex flex-row gap-2 items-center justify-center flex-shrink-0 h-[60px] relative overflow-hidden hover:bg-[#f3f4f6] transition-colors select-none"
style={{
borderRadius: '4px',
padding: '0px 32px'
@@ -61,7 +61,7 @@ export default function HeroButtons() {
{/* .component-9 - Read the Whitepaper Button */}
<button
className="border border-white/20 flex flex-row gap-2 items-center justify-center self-stretch flex-shrink-0 relative overflow-hidden hover:bg-white/70 hover:border-white/60 transition-all"
className="border border-white/20 flex flex-row gap-2 items-center justify-center self-stretch flex-shrink-0 relative overflow-hidden hover:bg-white/70 hover:border-white/60 transition-all select-none"
style={{
background: 'rgba(255, 255, 255, 0.1)',
borderRadius: '4px',