HotIndicator.tsx 1.4 KB

1234567891011121314151617181920212223242526
  1. "use client";
  2. export default function HotIndicator() {
  3. return (
  4. <div className="relative inline-block">
  5. {/* 메인 HOT 텍스트 - 통통 튀어오르는 효과 */}
  6. <div className="relative animate-bounce bg-gradient-to-br from-red-500 via-red-600 to-orange-500 text-white px-1 py-0.5 rounded-full text-xs font-extrabold shadow-lg border-2 border-white/30 backdrop-blur-sm">
  7. {/* 내부 광택 효과 */}
  8. <div className="absolute inset-0 bg-gradient-to-br from-white/40 to-transparent rounded-full"></div>
  9. <span className="relative z-10">HOT</span>
  10. </div>
  11. {/* 상단 우측 반짝이는 별 */}
  12. {/* <div className="absolute -top-1 -right-1 w-2 h-2 bg-yellow-300 rounded-full animate-ping shadow-sm"></div> */}
  13. {/* 하단 좌측 작은 반짝임 */}
  14. {/* <div className="absolute -bottom-0.5 -left-0.5 w-1 h-1 bg-white rounded-full animate-pulse delay-500 shadow-sm"></div> */}
  15. {/* 추가 반짝임 효과 */}
  16. {/* <div className="absolute top-0 left-1/2 w-1 h-1 bg-yellow-200 rounded-full animate-ping delay-700 opacity-75"></div> */}
  17. {/* 외곽 글로우 효과 */}
  18. <div className="absolute inset-0 bg-red-400/30 rounded-full blur-sm animate-pulse delay-1000"></div>
  19. </div>
  20. );
  21. }