diff --git a/src/components/HomePage.tsx b/src/components/HomePage.tsx index aa35a63..c0c91ed 100644 --- a/src/components/HomePage.tsx +++ b/src/components/HomePage.tsx @@ -53,6 +53,9 @@ export default function HomePage({ prayers, todayCount, onStartPraying, onSelect // Count active prayer requests (not answered) const activePrayerCount = prayers.filter(p => !p.answered).length; + // Count how many active prayers were prayed for today + const prayedTodayCount = prayers.filter(p => !p.answered && p.lastPrayedFor === today).length; + // Calculate actual streak - consecutive days with prayers const calculateStreak = () => { if (prayers.length === 0) return 0; @@ -131,9 +134,16 @@ export default function HomePage({ prayers, todayCount, onStartPraying, onSelect {getGreeting()}, {getFirstName()}! {activePrayerCount > 0 ? ( -
- You have {activePrayerCount} {activePrayerCount === 1 ? 'thing' : 'things'} that need prayer today. -
++ You have {activePrayerCount} {activePrayerCount === 1 ? 'thing' : 'things'} that need prayer today. +
+ {prayedTodayCount > 0 && ( ++ You've prayed for {prayedTodayCount} of them! 🙏 +
+ )} +All caught up! Start a new prayer to keep your journey going.