{filteredItems.map((item, index) => (
{
+ if (el) categoryRefs.current[item.category] = el;
+ }}
+ className="rounded-2xl overflow-hidden transition-all duration-300 hover:shadow-2xl hover:scale-105 animate-fade-in-slide-up"
style={{
backgroundColor: "var(--card)", animationDelay: `${index * 0.1}s`,
}}
@@ -301,7 +388,7 @@ export default function MenuPage() {