🎉 Refactor & Update Backend Code, Add Utils 🖥️📊

This commit is contained in:
2025-05-31 23:54:57 +02:00
parent d4f899d280
commit 193164964e
14 changed files with 5346 additions and 241 deletions

View File

@ -366,14 +366,14 @@ class OptimizationManager {
// Sound-Effekt (optional)
this.playSuccessSound();
// Auto-Close nach 10 Sekunden
// Auto-Close nach 20 Sekunden (verlängert für bessere Animation-Wirkung)
setTimeout(() => {
if (modal && modal.parentNode) {
modal.style.opacity = '0';
modal.style.transform = 'scale(0.95)';
setTimeout(() => modal.remove(), 300);
}
}, 10000);
}, 20000);
}
/**
@ -383,10 +383,10 @@ class OptimizationManager {
const colors = ['#FFD700', '#FF6B6B', '#4ECDC4', '#45B7D1', '#96CEB4', '#FFEAA7'];
let confetti = '';
for (let i = 0; i < 30; i++) {
for (let i = 0; i < 50; i++) {
const color = colors[Math.floor(Math.random() * colors.length)];
const delay = Math.random() * 3;
const duration = 3 + Math.random() * 2;
const delay = Math.random() * 5;
const duration = 4 + Math.random() * 3;
const left = Math.random() * 100;
confetti += `