feat: Enhance Game component with extra puzzles feature

- Introduce requiredDailyKeys to track daily puzzle completion across genres.
- Implement logic to show an ExtraPuzzlesPopover when all daily puzzles are completed.
- Add localized messages for extra puzzles in both English and German.
- Update GenrePage and Home components to pass requiredDailyKeys to the Game component.
This commit is contained in:
Hördle Bot
2025-12-02 10:59:22 +01:00
parent 0bfcf0737e
commit 8239753911
8 changed files with 282 additions and 3 deletions

View File

@@ -64,6 +64,12 @@
"special": "Special",
"genre": "Genre"
},
"ExtraPuzzles": {
"title": "Noch nicht genug Rätsel?",
"message": "Hey, hast du Lust auf weitere Rätsel? Dann schau doch mal bei {name} vorbei!",
"cta": "Zu {name}",
"close": "Schließen"
},
"Statistics": {
"yourStatistics": "Deine Statistiken",
"totalPuzzles": "Gesamte Rätsel",

View File

@@ -64,6 +64,12 @@
"special": "Special",
"genre": "Genre"
},
"ExtraPuzzles": {
"title": "Still in the mood for puzzles?",
"message": "Hey, would you like to try some more puzzles? Then take a look at {name}!",
"cta": "Go to {name}",
"close": "Close"
},
"Statistics": {
"yourStatistics": "Your Statistics",
"totalPuzzles": "Total puzzles",