feat(achievements): implement unlocking, saving and notification

This commit is contained in:
2026-01-18 22:50:35 +01:00
parent d61a60132a
commit d7e626397a
13 changed files with 269 additions and 2 deletions

View File

@@ -82,6 +82,11 @@ export const useContactStore = defineStore("contact", {
{ notificationsYOffset: 20 },
{ notificationsYOffset: 0, duration: 0.075 },
);
if (this.notifications.length === 36) {
const achievements = useAchievementsStore();
achievements.unlock("contact_36_notifications");
}
},
animateOutro() {