import React from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { Star, Trophy, Zap } from 'lucide-react'; import { useGamification } from '../../../context/GamificationContext'; const LevelUpModal = () => { const { levelUpData } = useGamification(); return ( {levelUpData && (
{/* Backdrop glow */} {/* Celebration Ring */}
{/* Rotating background ray effect */}

Level Up!

Level {levelUpData.newLevel} Reached
{levelUpData.titleChanged && (
New Rank Unlocked
{levelUpData.newTitle}
)}
)}
); }; export default LevelUpModal;