diff --git a/src/contexts/AchievementsContext.tsx b/src/contexts/AchievementsContext.tsx index d510e5f..d32f476 100644 --- a/src/contexts/AchievementsContext.tsx +++ b/src/contexts/AchievementsContext.tsx @@ -40,11 +40,11 @@ const defaultAchievements: Achievement[] = [ { id: 'all_pages', name: 'Completionist', description: 'Visit every page on the site', icon: 'πŸ—ΊοΈ', unlocked: false, secret: true }, // Time achievements - { id: 'time_5min', name: 'Quick Visit', description: 'Spend 5 minutes on the site', icon: '⏱️', unlocked: false }, - { id: 'time_15min', name: 'Taking Your Time', description: 'Spend 15 minutes on the site', icon: '⏰', unlocked: false }, - { id: 'time_30min', name: 'Deep Dive', description: 'Spend 30 minutes on the site', icon: 'πŸ•', unlocked: false }, - { id: 'time_1hour', name: 'Marathon Session', description: 'Spend 1 hour on the site', icon: 'πŸ•‘', unlocked: false, secret: true }, - { id: 'time_2hour', name: 'No Life', description: 'Spend 2 hours on the site', icon: 'πŸ’€', unlocked: false, secret: true }, + { id: 'time_15min', name: 'Quick Visit', description: 'Spend 15 minutes on the site', icon: '⏱️', unlocked: false }, + { id: 'time_30min', name: 'Taking Your Time', description: 'Spend 30 minutes on the site', icon: '⏰', unlocked: false }, + { id: 'time_1hour', name: 'Deep Dive', description: 'Spend 1 hour on the site', icon: 'πŸ•', unlocked: false }, + { id: 'time_3hour', name: 'Marathon Session', description: 'Spend 3 hour on the site', icon: 'πŸ•‘', unlocked: false }, + { id: 'time_24hour', name: 'No Life', description: 'Spend 24 hours on the site', icon: 'πŸ’€', unlocked: false, secret: true }, // Game achievements { id: 'tetris_played', name: 'Block Stacker', description: 'Play Tetris', icon: '🧱', unlocked: false }, @@ -125,11 +125,11 @@ export const AchievementsProvider = ({ children }: { children: ReactNode }) => { // Check time-based achievements useEffect(() => { - if (timeOnSite >= 300) unlockAchievement('time_5min'); if (timeOnSite >= 900) unlockAchievement('time_15min'); if (timeOnSite >= 1800) unlockAchievement('time_30min'); if (timeOnSite >= 3600) unlockAchievement('time_1hour'); - if (timeOnSite >= 7200) unlockAchievement('time_2hour'); + if (timeOnSite >= 10800) unlockAchievement('time_3hour'); + if (timeOnSite >= 86400) unlockAchievement('time_24hour'); }, [timeOnSite]); // Check time of day achievements